Class CommerceData
java.lang.Object
com.github.twitch4j.pubsub.domain.CommerceData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The 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 purchaseint
hashCode()
void
setChannelId
(String channelId) The id for the channel where the commerce event took placevoid
setChannelName
(String channelName) The name for the channel where the commerce event took placevoid
setDisplayName
(String displayName) The display name for the user making the purchasevoid
setItemDescription
(String itemDescription) Description for the purchased itemvoid
setItemImageUrl
(String itemImageUrl) HTTP(S) URL for the image associated with the purchased itemvoid
setPurchaseMessage
(CommerceMessage purchaseMessage) The message accompanying this purchasevoid
setSupportsChannel
(Boolean supportsChannel) Whether this purchase supports the channelvoid
RFC 3339 timestamp of when the commerce event occurredvoid
The id for the user making the purchasevoid
setUserName
(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
-