Class ChannelPointsRedemption
java.lang.Object
com.github.twitch4j.pubsub.domain.ChannelPointsRedemption
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
ID of the channel in which the reward was redeemed.@Nullable String
getId()
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 inputint
hashCode()
void
setChannelId
(String channelId) ID of the channel in which the reward was redeemed.void
void
Unique ID for this redemption eventvoid
setRedeemedAt
(String redeemedAt) Timestamp in which a reward was redeemedvoid
setReward
(ChannelPointsReward reward) Data about the reward that was redeemedvoid
reward redemption status, will be FULFILLED if a user skips the reward queue, UNFULFILLED otherwisevoid
setUser
(ChannelPointsUser user) User that requested this redemption.void
setUserInput
(@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
-