Class OrderPromotionProcessorBase<TOrderPromotion>
Responsible for evaluating if an order promotion is valid for a specific IOrderForm.
Inheritance
System.Object
PromotionProcessorBase<TOrderPromotion>
OrderPromotionProcessorBase<TOrderPromotion>
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: 10.8.0Syntax
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 |
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 |