Skip to content

Commit d9e0397

Browse files
apankowskicowtowncoder
authored andcommitted
Add references to corresponding amount converter classes to JavaDocs of amount representation enum
1 parent 392a18c commit d9e0397

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

joda-money/src/main/java/com/fasterxml/jackson/datatype/jodamoney/AmountRepresentation.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ public enum AmountRepresentation {
1010
* Decimal number representation, where amount is (de)serialized as decimal number equal
1111
* to {@link org.joda.money.Money Money}'s amount, e.g. {@code 12.34} for
1212
* {@code Money.parse("EUR 12.34")}.
13+
*
14+
* @see DecimalNumberAmountConverter
1315
*/
1416
DECIMAL_NUMBER,
1517

1618
/**
1719
* Decimal string representation, where amount is (de)serialized as string containing decimal
1820
* number equal to {@link org.joda.money.Money Money}'s amount, e.g. {@code "12.34"} for
1921
* {@code Money.parse("EUR 12.34")}.
22+
*
23+
* @see DecimalStringAmountConverter
2024
*/
2125
DECIMAL_STRING,
2226

@@ -25,6 +29,8 @@ public enum AmountRepresentation {
2529
* to {@link org.joda.money.Money Money}'s amount expressed in minor currency unit, e.g.
2630
* {@code 1234} for {@code Money.parse("EUR 12.34")}, {@code 12345} for
2731
* {@code Money.parse("KWD 12.345")} or {@code 12} for {@code Money.parse("JPY 12")}.
32+
*
33+
* @see MinorCurrencyUnitAmountConverter
2834
*/
2935
MINOR_CURRENCY_UNIT,
3036
}

0 commit comments

Comments
 (0)