Class RewardApplicatorBase
Update and Apply rewards.
Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public abstract class RewardApplicatorBase : Object
Constructors
RewardApplicatorBase()
Declaration
protected RewardApplicatorBase()
Properties
DiscountType
Gets the DiscountType used to determine which property to update on the ILineItem or IShipment.
Declaration
public abstract DiscountType DiscountType { get; }
Property Value
Type | Description |
---|---|
DiscountType |
Methods
Apply(RewardDescription, Int32, PromotionProcessorContext)
Applies a reward to the EntryAmount or OrderAmount or ShipmentDiscount.
Declaration
public abstract void Apply(RewardDescription reward, int remainingRedemptions, PromotionProcessorContext processorContext)
Parameters
Type | Name | Description |
---|---|---|
RewardDescription | reward | The reward description. |
System.Int32 | remainingRedemptions | The number of remaining redemptions. |
PromotionProcessorContext | processorContext | The promotion processor context for the promotion applicator. |