Table of Contents

Class PromotionModel

Namespace
CMS.Commerce
Assembly
CMS.Commerce.dll

Promotion model.

public sealed class PromotionModel
Inheritance
object
PromotionModel
Extension Methods

Constructors

PromotionModel()

public PromotionModel()

Properties

PromotionID

Promotion ID.

public int PromotionID { get; init; }

Property Value

int

PromotionRuleIdentifier

Promotion rule identifier.

public string PromotionRuleIdentifier { get; init; }

Property Value

string

PromotionType

Promotion type.

public PromotionType PromotionType { get; init; }

Property Value

PromotionType

Methods

Create(PromotionInfo)

Creates a new promotion model from promotion info.

public static PromotionModel Create(PromotionInfo promotion)

Parameters

promotion PromotionInfo

Promotion info.

Returns

PromotionModel

Promotion model.