Class PromotionModel
Promotion model.
public sealed class PromotionModel
- Inheritance
-
objectPromotionModel
- 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
Methods
Create(PromotionInfo)
Creates a new promotion model from promotion info.
public static PromotionModel Create(PromotionInfo promotion)
Parameters
promotionPromotionInfoPromotion info.
Returns
- PromotionModel
Promotion model.