public class Money
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.math.BigDecimal |
amount |
private java.util.Currency |
currency |
Constructor and Description |
---|
Money(java.util.Currency currency,
java.math.BigDecimal amount) |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getAmount() |
java.util.Currency |
getCurrency() |
java.lang.String |
toString() |