Interface CentPrecisionMoney

All Superinterfaces:
Comparable<javax.money.MonetaryAmount>, javax.money.CurrencySupplier, javax.money.MonetaryAmount, MonetaryAmountConvertable, Money, javax.money.NumberSupplier, TypedMoney
All Known Implementing Classes:
CentPrecisionMoneyImpl

public interface CentPrecisionMoney extends TypedMoney

Object that stores cent amounts in a specific currency.


Example to create an instance using the builder pattern

     CentPrecisionMoney centPrecisionMoney = CentPrecisionMoney.builder()
             .centAmount(0.3)
             .currencyCode("{currencyCode}")
             .fractionDigits(0.3)
             .build()