Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.28 KB

RollbackDiscountEffectProps.md

File metadata and controls

17 lines (12 loc) · 1.28 KB

# RollbackDiscountEffectProps

Properties

Name Type Description Notes
name string The name of the "setDiscount" effect that was rolled back.
value float The value of the discount that was rolled back.
cartItemPosition float The index of the item in the cart items for which the discount was rolled back. [optional]
cartItemSubPosition float For cart items with `quantity` > 1, the subposition returns the index of the item unit in its line item. [optional]
additionalCostId int The ID of the additional cost that was rolled back. [optional]
additionalCost string The name of the additional cost that was rolled back. [optional]
scope string The scope of the rolled back discount - For a discount per session, it can be one of `cartItems`, `additionalCosts` or `sessionTotal` - For a discount per item, it can be one of `price`, `additionalCosts` or `itemTotal` [optional]

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