Sha256: 37ea1d936a0372792cd7e6db1f5580216681bb96cd52ad77839332b0d21f2eb1

Contents?: true

Size: 1.61 KB

Versions: 3

Compression:

Stored size: 1.61 KB

Contents

# TalonOne::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. | 
**cart_item_position** | **Float** | The index of the item in the cart items for which the discount was rolled back. | [optional] 
**cart_item_sub_position** | **Float** | The index of the item unit in its line item. It is only used for cart items with `quantity` > 1 and is only returned when cart item flattening is enabled.  | [optional] 
**additional_cost_id** | **Integer** | The ID of the additional cost that was rolled back. | [optional] 
**additional_cost** | **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] 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::RollbackDiscountEffectProps.new(name: null,
                                 value: null,
                                 cart_item_position: null,
                                 cart_item_sub_position: null,
                                 additional_cost_id: null,
                                 additional_cost: null,
                                 scope: null)
```


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
talon_one-3.0.2 docs/RollbackDiscountEffectProps.md
talon_one-3.0.1 docs/RollbackDiscountEffectProps.md
talon_one-3.0.0 docs/RollbackDiscountEffectProps.md