Class FreeShippingPromotionProcessorBase<TFreeShippingPromotion>
Base class for processors of shipping promotions which giving a free shipping as reward.
Inheritance
System.Object
PromotionProcessorBase <TFreeShippingPromotion>
ShippingPromotionProcessorBase <TFreeShippingPromotion>
FreeShippingPromotionProcessorBase<TFreeShippingPromotion>
Implements
Inherited Members
Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public abstract class FreeShippingPromotionProcessorBase<TFreeShippingPromotion> : ShippingPromotionProcessorBase<TFreeShippingPromotion>, IPromotionProcessor where TFreeShippingPromotion : ShippingPromotion
Type Parameters
Name | Description |
---|---|
TFreeShippingPromotion |
Constructors
FreeShippingPromotionProcessorBase(LocalizationService)
Creates an instance of a free shipping promotion processor.
Declaration
public FreeShippingPromotionProcessorBase(LocalizationService localizationService)
Parameters
Type | Name | Description |
---|---|---|
EPi |
localizationService | The localization service. |
Methods
CreateRewardDescription(TFreeShippingPromotion, FulfillmentStatus, IEnumerable<RedemptionDescription>, PromotionProcessorContext)
Declaration
protected override RewardDescription CreateRewardDescription(TFreeShippingPromotion promotionData, FulfillmentStatus fulfillmentStatus, IEnumerable<RedemptionDescription> redemptions, PromotionProcessorContext context)
Parameters
Type | Name | Description |
---|---|---|
TFree |
promotionData | |
Fulfillment |
fulfillmentStatus | |
System. |
redemptions | |
Promotion |
context |
Returns
Type | Description |
---|---|
Reward |
Overrides
EPiServer.Commerce.Marketing.ShippingPromotionProcessorBase<TFreeShippingPromotion>.CreateRewardDescription(TFreeShippingPromotion, EPiServer.Commerce.Marketing.FulfillmentStatus, System.Collections.Generic.IEnumerable<EPiServer.Commerce.Marketing.RedemptionDescription>, EPiServer.Commerce.Marketing.PromotionProcessorContext)
NotFulfilledRewardDescription(TFreeShippingPromotion, PromotionProcessorContext, FulfillmentStatus)
Declaration
protected override RewardDescription NotFulfilledRewardDescription(TFreeShippingPromotion promotionData, PromotionProcessorContext context, FulfillmentStatus fulfillmentStatus)
Parameters
Type | Name | Description |
---|---|---|
TFree |
promotionData | |
Promotion |
context | |
Fulfillment |
fulfillmentStatus |
Returns
Type | Description |
---|---|
Reward |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<TFreeShippingPromotion>.NotFulfilledRewardDescription(TFreeShippingPromotion, EPiServer.Commerce.Marketing.PromotionProcessorContext, EPiServer.Commerce.Marketing.FulfillmentStatus)