Klasse Subscription

java.lang.Object
com.github.twitch4j.eventsub.domain.chat.Subscription

public class Subscription extends Object
  • Konstruktordetails

    • Subscription

      public Subscription()
  • Methodendetails

    • getDurationMonths

      public Integer getDurationMonths()
      The number of months the subscription is for.
    • getSubTier

      public SubscriptionPlan getSubTier()
      The type of subscription plan being used.

      Does not contain SubscriptionPlan.TWITCH_PRIME; use isPrime() instead.

    • isPrime

      public Boolean isPrime()
      Indicates if the subscription was obtained through Amazon Prime.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object