public class CryptoAmount
extends java.lang.Object
Constructor and Description |
---|
CryptoAmount()
Empty constructor.
|
CryptoAmount(CryptoAmount cryptoAmount)
Constructor converting an internal cryptoAmount to XML/JSON version.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrencyCode() |
Magnetude |
getMagnetude() |
long |
getValue() |
void |
setCurrencyCode(java.lang.String currencyCode) |
void |
setMagnetude(Magnetude magnetude) |
void |
setValue(long value) |
java.lang.String |
toString() |
public CryptoAmount()
public CryptoAmount(CryptoAmount cryptoAmount)
cryptoAmount
- the cryptoAmount to convert.public long getValue()
public void setValue(long value)
value
- the crypto amount value.public java.lang.String getCurrencyCode()
public void setCurrencyCode(java.lang.String currencyCode)
currencyCode
- the crypto currency codepublic Magnetude getMagnetude()
public void setMagnetude(Magnetude magnetude)
magnetude
- the magnetude of the amount.public java.lang.String toString()
toString
in class java.lang.Object