Class PromotionRedemption
Class representing how many times a promotion has been redeemed by customers.
Inheritance
System.Object
PromotionRedemption
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: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class PromotionRedemption
Constructors
PromotionRedemption(Guid, Int32, Int32)
Initializes a new instance of the PromotionRedemption class.
Declaration
public PromotionRedemption(Guid promotionGuid, int totalRedemptions, int customerRedemptions)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | promotionGuid | The promotion guid. |
System.Int32 | totalRedemptions | The total redemptions of the promotion. |
System.Int32 | customerRedemptions | The redemptions of a specific customer. |
Properties
CustomerRedemptions
Gets the number of times this promotion has been redeemed by a specific customer.
Declaration
public int CustomerRedemptions { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
PromotionGuid
Gets the promotion guid.
Declaration
public Guid PromotionGuid { get; }
Property Value
Type | Description |
---|---|
System.Guid |
TotalRedemptions
Gets the total number of times this promotion has been redeemed.
Declaration
public int TotalRedemptions { get; }
Property Value
Type | Description |
---|---|
System.Int32 |