Klasse ExtendSubscriptionEvent
java.lang.Object
com.github.philippheuer.events4j.core.domain.Event
com.github.twitch4j.chat.events.TwitchEvent
com.github.twitch4j.chat.events.AbstractChannelEvent
com.github.twitch4j.chat.events.channel.ExtendSubscriptionEvent
- Alle implementierten Schnittstellen:
com.github.philippheuer.events4j.api.domain.IEvent
Called when a user extends their existing subscription into a future month.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungExtendSubscriptionEvent(EventChannel channel, EventUser user, SubscriptionPlan subPlan, int cumulativeMonths, Month benefitEndMonth) Event Constructor -
Methodenübersicht
Von Klasse geerbte Methoden com.github.twitch4j.chat.events.AbstractChannelEvent
ban, getChannel, timeout, unbanVon Klasse geerbte Methoden com.github.twitch4j.chat.events.TwitchEvent
getTwitchChatVon Klasse geerbte Methoden com.github.philippheuer.events4j.core.domain.Event
getEventId, getFiredAt, getFiredAtInstant, getServiceMediator, setEventId, setFiredAt, setFiredAtInstant, setServiceMediator
-
Konstruktordetails
-
ExtendSubscriptionEvent
public ExtendSubscriptionEvent(EventChannel channel, EventUser user, SubscriptionPlan subPlan, int cumulativeMonths, Month benefitEndMonth) Event Constructor- Parameter:
channel- The channel that this event originates from.user- The user extending their subscription.subPlan- The type of subscription plan being used.cumulativeMonths- The total number of months the user has subscribed.benefitEndMonth- The new month that the subscription will end on.
-
-
Methodendetails
-
getUser
The user extending their subscription. -
getSubPlan
The type of subscription plan being used. -
getCumulativeMonths
public int getCumulativeMonths()The total number of months the user has subscribed. -
getBenefitEndMonth
The new month that the subscription will end on. -
equals
- Setzt außer Kraft:
equalsin KlasseAbstractChannelEvent
-
canEqual
- Setzt außer Kraft:
canEqualin KlasseAbstractChannelEvent
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCodein KlasseAbstractChannelEvent
-
toString
- Setzt außer Kraft:
toStringin KlasseAbstractChannelEvent
-