Interface ExchangeRateInfoProvider
-
- All Known Implementing Classes:
ConfigurationExchangeRateInfoProvider
,ExchangeRateApiInfoProvider
public interface ExchangeRateInfoProvider
Implementations of this interface return a list ofExchangeRateInfo
objects.- Author:
- Brian Polster (bpolster)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExchangeRateInfo
getLatestExchangeRates(Optional<String> baseCurrency)
Called by CurrencyConversionService.
-
-
-
Method Detail
-
getLatestExchangeRates
ExchangeRateInfo getLatestExchangeRates(Optional<String> baseCurrency)
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:
-
-