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
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
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.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 |
---|---|---|
EPiServer.Framework.Localization.LocalizationService | 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 |
---|---|---|
TFreeShippingPromotion | promotionData | |
FulfillmentStatus | fulfillmentStatus | |
System.Collections.Generic.IEnumerable<RedemptionDescription> | redemptions | |
PromotionProcessorContext | context |
Returns
Type | Description |
---|---|
RewardDescription |
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 |
---|---|---|
TFreeShippingPromotion | promotionData | |
PromotionProcessorContext | context | |
FulfillmentStatus | fulfillmentStatus |
Returns
Type | Description |
---|---|
RewardDescription |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<TFreeShippingPromotion>.NotFulfilledRewardDescription(TFreeShippingPromotion, EPiServer.Commerce.Marketing.PromotionProcessorContext, EPiServer.Commerce.Marketing.FulfillmentStatus)