IConditionalDiscount Interface |
Namespace: CMS.Ecommerce
public interface IConditionalDiscount : IItemDiscount
The IConditionalDiscount type exposes the following members.
Name | Description | |
---|---|---|
ApplyFurtherDiscounts |
Indicates that further discounts (in order of DiscountOrder) are to be processed.
| |
DiscountCartCondition |
Macro condition regarding shopping cart which must be satisfied to be able to use discount
| |
DiscountItemMinOrderAmount |
Minimum order discount amount.
| |
DiscountItemOrder |
Discount order used to define its priority (1 is the highest priority).
| |
DiscountProductCondition |
Macro condition regarding products which must be satisfied to be able to use discount
| |
ItemDiscountDisplayName |
Discount display name.
(Inherited from IItemDiscount.) | |
ItemDiscountID |
Discount identifier.
(Inherited from IItemDiscount.) | |
ItemDiscountIsFlat |
True - discount value is flat, False - discount value is relative.
(Inherited from IItemDiscount.) | |
ItemDiscountIsGlobal |
True - says that discounts value is set in global main currency, False - says that discounts value is set in site main currency.
Takes effect only if discount value is flat.
(Inherited from IItemDiscount.) | |
ItemDiscountType |
Discount type.
(Inherited from IItemDiscount.) | |
ItemDiscountValue |
Discount value.
(Inherited from IItemDiscount.) |
Name | Description | |
---|---|---|
ApplyTogetherWith |
Returns true if this discount is to be applied on the same base as the given discount.
False indicates that discounts are to be applied one after another.
(Inherited from IItemDiscount.) | |
CalculateUnitDiscount |
Calculates discount based on basePrice for given shopping cart item.
(Inherited from IItemDiscount.) |