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 PromotionSettingsAttribute

Defines per-class settings for PromotionData subclass instances.

Inheritance
System.Object
PromotionSettingsAttribute
Namespace: EPiServer.Commerce.Marketing.DataAnnotations
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public sealed class PromotionSettingsAttribute : Attribute

Constructors

PromotionSettingsAttribute()

Declaration
public PromotionSettingsAttribute()

Properties

FixedRedemptionsPerOrder

Gets or sets the number of redemptions per order. If this value is set (> 0) the per order form redemption limit field will be hidden in UI and this value will always be used instead.

Declaration
public int FixedRedemptionsPerOrder { get; set; }
Property Value
Type Description
System.Int32

The number of redemptions per order. A value of zero means instances of the type may use different values as set on RedemptionLimits.

See Also

System.Attribute