namespace Nop.Services.Discounts; /// /// Represents a result of discount validation /// public partial class DiscountValidationResult { public DiscountValidationResult() { Errors = new List(); } /// /// Gets or sets a value indicating whether discount is valid /// public bool IsValid { get; set; } /// /// Gets or sets the errors that a customer should see when entering a coupon code (in case if "IsValid" is set to "false") /// public IList Errors { get; set; } }