Package com.github.twitch4j.helix.domain
Class CharityCampaign
java.lang.Object
com.github.twitch4j.helix.domain.CharityCampaign
The charity campaign that the broadcaster is currently running.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
An ID that uniquely identifies the broadcaster that’s running the campaign.The broadcaster’s login name.The broadcaster’s display name.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.An object that contains the current amount of donations that the campaign has received.getId()
An ID that uniquely identifies the charity campaign.@Nullable DonationAmount
An object that contains the amount of money that the campaign is trying to raise.int
hashCode()
toString()
-
Constructor Details
-
CharityCampaign
public CharityCampaign()
-
-
Method Details
-
getId
An ID that uniquely identifies the charity campaign. -
getBroadcasterId
An ID that uniquely identifies the broadcaster that’s running the campaign. -
getBroadcasterName
The broadcaster’s display name. -
getBroadcasterLogin
The broadcaster’s login name. -
getCharityName
The charity’s name. -
getCharityDescription
A description of the charity. -
getCharityLogo
A URL to an image of the charity’s logo.The image’s type is PNG and its size is 100px X 100px.
-
getCharityWebsite
A URL to the charity’s website. -
getCurrentAmount
An object that contains the current amount of donations that the campaign has received. -
getTargetAmount
An object that contains the amount of money that the campaign is trying to raise.This field may be null if the broadcaster has not defined a target goal.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-