Webiant Logo Webiant Logo
  1. No results found.

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

CurrencyExchangeRateProviderModel.cs

using Microsoft.AspNetCore.Mvc.Rendering;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Directory;

/// 
/// Represents a currency exchange rate provider model
/// 
public partial record CurrencyExchangeRateProviderModel : BaseNopModel
{
    #region Ctor

    public CurrencyExchangeRateProviderModel()
    {
        ExchangeRates = new List();
        ExchangeRateProviders = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Configuration.Currencies.Fields.CurrencyRateAutoUpdateEnabled")]
    public bool AutoUpdateEnabled { get; set; }

    public IList ExchangeRates { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Currencies.Fields.ExchangeRateProvider")]
    public string ExchangeRateProvider { get; set; }
    public IList ExchangeRateProviders { get; set; }

    #endregion
}