Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 755 Bytes

SetDiscountEffectProps.md

File metadata and controls

16 lines (9 loc) · 755 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 String The name / description of this discount
value BigDecimal The total monetary value of the discount.
scope String The scope which the discount was applied on, can be one of (cartItems,additionalCosts,sessionTotal). [optional]
desiredValue BigDecimal The original value of the discount. [optional]