public interface CurrencyConversionApi extends KillbillApi
| Modifier and Type | Method and Description |
|---|---|
Set<Currency> |
getBaseRates() |
CurrencyConversion |
getCurrencyConversion(Currency baseCurrency,
org.joda.time.DateTime dateConversion) |
CurrencyConversion |
getCurrentCurrencyConversion(Currency baseCurrency)
This will return the latest -- as known by the plugin -- information for the conversion rates.
|
Set<Currency> getBaseRates() throws CurrencyConversionException
CurrencyConversionException - if there is no currency providerCurrencyConversion getCurrentCurrencyConversion(Currency baseCurrency) throws CurrencyConversionException
baseCurrency - the base currency to be usedCurrencyConversionException - if baseCurrency is not supported or if there is no currency providerCurrencyConversion getCurrencyConversion(Currency baseCurrency, org.joda.time.DateTime dateConversion) throws CurrencyConversionException
baseCurrency - the base currency to be useddateConversion - the date for the conversionCurrencyConversionException - if baseCurrency is not supported or if there is no currency providerCopyright © 2010-2016. All Rights Reserved.