SaaS CMS has officially launched! Learn more now.

Class 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: 11.8.3
Syntax
public class BuyQuantityGetSelectedItemsDiscountProcessor : ConditionAwareItemDiscountProcessor<BuyQuantityGetSelectedItemsDiscount>, IPromotionProcessor

Constructors

BuyQuantityGetSelectedItemsDiscountProcessor(CollectionTargetEvaluator, FulfillmentEvaluator, LocalizationService)

Declaration
[Obsolete("This constructor is obsolete. Use the constructor with RedemptionDescriptionFactory instead. This will remain until at least October 2018.")]
public BuyQuantityGetSelectedItemsDiscountProcessor(CollectionTargetEvaluator targetEvaluator, FulfillmentEvaluator fulfillmentEvaluator, LocalizationService localizationService)
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.

BuyQuantityGetSelectedItemsDiscountProcessor(CollectionTargetEvaluator, FulfillmentEvaluator, LocalizationService, RedemptionDescriptionFactory)

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>)

Implements