Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.42 KB

SetDiscountPerAdditionalCostPerItemEffectProps.md

File metadata and controls

17 lines (13 loc) · 1.42 KB

SetDiscountPerAdditionalCostPerItemEffectProps

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.

Properties

Name Type Description Notes
name str The name / description of this discount
additional_cost_id int The ID of the additional cost.
value float The total monetary value of the discount.
position float The index of the item in the cart item list containing the additional cost to be discounted.
sub_position float For cart items with `quantity` > 1, the sub position indicates which item the discount applies to. [optional]
additional_cost str The name of the additional cost.
desired_value float Only with partial discounts enabled. Represents the monetary value of the discount to be applied to additional discount without considering budget limitations. [optional]

[Back to Model list] [Back to API list] [Back to README]