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

Class BuyQuantityGetFreeShippingProcessor

The processor responsible for evaluating if a promotion of type BuyQuantityGetFreeShipping 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 BuyQuantityGetFreeShippingProcessor : FreeShippingPromotionProcessorBase<BuyQuantityGetFreeShipping>, IPromotionProcessor

Constructors

BuyQuantityGetFreeShippingProcessor(FulfillmentEvaluator, CollectionTargetEvaluator, LocalizationService)

Creates an instance of a BuyQuantityGetFreeShippingProcessor.

Declaration
public BuyQuantityGetFreeShippingProcessor(FulfillmentEvaluator fulfillmentEvaluator, CollectionTargetEvaluator targetEvaluator, LocalizationService localizationService)
Parameters
Type Name Description
FulfillmentEvaluator fulfillmentEvaluator

The service that is used to evaluate the fulfillment status of the promotion.

CollectionTargetEvaluator targetEvaluator

The service that is used to evaluate the fulfillment status of the promotion.

EPiServer.Framework.Localization.LocalizationService localizationService

The localization service.

Methods

CanBeFulfilled(BuyQuantityGetFreeShipping, PromotionProcessorContext)

Declaration
protected override bool CanBeFulfilled(BuyQuantityGetFreeShipping promotionData, PromotionProcessorContext context)
Parameters
Type Name Description
BuyQuantityGetFreeShipping promotionData
PromotionProcessorContext context
Returns
Type Description
System.Boolean
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetFreeShipping>.CanBeFulfilled(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetFreeShipping, EPiServer.Commerce.Marketing.PromotionProcessorContext)

GetFulfillmentStatus(BuyQuantityGetFreeShipping, PromotionProcessorContext)

Declaration
protected override FulfillmentStatus GetFulfillmentStatus(BuyQuantityGetFreeShipping promotionData, PromotionProcessorContext context)
Parameters
Type Name Description
BuyQuantityGetFreeShipping promotionData
PromotionProcessorContext context
Returns
Type Description
FulfillmentStatus
Overrides
EPiServer.Commerce.Marketing.ShippingPromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetFreeShipping>.GetFulfillmentStatus(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetFreeShipping, EPiServer.Commerce.Marketing.PromotionProcessorContext)

GetPromotionItems(BuyQuantityGetFreeShipping)

Declaration
protected override PromotionItems GetPromotionItems(BuyQuantityGetFreeShipping promotionData)
Parameters
Type Name Description
BuyQuantityGetFreeShipping promotionData
Returns
Type Description
PromotionItems
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetFreeShipping>.GetPromotionItems(EPiServer.Commerce.Marketing.Promotions.BuyQuantityGetFreeShipping)

Implements