public final class SingleFixedRateConversionResult extends Object
The parameter is as follows:
convertedAmount - The CurrencyAmount
after conversion.
roundedOffConvertedAmount - The CurrencyAmount
after conversion which is rounded off to a precision based on
the exponent for the 'To' currency. An exponent represents the relationship between a major and minor currency. For
example, 100 cents (minor unit) make a Dollar (major unit). Exponents for all currencies are published by ISO and
this information is also available in the Java Currency class.
Modifier and Type | Class and Description |
---|---|
static class |
SingleFixedRateConversionResult.SingleFixedRateConversionResultBuilder |
Modifier and Type | Method and Description |
---|---|
static SingleFixedRateConversionResult.SingleFixedRateConversionResultBuilder |
builder() |
boolean |
equals(Object o) |
@NonNull CurrencyAmount |
getConvertedAmount() |
@NonNull CurrencyAmount |
getRoundedOffConvertedAmount() |
int |
hashCode() |
String |
toString() |
@Nonnull public static SingleFixedRateConversionResult.SingleFixedRateConversionResultBuilder builder()
@NonNull public @NonNull CurrencyAmount getConvertedAmount()
@NonNull public @NonNull CurrencyAmount getRoundedOffConvertedAmount()
Copyright © 2020 SAP SE. All rights reserved.