Enum DiscountApplyType
- Namespace
- Dynamicweb.Ecommerce.Orders.Discounts
- Assembly
- Dynamicweb.Ecommerce.dll
The OrderDiscountType enumeration defines the two different types of OrderDiscount instances the OrderDiscount class can represent.
public enum DiscountApplyType
Fields
OrderDiscount = 1
- An OrderDiscount is a discount, which applies to the entire order.
OrderDiscountWithOtherDiscounts = 3
- An OrderDiscount that is calculated based on the total order price including previously added discounts.
OrderLineDiscount = 2
- An OrderLineDiscount is a discount, which is applies to one order line on the order.