public final class MonetarySummations extends java.lang.Object
Helper functions for MonetarySummation
class.
Constructor and Description |
---|
MonetarySummations() |
Modifier and Type | Method and Description |
---|---|
static MonetarySummation |
newMonetarySummation(com.neovisionaries.i18n.CurrencyCode currencyCode)
Creates a new
MonetarySummation with 0 (zero) Amount for every field. |
static MonetarySummation |
newMonetarySummation(MonetarySummation monetarySummation) |
static SpecifiedMonetarySummation |
newSpecifiedMonetarySummation(com.neovisionaries.i18n.CurrencyCode currencyCode)
Creates a new
SpecifiedMonetarySummation with 0 (zero) Amount for every field. |
static MonetarySummation |
precise(MonetarySummation monetarySummation,
int precision,
java.math.RoundingMode roundingMode) |
public MonetarySummations()
public static MonetarySummation newMonetarySummation(com.neovisionaries.i18n.CurrencyCode currencyCode)
Creates a new MonetarySummation
with 0 (zero) Amount
for every field.
currencyCode
- public static MonetarySummation newMonetarySummation(MonetarySummation monetarySummation)
public static SpecifiedMonetarySummation newSpecifiedMonetarySummation(com.neovisionaries.i18n.CurrencyCode currencyCode)
Creates a new SpecifiedMonetarySummation
with 0 (zero) Amount
for every field.
currencyCode
- public static MonetarySummation precise(MonetarySummation monetarySummation, int precision, java.math.RoundingMode roundingMode)
Copyright © 2014-2018 Konik.io. All Rights Reserved.