The properties specific to the "setDiscountPerAdditionalCostPerItem" effect. This gets triggered whenever a validated rule contained a "set discount per additional cost per item" effect. This is a discount that should be applied on a specific additional cost in a specific item.
Name | Type | Description | Notes |
---|---|---|---|
Name | string | The name / description of this discount | |
AdditionalCostId | int | The ID of the additional cost. | |
Value | decimal | The total monetary value of the discount. | |
Position | decimal | The index of the item in the cart item list containing the additional cost to be discounted. | |
SubPosition | decimal | For cart items with `quantity` > 1, the sub position indicates which item the discount applies to. | [optional] |
AdditionalCost | string | The name of the additional cost. | |
DesiredValue | decimal | Only with partial discounts enabled. Represents the monetary value of the discount to be applied to additional discount without considering budget limitations. | [optional] |