Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

IExchangeRateProvider.cs

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);
}