Class ChannelCharityDonateEvent


public class ChannelCharityDonateEvent extends EventSubUserChannelEvent
  • Constructor Details

    • ChannelCharityDonateEvent

      public ChannelCharityDonateEvent()
  • Method Details

    • getId

      public String getId()
      An ID that identifies the donation. The ID is unique across campaigns.
    • getCampaignId

      public String getCampaignId()
      An ID that uniquely identifies the charity campaign.
    • getCharityName

      public String getCharityName()
      The charity’s name.
    • getCharityLogo

      public String getCharityLogo()
      A URL to an image of the charity’s logo.
    • getCharityDescription

      public String getCharityDescription()
      A description of the charity.
    • getCharityWebsite

      public String getCharityWebsite()
      A URL to the charity’s website.
    • getAmount

      public DonationAmount getAmount()
      An object that contains the amount of the user’s donation.
    • toString

      public String toString()
      Overrides:
      toString in class EventSubUserChannelEvent
    • equals

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

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class EventSubUserChannelEvent
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class EventSubUserChannelEvent