public interface PriceConverter
PriceConverter
interface should be implemented by classes which
converts the price between currencies.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
convertDiscountCurrency(java.lang.String fromCurrency,
java.math.BigDecimal fromAmount,
java.lang.String toCurrency)
Convert an order total amount to a new currency
|
static final java.lang.String COPYRIGHT
java.math.BigDecimal convertDiscountCurrency(java.lang.String fromCurrency, java.math.BigDecimal fromAmount, java.lang.String toCurrency)
fromCurrency
- java.lang.StringtoCurrency
- java.lang.StringfromAmount
- java.math.BigDecimal