Class GravatarCryptoWalletAddress
java.lang.Object
com.github.natche.gravatarjavaclient.profile.serialization.GravatarCryptoWalletAddress
Represents a cryptocurrency wallet address on a Gravatar user's profile.
-
Constructor Summary
ConstructorsConstructorDescriptionGravatarCryptoWalletAddress(String label, String address) Constructs a new CryptoWalletAddress. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the provided object is equal to this.Returns the cryptocurrency wallet address.getLabel()Returns the label for the cryptocurrency.inthashCode()Returns a hashcode for this object.toString()Returns a string representation of this object.
-
Constructor Details
-
GravatarCryptoWalletAddress
Constructs a new CryptoWalletAddress.- Parameters:
label- the label for the cryptocurrencyaddress- the cryptocurrency wallet address- Throws:
NullPointerException- if label or address is null
-
-
Method Details
-
getLabel
Returns the label for the cryptocurrency.- Returns:
- the label for the cryptocurrency
-
getAddress
Returns the cryptocurrency wallet address.- Returns:
- the cryptocurrency wallet address
-
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.
-