The target scope of this effect.
| Name | Type | Description | Notes |
|---|---|---|---|
| type | str | The scope the custom effect applies to: - `cart` applies once to the whole cart. - `allItems` applies once per cart item. - `selector` applies once per item matched by the named selector. - `globalFilter` applies once per item matched by the named global item filter. - `bundle` applies once per item in the named bundle. | |
| name | str | The name of the targeted selector or bundle. Only set when `type` is `selector`, `globalFilter`, or `bundle`. | [optional] |
from talon_one.models.trigger_custom_effect_block1_target import TriggerCustomEffectBlock1Target
# TODO update the JSON string below
json = "{}"
# create an instance of TriggerCustomEffectBlock1Target from a JSON string
trigger_custom_effect_block1_target_instance = TriggerCustomEffectBlock1Target.from_json(json)
# print the JSON string representation of the object
print(TriggerCustomEffectBlock1Target.to_json())
# convert the object into a dict
trigger_custom_effect_block1_target_dict = trigger_custom_effect_block1_target_instance.to_dict()
# create an instance of TriggerCustomEffectBlock1Target from a dict
trigger_custom_effect_block1_target_from_dict = TriggerCustomEffectBlock1Target.from_dict(trigger_custom_effect_block1_target_dict)