Class SpendAmountGetFreeShippingProcessor
The processor responsible for evaluating if a promotion of type SpendAmountGetFreeShipping should apply a reward to an order group.
Inheritance
System.Object
SpendAmountGetFreeShippingProcessor
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.0Syntax
public class SpendAmountGetFreeShippingProcessor : FreeShippingPromotionProcessorBase<SpendAmountGetFreeShipping>, IPromotionProcessor
Constructors
SpendAmountGetFreeShippingProcessor(FulfillmentEvaluator, LocalizationService)
Creates an instance of a SpendAmountGetFreeShippingProcessor.
Declaration
public SpendAmountGetFreeShippingProcessor(FulfillmentEvaluator fulfillmentEvaluator, LocalizationService localizationService)
Parameters
Type | Name | Description |
---|---|---|
FulfillmentEvaluator | fulfillmentEvaluator | The service that is used to evaluate the fulfillment status of the promotion. |
EPiServer.Framework.Localization.LocalizationService | localizationService | The localization service. |
Methods
CanBeFulfilled(SpendAmountGetFreeShipping, PromotionProcessorContext)
Declaration
protected override bool CanBeFulfilled(SpendAmountGetFreeShipping promotionData, PromotionProcessorContext context)
Parameters
Type | Name | Description |
---|---|---|
SpendAmountGetFreeShipping | promotionData | |
PromotionProcessorContext | context |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.SpendAmountGetFreeShipping>.CanBeFulfilled(EPiServer.Commerce.Marketing.Promotions.SpendAmountGetFreeShipping, EPiServer.Commerce.Marketing.PromotionProcessorContext)
GetFulfillmentStatus(SpendAmountGetFreeShipping, PromotionProcessorContext)
Declaration
protected override FulfillmentStatus GetFulfillmentStatus(SpendAmountGetFreeShipping promotionData, PromotionProcessorContext context)
Parameters
Type | Name | Description |
---|---|---|
SpendAmountGetFreeShipping | promotionData | |
PromotionProcessorContext | context |
Returns
Type | Description |
---|---|
FulfillmentStatus |
Overrides
EPiServer.Commerce.Marketing.ShippingPromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.SpendAmountGetFreeShipping>.GetFulfillmentStatus(EPiServer.Commerce.Marketing.Promotions.SpendAmountGetFreeShipping, EPiServer.Commerce.Marketing.PromotionProcessorContext)
GetPromotionItems(SpendAmountGetFreeShipping)
Declaration
protected override PromotionItems GetPromotionItems(SpendAmountGetFreeShipping promotionData)
Parameters
Type | Name | Description |
---|---|---|
SpendAmountGetFreeShipping | promotionData |
Returns
Type | Description |
---|---|
PromotionItems |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.SpendAmountGetFreeShipping>.GetPromotionItems(EPiServer.Commerce.Marketing.Promotions.SpendAmountGetFreeShipping)