Class EntryPromotionProcessorBase<TEntryPromotion>
Responsible for evaluating if an entry promotion is valid for a specific IOrder
Inheritance
System.Object
PromotionProcessorBase <TEntryPromotion>
EntryPromotionProcessorBase<TEntryPromotion>
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 EntryPromotionProcessorBase<TEntryPromotion> : PromotionProcessorBase<TEntryPromotion>, IPromotionProcessor where TEntryPromotion : EntryPromotion
Type Parameters
Name | Description |
---|---|
TEntryPromotion |
Constructors
EntryPromotionProcessorBase()
Declaration
protected EntryPromotionProcessorBase()
Methods
CreateRedemptionDescription(AffectedEntries)
Creates a Redemption
Declaration
protected virtual RedemptionDescription CreateRedemptionDescription(AffectedEntries affectedEntries)
Parameters
Type | Name | Description |
---|---|---|
Affected |
affectedEntries | The affected entries. |
Returns
Type | Description |
---|---|
Redemption |
GetMaxRedemptions(RedemptionLimitsData)
Get max redemptions
Declaration
protected virtual int GetMaxRedemptions(RedemptionLimitsData redemptions)
Parameters
Type | Name | Description |
---|---|---|
Redemption |
redemptions | Contains information regarding Redemption Limits on Promotion |
Returns
Type | Description |
---|---|
System. |
Max redemptions. |