Class PromotionEngineSettings
Instructions for how the PromotionEngine should behave.
Inheritance
System.Object
PromotionEngineSettings
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: 9.24.1Syntax
public class PromotionEngineSettings
Constructors
PromotionEngineSettings()
Initializes a new instance of PromotionEngineSettings
Declaration
public PromotionEngineSettings()
Remarks
Will set RequestedStatuses to Fulfilled and ApplyReward to true.
PromotionEngineSettings(RequestFulfillmentStatus, Boolean)
Initializes a new instance of PromotionEngineSettings
Declaration
public PromotionEngineSettings(RequestFulfillmentStatus requestedStatuses, bool applyReward)
Parameters
| Type | Name | Description |
|---|---|---|
| RequestFulfillmentStatus | requestedStatuses | The fulfillment statuses to return RewardDescriptions for. |
| System.Boolean | applyReward | The flag indicates reward will be applied or not. |
Properties
ApplyReward
Get or sets if the reward will be applied. Default is true.
Declaration
public bool ApplyReward { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
RequestedStatuses
Gets or sets which fulfillment statuses to return RewardDescriptions for.
Declaration
public RequestFulfillmentStatus RequestedStatuses { get; set; }
Property Value
| Type | Description |
|---|---|
| RequestFulfillmentStatus |