Class BuyQuantityGetSelectedItemsDiscount
This promotion type will be applied when RequiredQuantity number of SKUs, that are part of the entries or nodes belonging to the Items, are in the cart. A Discount will be applied to every item that belongs to Items.
Implements
Inherited Members
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
[PromotionSettings(FixedRedemptionsPerOrder = 1)]
public class BuyQuantityGetSelectedItemsDiscount : EntryPromotion, IMonetaryDiscount
Constructors
BuyQuantityGetSelectedItemsDiscount()
Declaration
public BuyQuantityGetSelectedItemsDiscount()
Properties
Condition
The condition for the promotion that needs to be fulfilled before the discount is applied.
Declaration
[PromotionRegion("Condition")]
public virtual PurchaseQuantity Condition { get; set; }
Property Value
Type | Description |
---|---|
PurchaseQuantity |
Discount
The reward values that should be applied.
Declaration
[PromotionRegion("Discount")]
public virtual MonetaryReward Discount { get; set; }
Property Value
Type | Description |
---|---|
MonetaryReward |