Sha256: cb0ca039c80ad2bdcb7ac3901cc3f2512ab4e61838a46cf92e3f75e91736ef59

Contents?: true

Size: 1.57 KB

Versions: 2

Compression:

Stored size: 1.57 KB

Contents

# TalonOne::NewCouponCreationJob

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**usage_limit** | **Integer** | The number of times the coupon code can be redeemed. `0` means unlimited redemptions but any campaign usage limits will still apply.  | 
**discount_limit** | **Float** | The total discount value that the code can give. Typically used to represent a gift card value.  | [optional] 
**reservation_limit** | **Integer** | The number of reservations that can be made with this coupon code.  | [optional] 
**start_date** | **DateTime** | Timestamp at which point the coupon becomes valid. | [optional] 
**expiry_date** | **DateTime** | Expiration date of the coupon. Coupon never expires if this is omitted. | [optional] 
**number_of_coupons** | **Integer** | The number of new coupon codes to generate for the campaign. | 
**coupon_settings** | [**CodeGeneratorSettings**](CodeGeneratorSettings.md) |  | [optional] 
**attributes** | [**Object**](.md) | Arbitrary properties associated with coupons. | 

## Code Sample

```ruby
require 'TalonOne'

instance = TalonOne::NewCouponCreationJob.new(usage_limit: 100,
                                 discount_limit: 30.0,
                                 reservation_limit: 45,
                                 start_date: 2020-01-24T14:15:22Z,
                                 expiry_date: 2023-08-24T14:15:22Z,
                                 number_of_coupons: 200000,
                                 coupon_settings: null,
                                 attributes: null)
```


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
talon_one-7.0.0 docs/NewCouponCreationJob.md
talon_one-6.0.0 docs/NewCouponCreationJob.md