Class Subscription
java.lang.Object
com.github.twitch4j.eventsub.domain.chat.Subscription
-
Constructor Details
-
Subscription
public Subscription()
-
-
Method Details
-
getDurationMonths
The number of months the subscription is for. -
getSubTier
The type of subscription plan being used.Does not contain
SubscriptionPlan.TWITCH_PRIME
; useisPrime()
instead. -
isPrime
Indicates if the subscription was obtained through Amazon Prime. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-