public class Balance extends Object
Constructor and Description |
---|
Balance(String currency,
String symbol,
BigDecimal amount)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getAmount()
Balance amount.
|
String |
getCurrency()
The currency code, e.g.
|
String |
getSymbol()
Returns currency symbol, e.g.
|
String |
toString() |
public Balance(String currency, String symbol, BigDecimal amount)
currency
- the currency symbol.symbol
- the URL encoded currency symbol.amount
- the amount of the currency.public String getCurrency()
public String getSymbol()
public BigDecimal getAmount()
Copyright © 2013–2015. All rights reserved.