The IConditionalDiscount type exposes the following members.
Back to Top
Back to Top
Methods
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 shoppingcart item.
(Inherited from IItemDiscount.) | |
LogUseOnce |
Informs this discount that it was applied for given cart in context of specified product.
|
Properties
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.) | |
ItemDiscountedUnits |
Number of units the discount should be applied to
(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.) |
See Also