public final class ConversionParametersForFixedRate extends Object
The parameters are as follows:
fromCurrency - The source Currency
.
toCurrency - The target Currency
.
fromAmount - The CurrencyAmount
in 'fromCurrency' to be converted by using a fixedRateValue into
CurrencyAmount
in 'toCurrency'.
fixedRateValue - The ExchangeRateValue
to be used for converting from 'fromCurrency' to 'toCurrency'.
Modifier and Type | Class and Description |
---|---|
static class |
ConversionParametersForFixedRate.ConversionParametersForFixedRateBuilder |
Modifier and Type | Method and Description |
---|---|
static ConversionParametersForFixedRate.ConversionParametersForFixedRateBuilder |
builder() |
boolean |
equals(Object o) |
@NonNull ExchangeRateValue |
getFixedRateValue() |
@NonNull CurrencyAmount |
getFromAmount() |
@NonNull Currency |
getFromCurrency() |
@NonNull Currency |
getToCurrency() |
int |
hashCode() |
String |
toString() |
@Nonnull public static ConversionParametersForFixedRate.ConversionParametersForFixedRateBuilder builder()
@NonNull public @NonNull Currency getFromCurrency()
@NonNull public @NonNull Currency getToCurrency()
@NonNull public @NonNull CurrencyAmount getFromAmount()
@NonNull public @NonNull ExchangeRateValue getFixedRateValue()
Copyright © 2020 SAP SE. All rights reserved.