Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class RewardApplicatorBase

Update and Apply rewards.

Inheritance
System.Object
RewardApplicatorBase
Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
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.