Class DiscountValidationResult
- Namespace
- Dynamicweb.Ecommerce.Orders.Discounts
- Assembly
- Dynamicweb.Ecommerce.dll
Class DiscountValidationResult stores a discount that is not valid and a list of reasons why it is not valid.
[Serializable]
public class DiscountValidationResult
- Inheritance
-
DiscountValidationResult
- Inherited Members
Properties
Discount
The validated discount
public Discount Discount { get; set; }
Property Value
Reasons
A list of reasons why discount is not valid
public IEnumerable<DiscountValidationReason> Reasons { get; set; }