Webiant Logo Webiant Logo
  1. No results found.

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

CurrencySettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Directory;

/// <summary>
/// Currency settings
/// </summary>
public partial class CurrencySettings : ISettings
{
    /// <summary>
    /// A value indicating whether to display currency labels
    /// </summary>
    public bool DisplayCurrencyLabel { get; set; }

    /// <summary>
    /// Primary store currency identifier
    /// </summary>
    public int PrimaryStoreCurrencyId { get; set; }

    /// <summary>
    ///  Primary exchange rate currency identifier
    /// </summary>
    public int PrimaryExchangeRateCurrencyId { get; set; }

    /// <summary>
    /// Active exchange rate provider system name (of a plugin)
    /// </summary>
    public string ActiveExchangeRateProviderSystemName { get; set; }

    /// <summary>
    /// A value indicating whether to enable automatic currency rate updates
    /// </summary>
    public bool AutoUpdateEnabled { get; set; }

    /// <summary>
    /// A value indicating whether to show currency symbol in the currency selector
    /// </summary>
    public bool DisplayCurrencySymbolInCurrencySelector { get; set; }
}