Name | Type | Description | Notes |
---|---|---|---|
id | int | Internal ID of this entity. | |
created | \DateTime | The time this entity was created. | |
campaignId | int | The ID of the campaign that owns this entity. | |
applicationId | int | The ID of the application that owns this entity. | |
accountId | int | The ID of the account that owns this entity. | |
usageLimit | int | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | |
discountLimit | float | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] |
reservationLimit | int | The number of reservations that can be made with this coupon code. | [optional] |
startDate | \DateTime | Timestamp at which point the coupon becomes valid. | [optional] |
expiryDate | \DateTime | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] |
numberOfCoupons | int | The number of new coupon codes to generate for the campaign. | |
couponSettings | \TalonOne\Client\Model\CodeGeneratorSettings | [optional] | |
attributes | object | Arbitrary properties associated with coupons. | |
batchId | string | The batch ID coupons created by this job will bear. | |
status | string | The current status of this request. Possible values: - `pending verification` - `pending` - `completed` - `failed` - `coupon pattern full` | |
createdAmount | int | The number of coupon codes that were already created for this request. | |
failCount | int | The number of times this job failed. | |
errors | string[] | An array of individual problems encountered during the request. | |
createdBy | int | ID of the user who created this effect. | |
communicated | bool | Whether or not the user that created this job was notified of its final state. | |
chunkExecutionCount | int | The number of times an attempt to create a chunk of coupons was made during the processing of the job. | |
chunkSize | int | The number of coupons that will be created in a single transactions. Coupons will be created in chunks until arriving at the requested amount. | [optional] |