Try our conversational search powered by Generative AI!

Class SpendAmountGetOrderDiscount

This promotion type will be applied when spend at least currency amount in the cart. A Discount will be applied to the order.

Inheritance
System.Object
SpendAmountGetOrderDiscount
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
public class SpendAmountGetOrderDiscount : OrderPromotion, ISpendAmountGetMonetaryDiscount, IPurchaseAmount, IMonetaryDiscount

Constructors

SpendAmountGetOrderDiscount()

Declaration
public SpendAmountGetOrderDiscount()

Properties

Condition

The promotion will be applied if the currency amount spent in the cart is equal or higher than the amount of one Money in this list, which has the same currency.

Declaration
[PromotionRegion("Condition")]
public virtual PurchaseAmount Condition { get; set; }
Property Value
Type Description
PurchaseAmount
Remarks

The default value of currency amounts set to zero.

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