Class CommerceData
java.lang.Object
com.github.twitch4j.pubsub.domain.CommerceData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe id for the channel where the commerce event took placeThe name for the channel where the commerce event took placeThe display name for the user making the purchaseDescription for the purchased itemHTTP(S) URL for the image associated with the purchased itemThe message accompanying this purchaseWhether this purchase supports the channelgetTime()RFC 3339 timestamp of when the commerce event occurredThe id for the user making the purchaseThe login name for the user making the purchaseinthashCode()voidsetChannelId(String channelId) The id for the channel where the commerce event took placevoidsetChannelName(String channelName) The name for the channel where the commerce event took placevoidsetDisplayName(String displayName) The display name for the user making the purchasevoidsetItemDescription(String itemDescription) Description for the purchased itemvoidsetItemImageUrl(String itemImageUrl) HTTP(S) URL for the image associated with the purchased itemvoidsetPurchaseMessage(CommerceMessage purchaseMessage) The message accompanying this purchasevoidsetSupportsChannel(Boolean supportsChannel) Whether this purchase supports the channelvoidRFC 3339 timestamp of when the commerce event occurredvoidThe id for the user making the purchasevoidsetUserName(String userName) The login name for the user making the purchasetoString()
-
Constructor Details
-
CommerceData
public CommerceData()
-
-
Method Details
-
getUserName
The login name for the user making the purchase -
getDisplayName
The display name for the user making the purchase -
getChannelName
The name for the channel where the commerce event took place -
getUserId
The id for the user making the purchase -
getChannelId
The id for the channel where the commerce event took place -
getTime
RFC 3339 timestamp of when the commerce event occurred -
getItemImageUrl
HTTP(S) URL for the image associated with the purchased item -
getItemDescription
Description for the purchased item -
getSupportsChannel
Whether this purchase supports the channel -
getPurchaseMessage
The message accompanying this purchase -
setUserName
The login name for the user making the purchase -
setDisplayName
The display name for the user making the purchase -
setChannelName
The name for the channel where the commerce event took place -
setUserId
The id for the user making the purchase -
setChannelId
The id for the channel where the commerce event took place -
setTime
RFC 3339 timestamp of when the commerce event occurred -
setItemImageUrl
HTTP(S) URL for the image associated with the purchased item -
setItemDescription
Description for the purchased item -
setSupportsChannel
Whether this purchase supports the channel -
setPurchaseMessage
The message accompanying this purchase -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-