public class AmountLowRoundingAdapter extends XmlAdapter<Amount,Amount>
Adapter to round the amount during marshalling to two decimals after the period.
The scale and rounding mode can be overridden via the configuration.
io.konik.jaxb.adapter.AmountLowRoundingAdapter.scale=2 io.konik.jaxb.adapter.AmountLowRoundingAdapter.roundingMode=HALF_UP
| Constructor and Description |
|---|
AmountLowRoundingAdapter()
|
public AmountLowRoundingAdapter()
Instantiates a new amount rounding adapter.
Copyright © 2014 Konik.io. All Rights Reserved.