Class GiftPaidUpgrade

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

public class GiftPaidUpgrade extends Object
  • Constructor Details

    • GiftPaidUpgrade

      public GiftPaidUpgrade()
  • Method Details

    • wasGifterAnonymous

      public Boolean wasGifterAnonymous()
      Whether the gift was given anonymously.
    • getGifterUserId

      @Nullable public @Nullable String getGifterUserId()
      The user ID of the user who gifted the subscription. Null if anonymous.
    • getGifterUserName

      @Nullable public @Nullable String getGifterUserName()
      The user name of the user who gifted the subscription. Null if anonymous.
    • getGifterUserLogin

      @Nullable public @Nullable String getGifterUserLogin()
      The user login of the user who gifted the subscription. Null if anonymous.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object