Interface CurrencyConversionAPI
public interface CurrencyConversionAPI
This is used only by those who implement currency conversion around new third-party services.
Clients should not attempt to call this directly.
-
Method Summary
Modifier and Type Method Description java.math.BigDecimal
convert(java.math.BigDecimal amount, CurrencyCode from, CurrencyCode to, java.util.Date date, CurrencyConverter converter)
Performs the actual conversionjava.lang.String
getName()
Unique name of the API
-
Method Details
-
convert
java.math.BigDecimal convert(java.math.BigDecimal amount, CurrencyCode from, CurrencyCode to, java.util.Date date, CurrencyConverter converter)Performs the actual conversion -
getName
java.lang.String getName()Unique name of the API
-