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 Details

    • 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: