Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.92 KB

CouponDeletionJob.md

File metadata and controls

39 lines (32 loc) · 1.92 KB

TalonOne::CouponDeletionJob

Properties

Name Type Description Notes
id Integer Internal ID of this entity.
created DateTime The time this entity was created.
application_id Integer The ID of the application that owns this entity.
account_id Integer The ID of the account that owns this entity.
filters CouponDeletionFilters
status String The current status of this request. Possible values: - `not_ready` - `pending` - `completed` - `failed`
deleted_amount Integer The number of coupon codes that were already deleted for this request. [optional]
fail_count Integer The number of times this job failed.
errors Array<String> An array of individual problems encountered during the request.
created_by Integer ID of the user who created this effect.
communicated Boolean Indicates whether the user that created this job was notified of its final state.
campaign_i_ds Array<Integer> [optional]

Code Sample

require 'TalonOne'

instance = TalonOne::CouponDeletionJob.new(id: 6,
                                 created: 2020-06-10T09:05:27.993483Z,
                                 application_id: 322,
                                 account_id: 3886,
                                 filters: null,
                                 status: pending,
                                 deleted_amount: 1000000,
                                 fail_count: 10,
                                 errors: [Connection to database was reset, failed to delete codes],
                                 created_by: 1,
                                 communicated: false,
                                 campaign_i_ds: null)