public interface AmountMoneyExchangeRateRetriever
| Modifier and Type | Method and Description |
|---|---|
Set<org.jscience.economics.money.Currency> |
getSupportedCurrencies()
Gets a set of supported currencies from the mechanism used for retrieval
of exchange rates.
|
void |
retrieveExchangeRate(org.jscience.economics.money.Currency currency)
Sets the
exchangeRate property on the passed currency
relative to a reference currency. |
void retrieveExchangeRate(org.jscience.economics.money.Currency currency)
throws AmountMoneyExchangeRateRetrieverException
exchangeRate property on the passed currency
relative to a reference currency.currency - the currency to retrieve forAmountMoneyExchangeRateRetrieverException - if an exception
unrelated to a network failure or missing network connection occuredSet<org.jscience.economics.money.Currency> getSupportedCurrencies() throws AmountMoneyExchangeRateRetrieverException
AmountMoneyExchangeRateRetrieverException - if an exception
unrelated to a network failure or missing network connection occuredCopyright © 2018. All rights reserved.