Webiant Logo Webiant Logo
  1. No results found.

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

GdprConsent.cs

using Nop.Core.Domain.Localization;

namespace Nop.Core.Domain.Gdpr;

/// 
/// Represents a GDPR consent
/// 
public partial class GdprConsent : BaseEntity, ILocalizedEntity
{
    /// 
    /// Gets or sets the message displayed to customers
    /// 
    public string Message { get; set; }

    /// 
    /// Gets or setsa value indicating whether the consent is required
    /// 
    public bool IsRequired { get; set; }

    /// 
    /// Gets or sets the message displayed to customers when he/she doesn't agree to this consent
    /// 
    public string RequiredMessage { get; set; }

    /// 
    /// Gets or sets the value indicating whether this consent is displayed during registrations
    /// 
    public bool DisplayDuringRegistration { get; set; }

    /// 
    /// Gets or sets the value indicating whether this consent is displayed on my account page (customer info)
    /// 
    public bool DisplayOnCustomerInfoPage { get; set; }

    /// 
    /// Gets or sets the display order
    /// 
    public int DisplayOrder { get; set; }
}