MoneySerializer and MoneyDeserializer
to represent amounts of Money.
| Modifier and Type | Field and Description |
|---|---|
| public static final AmountRepresentation | DECIMAL_NUMBER
Decimal number representation, where amount is (de)serialized as decimal number equal
to |
| public static final AmountRepresentation | DECIMAL_STRING
Decimal string representation, where amount is (de)serialized as string containing decimal
number equal to |
| public static final AmountRepresentation | MINOR_CURRENCY_UNIT
Minor currency unit representation, where amount is (de)serialized as long integer equal
to |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AmountRepresentation | |
| public static AmountRepresentation[] |
| DECIMAL_NUMBER | back to summary |
|---|---|
| public static final AmountRepresentation DECIMAL_NUMBER Decimal number representation, where amount is (de)serialized as decimal number equal
to
| |
| DECIMAL_STRING | back to summary |
|---|---|
| public static final AmountRepresentation DECIMAL_STRING Decimal string representation, where amount is (de)serialized as string containing decimal
number equal to
| |
| MINOR_CURRENCY_UNIT | back to summary |
|---|---|
| public static final AmountRepresentation MINOR_CURRENCY_UNIT Minor currency unit representation, where amount is (de)serialized as long integer equal
to
| |
| AmountRepresentation | back to summary |
|---|---|
| private AmountRepresentation() | |
| valueOf | back to summary |
|---|---|
| public static AmountRepresentation valueOf(String name) | |
| values | back to summary |
|---|---|
| public static AmountRepresentation[] values() | |