Webiant Logo Webiant Logo
  1. No results found.

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

AddressSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Common;

/// 
/// Address settings
/// 
public partial class AddressSettings : ISettings
{
    /// 
    /// Gets or sets a value indicating whether 'Company' is enabled
    /// 
    public bool CompanyEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Company' is required
    /// 
    public bool CompanyRequired { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Street address' is enabled
    /// 
    public bool StreetAddressEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Street address' is required
    /// 
    public bool StreetAddressRequired { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Street address 2' is enabled
    /// 
    public bool StreetAddress2Enabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Street address 2' is required
    /// 
    public bool StreetAddress2Required { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Zip / postal code' is enabled
    /// 
    public bool ZipPostalCodeEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Zip / postal code' is required
    /// 
    public bool ZipPostalCodeRequired { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'City' is enabled
    /// 
    public bool CityEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'City' is required
    /// 
    public bool CityRequired { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'County' is enabled
    /// 
    public bool CountyEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'County' is required
    /// 
    public bool CountyRequired { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Country' is enabled
    /// 
    public bool CountryEnabled { get; set; }

    /// 
    /// Gets or sets a Default Country
    /// 
    public int? DefaultCountryId { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'State / province' is enabled
    /// 
    public bool StateProvinceEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Phone number' is enabled
    /// 
    public bool PhoneEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Phone number' is required
    /// 
    public bool PhoneRequired { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Fax number' is enabled
    /// 
    public bool FaxEnabled { get; set; }

    /// 
    /// Gets or sets a value indicating whether 'Fax number' is required
    /// 
    public bool FaxRequired { get; set; }

    /// 
    /// Gets or sets a value indicating whether we have to preselect a country if there's only one country available (public store)
    /// 
    public bool PreselectCountryIfOnlyOne { get; set; }
}