Sha256: 4dad0e3e9a0c2c241a77115d06f94dfa1c37e0e059f79ce2ea27cda52bcec731
Contents?: true
Size: 1.33 KB
Versions: 3
Compression:
Stored size: 1.33 KB
Contents
# TalonOne::CustomEffectProps ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **effect_id** | **Integer** | The ID of the custom effect that was triggered. | **name** | **String** | The type of the custom effect. | **cart_item_position** | **Float** | The index of the item in the cart item list to which the custom effect is applied. | [optional] **cart_item_sub_position** | **Float** | When cart item flattening is enabled, the sub position indicates to which item unit the custom effect is applied, for cart items with quantity > 1. | [optional] **bundle_index** | **Integer** | The position of the bundle in a list of item bundles created from the same bundle definition. | [optional] **bundle_name** | **String** | The name of the bundle definition. | [optional] **payload** | [**Object**](.md) | The JSON payload of the custom effect. | ## Code Sample ```ruby require 'TalonOne' instance = TalonOne::CustomEffectProps.new(effect_id: 1, name: my_custom_effect, cart_item_position: 1.0, cart_item_sub_position: 2.0, bundle_index: 1, bundle_name: my_bundle, payload: null) ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
talon_one-3.0.2 | docs/CustomEffectProps.md |
talon_one-3.0.1 | docs/CustomEffectProps.md |
talon_one-3.0.0 | docs/CustomEffectProps.md |