Class ChannelPointsRedemption
java.lang.Object
com.github.twitch4j.pubsub.domain.ChannelPointsRedemption
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanID of the channel in which the reward was redeemed.@Nullable StringgetId()Unique ID for this redemption eventTimestamp in which a reward was redeemedData about the reward that was redeemedreward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwisegetUser()User that requested this redemption.@Nullable String(Optional) A string that the user entered if the reward requires inputinthashCode()voidsetChannelId(String channelId) ID of the channel in which the reward was redeemed.voidvoidUnique ID for this redemption eventvoidsetRedeemedAt(String redeemedAt) Timestamp in which a reward was redeemedvoidsetReward(ChannelPointsReward reward) Data about the reward that was redeemedvoidreward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwisevoidsetUser(ChannelPointsUser user) User that requested this redemption.voidsetUserInput(@Nullable String userInput) (Optional) A string that the user entered if the reward requires inputtoString()
-
Constructor Details
-
ChannelPointsRedemption
public ChannelPointsRedemption()
-
-
Method Details
-
getId
Unique ID for this redemption event -
getUser
User that requested this redemption. -
getChannelId
ID of the channel in which the reward was redeemed. -
getRedeemedAt
Timestamp in which a reward was redeemed -
getReward
Data about the reward that was redeemed -
getUserInput
(Optional) A string that the user entered if the reward requires input -
getStatus
reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise -
getCursor
-
setId
Unique ID for this redemption event -
setUser
User that requested this redemption. -
setChannelId
ID of the channel in which the reward was redeemed. -
setRedeemedAt
Timestamp in which a reward was redeemed -
setReward
Data about the reward that was redeemed -
setUserInput
(Optional) A string that the user entered if the reward requires input -
setStatus
reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwise -
setCursor
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-