| Modifier and Type | Method and Description |
|---|---|
static MoneyBuilder |
builder() |
static MoneyBuilder |
builder(Money template) |
@NotNull Long |
getCentAmount() |
@NotNull String |
getCurrencyCode()
The currency code compliant to ISO 4217.
|
static Money |
of() |
static Money |
of(Money template) |
void |
setCentAmount(Long centAmount) |
void |
setCurrencyCode(String currencyCode) |
static com.fasterxml.jackson.core.type.TypeReference<Money> |
typeReference() |
default <T> T |
withMoney(Function<Money,T> helper) |
@NotNull @NotNull Long getCentAmount()
@NotNull @NotNull String getCurrencyCode()
The currency code compliant to ISO 4217.
void setCentAmount(Long centAmount)
void setCurrencyCode(String currencyCode)
static MoneyBuilder builder()
static MoneyBuilder builder(Money template)
static com.fasterxml.jackson.core.type.TypeReference<Money> typeReference()