Class CommerceData

java.lang.Object
com.github.twitch4j.pubsub.domain.CommerceData

public class CommerceData extends Object
  • Constructor Details

    • CommerceData

      public CommerceData()
  • Method Details

    • getUserName

      public String getUserName()
      The login name for the user making the purchase
    • getDisplayName

      public String getDisplayName()
      The display name for the user making the purchase
    • getChannelName

      public String getChannelName()
      The name for the channel where the commerce event took place
    • getUserId

      public String getUserId()
      The id for the user making the purchase
    • getChannelId

      public String getChannelId()
      The id for the channel where the commerce event took place
    • getTime

      public String getTime()
      RFC 3339 timestamp of when the commerce event occurred
    • getItemImageUrl

      public String getItemImageUrl()
      HTTP(S) URL for the image associated with the purchased item
    • getItemDescription

      public String getItemDescription()
      Description for the purchased item
    • getSupportsChannel

      public Boolean getSupportsChannel()
      Whether this purchase supports the channel
    • getPurchaseMessage

      public CommerceMessage getPurchaseMessage()
      The message accompanying this purchase
    • setUserName

      public void setUserName(String userName)
      The login name for the user making the purchase
    • setDisplayName

      public void setDisplayName(String displayName)
      The display name for the user making the purchase
    • setChannelName

      public void setChannelName(String channelName)
      The name for the channel where the commerce event took place
    • setUserId

      public void setUserId(String userId)
      The id for the user making the purchase
    • setChannelId

      public void setChannelId(String channelId)
      The id for the channel where the commerce event took place
    • setTime

      public void setTime(String time)
      RFC 3339 timestamp of when the commerce event occurred
    • setItemImageUrl

      public void setItemImageUrl(String itemImageUrl)
      HTTP(S) URL for the image associated with the purchased item
    • setItemDescription

      public void setItemDescription(String itemDescription)
      Description for the purchased item
    • setSupportsChannel

      public void setSupportsChannel(Boolean supportsChannel)
      Whether this purchase supports the channel
    • setPurchaseMessage

      public void setPurchaseMessage(CommerceMessage purchaseMessage)
      The message accompanying this purchase
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object