Class Contribution
java.lang.Object
com.github.twitch4j.eventsub.domain.Contribution
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Contribution
public Contribution()
-
-
Method Details
-
getUserId
The ID of the user. -
getUserName
The display name of the user. -
getUserLogin
The login name of the user. -
getType
Type of contribution. -
getTotal
The total contributed.If type is bits, total represents the amount of Bits used.
If type is subscription, total is 500, 1000, or 2500 to represent tier 1, 2, or 3 subscriptions, respectively.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-