Class ChannelCharityDonateEvent
java.lang.Object
com.github.twitch4j.eventsub.events.EventSubEvent
com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
com.github.twitch4j.eventsub.events.ChannelCharityDonateEvent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAn object that contains the amount of the user’s donation.An ID that uniquely identifies the charity campaign.A description of the charity.A URL to an image of the charity’s logo.The charity’s name.A URL to the charity’s website.getId()An ID that identifies the donation.inthashCode()toString()Methods inherited from class com.github.twitch4j.eventsub.events.EventSubUserChannelEvent
getBroadcasterUserId, getBroadcasterUserLogin, getBroadcasterUserName, getUserId, getUserLogin, getUserName
-
Constructor Details
-
ChannelCharityDonateEvent
public ChannelCharityDonateEvent()
-
-
Method Details
-
getId
An ID that identifies the donation. The ID is unique across campaigns. -
getCampaignId
An ID that uniquely identifies the charity campaign. -
getCharityName
The charity’s name. -
getCharityLogo
A URL to an image of the charity’s logo. -
getCharityDescription
A description of the charity. -
getCharityWebsite
A URL to the charity’s website. -
getAmount
An object that contains the amount of the user’s donation. -
toString
- Overrides:
toStringin classEventSubUserChannelEvent
-
equals
- Overrides:
equalsin classEventSubUserChannelEvent
-
canEqual
- Overrides:
canEqualin classEventSubUserChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classEventSubUserChannelEvent
-