Webiant Logo Webiant Logo
  1. No results found.

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

DiscountRequirement.cs

namespace Nop.Core.Domain.Discounts;

/// 
/// Represents a discount requirement
/// 
public partial class DiscountRequirement : BaseEntity
{
    /// 
    /// Gets or sets the discount identifier
    /// 
    public int DiscountId { get; set; }

    /// 
    /// Gets or sets the discount requirement rule system name
    /// 
    public string DiscountRequirementRuleSystemName { get; set; }

    /// 
    /// Gets or sets the parent requirement identifier
    /// 
    public int? ParentId { get; set; }

    /// 
    /// Gets or sets an interaction type identifier (has a value for the group and null for the child requirements)
    /// 
    public int? InteractionTypeId { get; set; }

    /// 
    /// Gets or sets a value indicating whether this requirement has any child requirements
    /// 
    public bool IsGroup { get; set; }

    /// 
    /// Gets or sets an interaction type
    /// 
    public RequirementGroupInteractionType? InteractionType
    {
        get => (RequirementGroupInteractionType?)InteractionTypeId;
        set => InteractionTypeId = (int?)value;
    }
}