Webiant Logo Webiant Logo
  1. No results found.

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

CustomerRole.cs

namespace Nop.Core.Domain.Customers;

/// 
/// Represents a customer role
/// 
public partial class CustomerRole : BaseEntity
{
    /// 
    /// Gets or sets the customer role name
    /// 
    public string Name { get; set; }

    /// 
    /// Gets or sets a value indicating whether the customer role is marked as free shipping
    /// 
    public bool FreeShipping { get; set; }

    /// 
    /// Gets or sets a value indicating whether the customer role is marked as tax exempt
    /// 
    public bool TaxExempt { get; set; }

    /// 
    /// Gets or sets a value indicating whether the customer role is active
    /// 
    public bool Active { get; set; }

    /// 
    /// Gets or sets a value indicating whether the customer role is system
    /// 
    public bool IsSystemRole { get; set; }

    /// 
    /// Gets or sets the customer role system name
    /// 
    public string SystemName { get; set; }

    /// 
    /// Gets or sets a value indicating whether the customers must change passwords after a specified time
    /// 
    public bool EnablePasswordLifetime { get; set; }

    /// 
    /// Gets or sets a value indicating whether the customers of this role have other tax display type chosen instead of the default one
    /// 
    public bool OverrideTaxDisplayType { get; set; }

    /// 
    /// Gets or sets identifier of the default tax display type (used only with "OverrideTaxDisplayType" enabled)
    /// 
    public int DefaultTaxDisplayTypeId { get; set; }

    /// 
    /// Gets or sets a product identifier that is required by this customer role. 
    /// A customer is added to this customer role once a specified product is purchased.
    /// 
    public int PurchasedWithProductId { get; set; }
}