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 | Integer | The ID of the additional cost. | |
| value | BigDecimal | The total monetary value of the discount. | |
| position | BigDecimal | The index of the item in the cart item list containing the additional cost to be discounted. | |
| subPosition | BigDecimal | Only used when cart item flattening is enabled. Indicates which item the discount applies to for cart items with `quantity` > 1. | [optional] |
| additionalCost | String | The name of the additional cost. | |
| desiredValue | BigDecimal | Only with partial discounts enabled. Represents the monetary value of the discount to be applied to additional discount without considering budget limitations. | [optional] |