Uses of Interface
javax.money.convert.ExchangeRate
| Package | Description |
|---|---|
| javax.money.convert |
Defines the monetary currency conversion API.
|
-
Uses of ExchangeRate in javax.money.convert
Methods in javax.money.convert that return ExchangeRate Modifier and Type Method Description ExchangeRateCurrencyConversion. getExchangeRate(MonetaryAmount sourceAmount)Get theExchangeRateapplied for the givenMonetaryAmount.default ExchangeRateExchangeRateProvider. getExchangeRate(java.lang.String baseCode, java.lang.String termCode)Access aExchangeRateusing the given currencies.ExchangeRateExchangeRateProvider. getExchangeRate(ConversionQuery conversionQuery)Access aExchangeRateusing the given currencies.default ExchangeRateExchangeRateProvider. getExchangeRate(CurrencyUnit base, CurrencyUnit term)Access aExchangeRateusing the given currencies.default ExchangeRateExchangeRateProvider. getReversed(ExchangeRate rate)The method reverses theExchangeRateto a rate mapping from term to baseCurrencyUnit.Methods in javax.money.convert that return types with arguments of type ExchangeRate Modifier and Type Method Description java.util.List<ExchangeRate>ExchangeRate. getExchangeRateChain()Access the chain of exchange rates.Methods in javax.money.convert with parameters of type ExchangeRate Modifier and Type Method Description default ExchangeRateExchangeRateProvider. getReversed(ExchangeRate rate)The method reverses theExchangeRateto a rate mapping from term to baseCurrencyUnit.