Class ChannelPointsRedemption

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

public class ChannelPointsRedemption extends Object
  • Constructor Details

    • ChannelPointsRedemption

      public ChannelPointsRedemption()
  • Method Details

    • getId

      public String getId()
      Unique ID for this redemption event
    • getUser

      public ChannelPointsUser getUser()
      User that requested this redemption.
    • getChannelId

      public String getChannelId()
      ID of the channel in which the reward was redeemed.
    • getRedeemedAt

      public String getRedeemedAt()
      Timestamp in which a reward was redeemed
    • getReward

      public ChannelPointsReward getReward()
      Data about the reward that was redeemed
    • getUserInput

      public String getUserInput()
      (Optional) A string that the user entered if the reward requires input
    • getStatus

      public String getStatus()
      reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise
    • getCursor

      public String getCursor()
    • setId

      public void setId(String id)
      Unique ID for this redemption event
    • setUser

      public void setUser(ChannelPointsUser user)
      User that requested this redemption.
    • setChannelId

      public void setChannelId(String channelId)
      ID of the channel in which the reward was redeemed.
    • setRedeemedAt

      public void setRedeemedAt(String redeemedAt)
      Timestamp in which a reward was redeemed
    • setReward

      public void setReward(ChannelPointsReward reward)
      Data about the reward that was redeemed
    • setUserInput

      public void setUserInput(String userInput)
      (Optional) A string that the user entered if the reward requires input
    • setStatus

      public void setStatus(String status)
      reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise
    • setCursor

      public void setCursor(String cursor)
    • 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