The IItemDiscount 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.
|
![]() | CalculateUnitDiscount |
Calculates discount based on basePrice for given shoppingcart item.
|
Properties
Name | Description | |
---|---|---|
![]() | ItemDiscountDisplayName |
Discount display name.
|
![]() | ItemDiscountedUnits |
Number of units the discount should be applied to
|
![]() | ItemDiscountID |
Discount identifier.
|
![]() | ItemDiscountIsFlat |
True - discount value is flat, False - discount value is relative.
|
![]() | 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.
|
![]() | ItemDiscountType |
Discount type.
|
![]() | ItemDiscountValue |
Discount value.
|
See Also