Try our conversational search powered by Generative AI!

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: 13.30.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
[CLSCompliant(false)]
[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