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 BuyFromCategoryGetItemDiscount

The Discount will be applied to any SKUs that are part of the Category.

Inheritance
System.Object
BuyFromCategoryGetItemDiscount
Implements
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class BuyFromCategoryGetItemDiscount : EntryPromotion, IMonetaryDiscount

Constructors

BuyFromCategoryGetItemDiscount()

Declaration
public BuyFromCategoryGetItemDiscount()

Properties

Category

Any SKUs that belong to this category will get a discount.

Declaration
[PromotionRegion("Condition")]
public virtual ContentReference Category { get; set; }
Property Value
Type Description
EPiServer.Core.ContentReference

Discount

The reward values that should be applied.

Declaration
[PromotionRegion("Discount")]
public virtual MonetaryReward Discount { get; set; }
Property Value
Type Description
MonetaryReward

Implements

Extension Methods