Class BuyQuantityGetItemDiscountValidator
Validates conditions for the BuyQuantityGetItemDiscount promotion.
Inheritance
System.Object
BuyQuantityGetItemDiscountValidator
Implements
EPiServer.Validation.IValidate<BuyQuantityGetItemDiscount>
EPiServer.Validation.IValidate
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Validation
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0Syntax
public class BuyQuantityGetItemDiscountValidator : GetItemDiscountValidator<BuyQuantityGetItemDiscount>, IValidate<BuyQuantityGetItemDiscount>, IValidate
Constructors
BuyQuantityGetItemDiscountValidator(LocalizationService)
Initializes a new instance of the BuyQuantityGetItemDiscountValidator class.
Declaration
public BuyQuantityGetItemDiscountValidator(LocalizationService localizationService)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Framework.Localization.LocalizationService | localizationService | The localization service. |
Implements
EPiServer.Validation.IValidate<>
EPiServer.Validation.IValidate