Class PromotionDataExtensions

Extensions for PromotionData

Inheritance
System.Object
PromotionDataExtensions
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: 10.8.0
Syntax
public static class PromotionDataExtensions

Methods

GetFixedRedemptionsPerOrderSetting(PromotionData)

Gets the fixed redemptions per order setting for the promotion type.

Declaration
public static int? GetFixedRedemptionsPerOrderSetting(this PromotionData promotion)
Parameters
Type Name Description
PromotionData promotion

The promotion.

Returns
Type Description
System.Nullable<System.Int32>

The first nonzero value of FixedRedemptionsPerOrder defined in any attribute for the type, or null if no matching attribute is found.