London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 13.30.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