Class Contribution

java.lang.Object
com.github.twitch4j.eventsub.domain.Contribution

public class Contribution
extends java.lang.Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Contribution.Type  
  • Constructor Summary

    Constructors
    Constructor Description
    Contribution()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.Integer getTotal()
    The total contributed.
    Contribution.Type getType()
    Type of contribution.
    java.lang.String getUserId()
    The ID of the user.
    java.lang.String getUserLogin()
    The login name of the user.
    java.lang.String getUserName()
    The display name of the user.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Contribution

      public Contribution()
  • Method Details

    • getUserId

      public java.lang.String getUserId()
      The ID of the user.
    • getUserName

      public java.lang.String getUserName()
      The display name of the user.
    • getUserLogin

      public java.lang.String getUserLogin()
      The login name of the user.
    • getType

      public Contribution.Type getType()
      Type of contribution.
    • getTotal

      public java.lang.Integer getTotal()
      The total contributed.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object