public interface B2BCurrencyConversionService
CurrencyModel| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
convertAmount(java.lang.Double amount,
CurrencyModel sourceCurrency,
CurrencyModel targetCurrency)
Used to convert amount from one currency to another
|
java.lang.String |
formatCurrencyAmount(java.util.Locale locale,
CurrencyModel currency,
double amount)
Formats the currency amount for the correct locale
|
java.lang.Double convertAmount(java.lang.Double amount,
CurrencyModel sourceCurrency,
CurrencyModel targetCurrency)
amount - the dollar amount to convertsourceCurrency - the current currency typetargetCurrency - the currency in which to convert tojava.lang.String formatCurrencyAmount(java.util.Locale locale,
CurrencyModel currency,
double amount)
locale - the local in which to format forcurrency - the currency typeamount - the dollar amountCopyright © 2018 SAP SE. All Rights Reserved.