Class SpendAmountGetShippingDiscountProcessor
The processor responsible for evaluating if a promotion of type Spend
Inheritance
System.Object
SpendAmountGetShippingDiscountProcessor
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 SpendAmountGetShippingDiscountProcessor : ShippingPromotionProcessorBase<SpendAmountGetShippingDiscount>, IPromotionProcessor
Constructors
SpendAmountGetShippingDiscountProcessor(FulfillmentEvaluator, LocalizationService)
Creates an instance of a Spend
Declaration
public SpendAmountGetShippingDiscountProcessor(FulfillmentEvaluator fulfillmentEvaluator, LocalizationService localizationService)
Parameters
Type | Name | Description |
---|---|---|
Fulfillment |
fulfillmentEvaluator | The service that is used to evaluate the fulfillment status of the promotion. |
EPi |
localizationService | The localization service. |
Methods
CanBeFulfilled(SpendAmountGetShippingDiscount, PromotionProcessorContext)
Declaration
protected override bool CanBeFulfilled(SpendAmountGetShippingDiscount promotionData, PromotionProcessorContext context)
Parameters
Type | Name | Description |
---|---|---|
Spend |
promotionData | |
Promotion |
context |
Returns
Type | Description |
---|---|
System. |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount>.CanBeFulfilled(EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount, EPiServer.Commerce.Marketing.PromotionProcessorContext)
CreateRewardDescription(SpendAmountGetShippingDiscount, FulfillmentStatus, IEnumerable<RedemptionDescription>, PromotionProcessorContext)
Declaration
protected override RewardDescription CreateRewardDescription(SpendAmountGetShippingDiscount promotionData, FulfillmentStatus fulfillmentStatus, IEnumerable<RedemptionDescription> redemptions, PromotionProcessorContext context)
Parameters
Type | Name | Description |
---|---|---|
Spend |
promotionData | |
Fulfillment |
fulfillmentStatus | |
System. |
redemptions | |
Promotion |
context |
Returns
Type | Description |
---|---|
Reward |
Overrides
EPiServer.Commerce.Marketing.ShippingPromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount>.CreateRewardDescription(EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount, EPiServer.Commerce.Marketing.FulfillmentStatus, System.Collections.Generic.IEnumerable<EPiServer.Commerce.Marketing.RedemptionDescription>, EPiServer.Commerce.Marketing.PromotionProcessorContext)
GetFulfillmentStatus(SpendAmountGetShippingDiscount, PromotionProcessorContext)
Declaration
protected override FulfillmentStatus GetFulfillmentStatus(SpendAmountGetShippingDiscount promotionData, PromotionProcessorContext context)
Parameters
Type | Name | Description |
---|---|---|
Spend |
promotionData | |
Promotion |
context |
Returns
Type | Description |
---|---|
Fulfillment |
Overrides
EPiServer.Commerce.Marketing.ShippingPromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount>.GetFulfillmentStatus(EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount, EPiServer.Commerce.Marketing.PromotionProcessorContext)
GetPromotionItems(SpendAmountGetShippingDiscount)
Declaration
protected override PromotionItems GetPromotionItems(SpendAmountGetShippingDiscount promotionData)
Parameters
Type | Name | Description |
---|---|---|
Spend |
promotionData |
Returns
Type | Description |
---|---|
Promotion |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount>.GetPromotionItems(EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount)
NotFulfilledRewardDescription(SpendAmountGetShippingDiscount, PromotionProcessorContext, FulfillmentStatus)
Declaration
protected override RewardDescription NotFulfilledRewardDescription(SpendAmountGetShippingDiscount promotionData, PromotionProcessorContext context, FulfillmentStatus fulfillmentStatus)
Parameters
Type | Name | Description |
---|---|---|
Spend |
promotionData | |
Promotion |
context | |
Fulfillment |
fulfillmentStatus |
Returns
Type | Description |
---|---|
Reward |
Overrides
EPiServer.Commerce.Marketing.PromotionProcessorBase<EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount>.NotFulfilledRewardDescription(EPiServer.Commerce.Marketing.Promotions.SpendAmountGetShippingDiscount, EPiServer.Commerce.Marketing.PromotionProcessorContext, EPiServer.Commerce.Marketing.FulfillmentStatus)