Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 865 Bytes

SetDiscountEffectProps.md

File metadata and controls

14 lines (10 loc) · 865 Bytes

SetDiscountEffectProps

The properties specific to the "setDiscount" effect. This gets triggered whenever a validated rule contained a "set discount" effect. This is a discount that should be applied on the scope of defined with it.

Properties

Name Type Description Notes
name str The name / description of this discount
value float The total monetary value of the discount.
scope str The scope which the discount was applied on, can be one of (cartItems,additionalCosts,sessionTotal). [optional]
desired_value float The original value of the discount. [optional]

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