Sha256: a419e1cd14615c4fc6a167f8a1726b172ce9050e2f7fec3dd145d5ec9e47e40b

Contents?: true

Size: 1.55 KB

Versions: 3

Compression:

Stored size: 1.55 KB

Contents

# TalonOne::SetDiscountPerAdditionalCostPerItemEffectProps

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | The name / description of this discount | 
**additional_cost_id** | **Integer** | 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** | Only used when [cart item flattening](https://docs.talon.one/docs/product/campaigns/campaign-evaluation#flattening) is enabled. Indicates which item the discount applies to for cart items with `quantity` > 1.  | [optional] 
**additional_cost** | **String** | The name of the additional cost. | 
**desired_value** | **Float** | Only with [partial discounts enabled](https://docs.talon.one/docs/product/campaigns/campaign-evaluation/#partial-discounts). Represents the monetary value of the discount to be applied to additional discount without considering budget limitations.  | [optional] 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::SetDiscountPerAdditionalCostPerItemEffectProps.new(name: null,
                                 additional_cost_id: null,
                                 value: null,
                                 position: null,
                                 sub_position: null,
                                 additional_cost: null,
                                 desired_value: null)
```


Version data entries

3 entries across 3 versions & 1 rubygems

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