public class AmountHighRoundingAdapter extends AmountLowRoundingAdapter
Adapter to round the amount during marshalling to four decimals after the period.
The scale and rounding mode can be overridden via the configuration.
io.konik.jaxb.adapter.AmountHighRoundingAdapter.scale=4 io.konik.jaxb.adapter.AmountHighRoundingAdapter.roundingMode=HALF_UP
| Constructor and Description |
|---|
AmountHighRoundingAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDefaultScale() |
marshal, unmarshalpublic AmountHighRoundingAdapter()
protected String getDefaultScale()
getDefaultScale in class AmountLowRoundingAdapterCopyright © 2014 Konik.io. All Rights Reserved.