November Happy Hour will be moved to Thursday December 5th.

Class BuyQuantityGetMostExpensiveFreeProcessor

The processor responsible for evaluating if a promotion of type BuyQuantityGetMostExpensiveFree should apply a reward to an order group.

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.0
Syntax
public class BuyQuantityGetMostExpensiveFreeProcessor : GetFreeItemsProcessorBase<BuyQuantityGetMostExpensiveFree>, IPromotionProcessor

Constructors

BuyQuantityGetMostExpensiveFreeProcessor(CollectionTargetEvaluator, FulfillmentEvaluator, LocalizationService, RedemptionDescriptionFactory)

Declaration
public BuyQuantityGetMostExpensiveFreeProcessor(CollectionTargetEvaluator targetEvaluator, FulfillmentEvaluator fulfillmentEvaluator, LocalizationService localizationService, RedemptionDescriptionFactory redemptionDescriptionFactory)
Parameters
Type Name Description
CollectionTargetEvaluator targetEvaluator

The service that is used to evaluate an order against a promotion's 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

GetAffectedEntries(BuyQuantityGetMostExpensiveFree, PromotionProcessorContext, IEnumerable<String>)

Declaration
protected override AffectedEntries GetAffectedEntries(BuyQuantityGetMostExpensiveFree promotionData, PromotionProcessorContext context, IEnumerable<string> applicableCodes)
Parameters
Type Name Description
BuyQuantityGetMostExpensiveFree promotionData
PromotionProcessorContext context
System.Collections.Generic.IEnumerable<System.String> applicableCodes
Returns
Type Description
AffectedEntries
Overrides
EPiServer.Commerce.Marketing.Promotions.GetFreeItemsProcessorBase<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetMostExpensiveFree>.GetAffectedEntries(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetMostExpensiveFree, EPiServer.Commerce.Marketing.PromotionProcessorContext, System.Collections.Generic.IEnumerable<System.String>)

Implements