using Nop.Core.Domain.Directory;
using Nop.Services.Plugins;

namespace Nop.Services.Directory;

/// <summary>
/// Exchange rate provider interface
/// </summary>
public partial interface IExchangeRateProvider : IPlugin
{
    /// <summary>
    /// Gets currency live rates
    /// </summary>
    /// <param name="exchangeRateCurrencyCode">Exchange rate currency code</param>
    /// <returns>
    /// A task that represents the asynchronous operation
    /// The task result contains the exchange rates
    /// </returns>
    Task<IList<ExchangeRate>> GetCurrencyLiveRatesAsync(string exchangeRateCurrencyCode);
}