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 PromotionItems

All valid condition and reward catalog content items for a specific promotion.

Inheritance
System.Object
PromotionItems
Namespace: EPiServer.Commerce.Marketing
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class PromotionItems : Object

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