Try our conversational search powered by Generative AI!

Class RewardApplicatorBase

Update and Apply rewards.

Inheritance
System.Object
RewardApplicatorBase
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: 13.30.0
Syntax
public abstract class RewardApplicatorBase

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.