Try our conversational search powered by Generative AI!

Class RewardApplicatorResolver

Inheritance
System.Object
RewardApplicatorResolver
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.0
Syntax
public class RewardApplicatorResolver

Constructors

RewardApplicatorResolver(EntryRewardApplicator, OrderRewardApplicator, ShippingRewardApplicator)

Creates an instance of a RewardApplicatorResolver.

EntryRewardApplicator for changing a line item's discount amount. OrderRewardApplicator for changing a line item's order discount amount. ShippingRewardApplicator for changing shipment's shipping discount amount.
Declaration
public RewardApplicatorResolver(EntryRewardApplicator entryRewardApplicator, OrderRewardApplicator orderRewardApplicator, ShippingRewardApplicator shippingRewardApplicator)
Parameters
Type Name Description
EntryRewardApplicator entryRewardApplicator
OrderRewardApplicator orderRewardApplicator
ShippingRewardApplicator shippingRewardApplicator

Methods

GetApplicator(DiscountType)

Gets the correct RewardApplicatorBase for discountType.

Declaration
public virtual RewardApplicatorBase GetApplicator(DiscountType discountType)
Parameters
Type Name Description
DiscountType discountType

The type of line item discount.

Returns
Type Description
RewardApplicatorBase

The correct RewardApplicatorBase for discountType.