Class PromotionItems
All valid condition and reward catalog content items for a specific promotion.
Inheritance
System.Object
PromotionItems
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: 12.17.2Syntax
public class PromotionItems
Constructors
PromotionItems(PromotionData, CatalogItemSelection, CatalogItemSelection)
Initializes a new instance of the PromotionItems class.
Declaration
public PromotionItems(PromotionData promotion, CatalogItemSelection condition, CatalogItemSelection reward)
Parameters
Type | Name | Description |
---|---|---|
PromotionData | promotion | The promotion. |
CatalogItemSelection | condition | The condition catalog content items CatalogContent, NodeContent, and EntryContentBase. |
CatalogItemSelection | reward | The reward catalog content items CatalogContent, NodeContent, and EntryContentBase. |
Properties
Condition
Gets the condition catalog content items (CatalogContent, NodeContent, and EntryContentBase) associated with the promotion.
Declaration
public CatalogItemSelection Condition { get; }
Property Value
Type | Description |
---|---|
CatalogItemSelection |
Promotion
Gets the promotion.
Declaration
public PromotionData Promotion { get; }
Property Value
Type | Description |
---|---|
PromotionData |
Reward
Gets the reward catalog content items (CatalogContent, NodeContent, and EntryContentBase) associated with the promotion.
Declaration
public CatalogItemSelection Reward { get; }
Property Value
Type | Description |
---|---|
CatalogItemSelection |