Webiant Logo Webiant Logo
  1. No results found.

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

DiscountRequirementValidationResult.cs

namespace Nop.Services.Discounts;

/// 
/// Represents a result of discount requirement validation
/// 
public partial class DiscountRequirementValidationResult
{
    /// 
    /// Gets or sets a value indicating whether discount is valid
    /// 
    public bool IsValid { get; set; }

    /// 
    /// Gets or sets an error that a customer should see when entering a coupon code (in case if "IsValid" is set to "false")
    /// 
    public string UserError { get; set; }
}