Interface ExchangeRateInfoProvider
- All Known Implementing Classes:
ConfigurationExchangeRateInfoProvider
,ExchangeRateApiInfoProvider
public interface ExchangeRateInfoProvider
Implementations of this interface return a list of
ExchangeRateInfo
objects.- Author:
- Brian Polster (bpolster)
-
Method Summary
Modifier and TypeMethodDescriptiongetLatestExchangeRates
(Optional<String> baseCurrency) Called by CurrencyConversionService.
-
Method Details
-
getLatestExchangeRates
Called by CurrencyConversionService. Some implementations may ignore the passed in baseCurrency when returning an ExchangeRateInfo. This is useful for installations that only use a single base currency.- Parameters:
baseCurrency
-- Returns:
-