| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long | The internal ID of this entity. | |
| created | OffsetDateTime | The time this entity was created. | |
| campaignId | Long | The ID of the campaign that owns this entity. | |
| applicationId | Long | The ID of the Application that owns this entity. | |
| accountId | Long | The ID of the account that owns this entity. | |
| usageLimit | Long | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply. | |
| discountLimit | BigDecimal | The total discount value that the code can give. Typically used to represent a gift card value. | [optional] |
| reservationLimit | Long | The number of reservations that can be made with this coupon code. | [optional] |
| startDate | OffsetDateTime | Timestamp at which point the coupon becomes valid. | [optional] |
| expiryDate | OffsetDateTime | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] |
| numberOfCoupons | Long | The number of new coupon codes to generate for the campaign. | |
| couponSettings | CodeGeneratorSettings | [optional] | |
| attributes | Object | Arbitrary properties associated with coupons. | |
| isReservationMandatory | Boolean | An indication of whether the code can be redeemed only if it has been reserved first. | [optional] |
| 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 | Long | The number of coupon codes that were already created for this request. | |
| failCount | Long | The number of times this job failed. | |
| errors | List<String> | An array of individual problems encountered during the request. | |
| createdBy | Long | ID of the user who created this effect. | |
| communicated | Boolean | Whether or not the user that created this job was notified of its final state. | |
| chunkExecutionCount | Long | The number of times an attempt to create a chunk of coupons was made during the processing of the job. | |
| chunkSize | Long | 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] |