Class OrderPromotionProcessorBase<TOrderPromotion>

Responsible for evaluating if an order promotion is valid for a specific IOrderForm.

Inheritance
System.Object
PromotionProcessorBase<TOrderPromotion>
OrderPromotionProcessorBase<TOrderPromotion>
Implements
Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public abstract class OrderPromotionProcessorBase<TOrderPromotion> : PromotionProcessorBase<TOrderPromotion>, IPromotionProcessor where TOrderPromotion : OrderPromotion
Type Parameters
Name Description
TOrderPromotion

Constructors

OrderPromotionProcessorBase()

Declaration
protected OrderPromotionProcessorBase()

Methods

CreateRedemptionDescription(IOrderForm)

Creates a RedemptionDescription using affected orderForm.

Declaration
protected virtual RedemptionDescription CreateRedemptionDescription(IOrderForm orderForm)
Parameters
Type Name Description
IOrderForm orderForm

The order form.

Returns
Type Description
RedemptionDescription

RedemptionDescription with AffectedOrder.

CreateRedemptionDescription(IEnumerable<IOrderForm>)

Creates a RedemptionDescription using affected orderForms.

Declaration
protected virtual RedemptionDescription CreateRedemptionDescription(IEnumerable<IOrderForm> orderForms)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<IOrderForm> orderForms

The order forms.

Returns
Type Description
RedemptionDescription

RedemptionDescription with AffectedOrders.

Implements