public class Amount extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Amount.AmountBuilder |
| Constructor and Description |
|---|
Amount() |
Amount(String currency,
BigDecimal value) |
| Modifier and Type | Method and Description |
|---|---|
static Amount.AmountBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCurrency() |
BigDecimal |
getValue() |
int |
hashCode() |
void |
setCurrency(String currency) |
void |
setValue(BigDecimal value) |
String |
toString() |
public Amount(String currency, BigDecimal value)
public Amount()
public static Amount.AmountBuilder builder()
public String getCurrency()
public BigDecimal getValue()
public void setCurrency(String currency)
public void setValue(BigDecimal value)
protected boolean canEqual(Object other)
Copyright © 2022. All rights reserved.