Sha256: d3f2073146426a835c47b46df9b3cb6c577b41daf60056a43e0ce8f0d504e452
Contents?: true
Size: 1.84 KB
Versions: 2
Compression:
Stored size: 1.84 KB
Contents
# TalonOne::UpdateCouponBatch ## 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. | [optional] **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] **attributes** | [**Object**](.md) | Optional property to set the value of custom coupon attributes. They are defined in the Campaign Manager, see [Managing attributes](https://docs.talon.one/docs/product/account/dev-tools/managing-attributes). Coupon attributes can also be set to _mandatory_ in your Application [settings](https://docs.talon.one/docs/product/applications/using-attributes#making-attributes-mandatory). If your Application uses mandatory attributes, you must use this property to set their value. | [optional] **batch_id** | **String** | The ID of the batch the coupon(s) belong to. | [optional] ## Code Sample ```ruby require 'TalonOne' instance = TalonOne::UpdateCouponBatch.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, attributes: null, batch_id: null) ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
talon_one-7.0.0 | docs/UpdateCouponBatch.md |
talon_one-6.0.0 | docs/UpdateCouponBatch.md |