public class Amount extends Object
| Constructor and Description |
|---|
Amount() |
| Modifier and Type | Method and Description |
|---|---|
Amount |
currency(String currency) |
boolean |
equals(Object o) |
String |
getCurrency()
the amount's three letter currency code (ISO 4217)
|
BigDecimal |
getDecimalValue() |
Long |
getValue()
the amount's value in minor units
|
int |
hashCode() |
void |
setCurrency(String currency) |
void |
setValue(Long value) |
String |
toString() |
Amount |
value(Long value) |
public BigDecimal getDecimalValue()
public Long getValue()
public void setValue(Long value)
public String getCurrency()
public void setCurrency(String currency)
Copyright © 2022. All rights reserved.