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 ExchangeRate
CurrencyConversion. getExchangeRate(MonetaryAmount sourceAmount)
Get theExchangeRate
applied for the givenMonetaryAmount
.default ExchangeRate
ExchangeRateProvider. getExchangeRate(java.lang.String baseCode, java.lang.String termCode)
Access aExchangeRate
using the given currencies.ExchangeRate
ExchangeRateProvider. getExchangeRate(ConversionQuery conversionQuery)
Access aExchangeRate
using the given currencies.default ExchangeRate
ExchangeRateProvider. getExchangeRate(CurrencyUnit base, CurrencyUnit term)
Access aExchangeRate
using the given currencies.default ExchangeRate
ExchangeRateProvider. getReversed(ExchangeRate rate)
The method reverses theExchangeRate
to 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 ExchangeRate
ExchangeRateProvider. getReversed(ExchangeRate rate)
The method reverses theExchangeRate
to a rate mapping from term to baseCurrencyUnit
.