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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
An 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.int
hashCode()
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:
toString
in classEventSubUserChannelEvent
-
equals
- Overrides:
equals
in classEventSubUserChannelEvent
-
canEqual
- Overrides:
canEqual
in classEventSubUserChannelEvent
-
hashCode
public int hashCode()- Overrides:
hashCode
in classEventSubUserChannelEvent
-