Class CustomRewardRedemption

java.lang.Object
com.github.twitch4j.helix.domain.CustomRewardRedemption

public class CustomRewardRedemption
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    CustomRewardRedemption()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getBroadcasterId()
    The id of the broadcaster that the reward belongs to.
    java.lang.String getBroadcasterLogin()
    Broadcaster’s user login name.
    java.lang.String getBroadcasterName()
    The display name of the broadcaster that the reward belongs to.
    java.time.Instant getRedeemedAt()
    RFC3339 timestamp of when the reward was redeemed.
    java.lang.String getRedemptionId()
    The ID of the redemption.
    CustomReward getReward()
    Basic information about the Custom Reward that was redeemed at the time it was redeemed.
    com.github.twitch4j.eventsub.domain.RedemptionStatus getStatus()
    The redemption status.
    java.lang.String getUserId()
    The ID of the user that redeemed the reward.
    java.lang.String getUserInput()
    The user input provided.
    java.lang.String getUserLogin()
    The login of the user who redeemed the reward.
    java.lang.String getUserName()
    The display name of the user that redeemed the reward.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CustomRewardRedemption

      public CustomRewardRedemption()
  • Method Details

    • getBroadcasterId

      public java.lang.String getBroadcasterId()
      The id of the broadcaster that the reward belongs to.
    • getBroadcasterLogin

      public java.lang.String getBroadcasterLogin()
      Broadcaster’s user login name.
    • getBroadcasterName

      public java.lang.String getBroadcasterName()
      The display name of the broadcaster that the reward belongs to.
    • getRedemptionId

      public java.lang.String getRedemptionId()
      The ID of the redemption.
    • getUserId

      public java.lang.String getUserId()
      The ID of the user that redeemed the reward.
    • getUserLogin

      public java.lang.String getUserLogin()
      The login of the user who redeemed the reward.
    • getUserName

      public java.lang.String getUserName()
      The display name of the user that redeemed the reward.
    • getReward

      public CustomReward getReward()
      Basic information about the Custom Reward that was redeemed at the time it was redeemed.
    • getUserInput

      public java.lang.String getUserInput()
      The user input provided. Empty string if not provided.
    • getStatus

      public com.github.twitch4j.eventsub.domain.RedemptionStatus getStatus()
      The redemption status.
    • getRedeemedAt

      public java.time.Instant getRedeemedAt()
      RFC3339 timestamp of when the reward was redeemed.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object