public class Balance extends Object
| Constructor and Description |
|---|
Balance(BigDecimal amount,
BigDecimal available,
String currency,
BigDecimal stake) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAmount()
Get total amount for the currency.
|
BigDecimal |
getAvailable()
Get available amount for the currency, the amount usable.
|
String |
getCurrency()
Get the currency symbol for the amount.
|
BigDecimal |
getStake()
Get the staked amount for the currency.
|
String |
toString() |
public Balance(BigDecimal amount, BigDecimal available, String currency, BigDecimal stake)
public BigDecimal getAmount()
public BigDecimal getAvailable()
public String getCurrency()
public BigDecimal getStake()