Class GravatarProfilePayments
java.lang.Object
com.github.natche.gravatarjavaclient.profile.serialization.GravatarProfilePayments
Represents a user's payment options on a Gravatar profile.
-
Constructor Summary
ConstructorsConstructorDescriptionGravatarProfilePayments(List<GravatarProfileUrl> links, List<GravatarCryptoWalletAddress> cryptoWallets) Constructs a new GravatarProfilePayments. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the provided object is equal to this.com.google.common.collect.ImmutableList<GravatarCryptoWalletAddress>Returns the list of cryptocurrency wallet addresses.com.google.common.collect.ImmutableList<GravatarProfileUrl>getLinks()Returns the list of links to external payment services.inthashCode()Returns a hashcode for this object.toString()Returns a string representation of this object.
-
Constructor Details
-
GravatarProfilePayments
public GravatarProfilePayments(List<GravatarProfileUrl> links, List<GravatarCryptoWalletAddress> cryptoWallets) Constructs a new GravatarProfilePayments.- Parameters:
links- the list of external payment service linkscryptoWallets- the list of cryptocurrency wallet addresses- Throws:
NullPointerException- if links or cryptoWallets is null
-
-
Method Details
-
getLinks
Returns the list of links to external payment services.- Returns:
- the list of links to external payment services
-
getCryptoWallets
Returns the list of cryptocurrency wallet addresses.- Returns:
- the list of cryptocurrency wallet addresses
-
equals
Returns whether the provided object is equal to this. -
hashCode
public int hashCode()Returns a hashcode for this object. -
toString
Returns a string representation of this object.
-