18 lines
605 B
C#
18 lines
605 B
C#
using Nop.Core.Domain.Directory;
|
|
using Nop.Services.Directory;
|
|
using Nop.Services.Plugins;
|
|
|
|
namespace Nop.Tests.Nop.Services.Tests.Directory;
|
|
|
|
public class TestExchangeRateProvider : BasePlugin, IExchangeRateProvider
|
|
{
|
|
/// <summary>
|
|
/// Gets currency live rates
|
|
/// </summary>
|
|
/// <param name="exchangeRateCurrencyCode">Exchange rate currency code</param>
|
|
/// <returns>Exchange rates</returns>
|
|
public Task<IList<ExchangeRate>> GetCurrencyLiveRatesAsync(string exchangeRateCurrencyCode)
|
|
{
|
|
return Task.FromResult<IList<ExchangeRate>>(new List<ExchangeRate>());
|
|
}
|
|
} |