Sha256: aaa88604429de3ed85aaf13faf3b854ef8244077abb912d0de3da9b589b06c11

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

# TalonOne::EffectEntity

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**campaign_id** | **Integer** | The ID of the campaign that triggered this effect. | 
**ruleset_id** | **Integer** | The ID of the ruleset that was active in the campaign when this effect was triggered. | 
**rule_index** | **Integer** | The position of the rule that triggered this effect within the ruleset. | 
**rule_name** | **String** | The name of the rule that triggered this effect. | 
**effect_type** | **String** | The type of effect that was triggered. See [API effects](https://docs.talon.one/docs/dev/integration-api/api-effects). | 
**triggered_by_coupon** | **Integer** | The ID of the coupon that was being evaluated when this effect was triggered. | [optional] 
**triggered_for_catalog_item** | **Integer** | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional] 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::EffectEntity.new(campaign_id: 244,
                                 ruleset_id: 73,
                                 rule_index: 2,
                                 rule_name: Give 20% discount,
                                 effect_type: rejectCoupon,
                                 triggered_by_coupon: 4928,
                                 triggered_for_catalog_item: 786)
```


Version data entries

3 entries across 3 versions & 1 rubygems

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