Class BuyQuantityGetSelectedItemsDiscountProcessor
Inheritance
System.Object
BuyQuantityGetSelectedItemsDiscountProcessor
Implements
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.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
public class BuyQuantityGetSelectedItemsDiscountProcessor : ConditionAwareItemDiscountProcessor<BuyQuantityGetSelectedItemsDiscount>, IPromotionProcessor
Constructors
BuyQuantityGetSelectedItemsDiscountProcessor(CollectionTargetEvaluator, FulfillmentEvaluator, LocalizationService, RedemptionDescriptionFactory)
Creates an instance of a BuyQuantityGetSelectedItemsDiscountProcessor.
Declaration
public BuyQuantityGetSelectedItemsDiscountProcessor(CollectionTargetEvaluator targetEvaluator, FulfillmentEvaluator fulfillmentEvaluator, LocalizationService localizationService, RedemptionDescriptionFactory redemptionDescriptionFactory)
Parameters
Type | Name | Description |
---|---|---|
CollectionTargetEvaluator | targetEvaluator | The service that is used to evaluate the target properties. |
FulfillmentEvaluator | fulfillmentEvaluator | The service that is used to evaluate the fulfillment status of the promotion. |
EPiServer.Framework.Localization.LocalizationService | localizationService | The localization service. |
RedemptionDescriptionFactory | redemptionDescriptionFactory | Factory for creating RedemptionDescriptions. |
Methods
GetPromotionItems(BuyQuantityGetSelectedItemsDiscount)
Declaration
protected override PromotionItems GetPromotionItems(BuyQuantityGetSelectedItemsDiscount promotionData)
Parameters
Type | Name | Description |
---|---|---|
BuyQuantityGetSelectedItemsDiscount | promotionData |
Returns
Type | Description |
---|---|
PromotionItems |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount>.GetPromotionItems(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount)
GetRedemptions(BuyQuantityGetSelectedItemsDiscount, PromotionProcessorContext, IEnumerable<String>)
Declaration
protected override IEnumerable<RedemptionDescription> GetRedemptions(BuyQuantityGetSelectedItemsDiscount promotionData, PromotionProcessorContext context, IEnumerable<string> applicableCodes)
Parameters
Type | Name | Description |
---|---|---|
BuyQuantityGetSelectedItemsDiscount | promotionData | |
PromotionProcessorContext | context | |
System.Collections.Generic.IEnumerable<System.String> | applicableCodes |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<RedemptionDescription> |
Overrides
EPiServer.Commerce.Marketing.Promotions.ConditionAwareItemDiscountProcessor<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount>.GetRedemptions(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetSelectedItemsDiscount, EPiServer.Commerce.Marketing.PromotionProcessorContext, System.Collections.Generic.IEnumerable<System.String>)