Package com.github.twitch4j.helix.domain
Class ExtensionTransaction
java.lang.Object
com.github.twitch4j.helix.domain.ExtensionTransaction
public class ExtensionTransaction
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtensionTransaction.ProductDatastatic classExtensionTransaction.ProductTypeKnown "product_type" enum values. -
Constructor Summary
Constructors Constructor Description ExtensionTransaction() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetBroadcasterId()Twitch User ID of the channel the transaction occurred on.java.lang.StringgetBroadcasterLogin()Login name of the broadcaster.java.lang.StringgetBroadcasterName()Twitch Display Name of the broadcaster.java.lang.StringgetId()Unique identifier of the Bits in Extensions Transaction.ExtensionTransaction.ProductDatagetProductData()JSON Object representing the product acquired, as it looked at the time of the transaction.java.lang.StringgetProductType()Enum of the product type.java.lang.StringgetTimestamp()UTC timestamp when this transaction occurred.java.lang.StringgetUserId()Twitch User ID of the user who generated the transaction.java.lang.StringgetUserLogin()Login name of the user who generated the transaction.java.lang.StringgetUserName()Twitch Display Name of the user who generated the transaction.inthashCode()java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ExtensionTransaction
public ExtensionTransaction()
-
-
Method Details
-
getId
public java.lang.String getId()Unique identifier of the Bits in Extensions Transaction. -
getTimestamp
public java.lang.String getTimestamp()UTC timestamp when this transaction occurred. -
getBroadcasterId
public java.lang.String getBroadcasterId()Twitch User ID of the channel the transaction occurred on. -
getBroadcasterLogin
public java.lang.String getBroadcasterLogin()Login name of the broadcaster. -
getBroadcasterName
public java.lang.String getBroadcasterName()Twitch Display Name of the broadcaster. -
getUserId
public java.lang.String getUserId()Twitch User ID of the user who generated the transaction. -
getUserLogin
public java.lang.String getUserLogin()Login name of the user who generated the transaction. -
getUserName
public java.lang.String getUserName()Twitch Display Name of the user who generated the transaction. -
getProductType
public java.lang.String getProductType()Enum of the product type. Currently only BITS_IN_EXTENSION. -
getProductData
JSON Object representing the product acquired, as it looked at the time of the transaction. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-