Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.01 KB

CouponsNotificationPolicy.md

File metadata and controls

25 lines (18 loc) · 1.01 KB

TalonOne::CouponsNotificationPolicy

Properties

Name Type Description Notes
name String Notification name.
scopes Array<String>
batching_enabled Boolean Indicates whether batching is activated. [optional] [default to true]
include_data Boolean Indicates whether to include all generated coupons. If `false`, only the `batchId` of the generated coupons is included. [optional]
batch_size Integer The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::CouponsNotificationPolicy.new(name: Christmas Sale,
                                 scopes: null,
                                 batching_enabled: true,
                                 include_data: true,
                                 batch_size: 1000)