Class AutomaticRewardRedemption

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

@Unofficial public class AutomaticRewardRedemption extends Object
  • Constructor Details

    • AutomaticRewardRedemption

      public AutomaticRewardRedemption()
  • Method Details

    • getId

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

      public ChannelPointsUser getUser()
      User that redeemed this reward.
    • getChannelId

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

      public Instant getRedeemedAt()
      Timestamp at which a reward was redeemed.
    • getReward

      public AutomaticReward getReward()
      The reward that was redeemed.
    • getRedemptionMetadata

      @Nullable public @Nullable RedemptionMetadata getRedemptionMetadata()
      Additional metadata about the redemption.
    • 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