docs/NewCouponsForMultipleRecipients.md in talon_one-2.5.1 vs docs/NewCouponsForMultipleRecipients.md in talon_one-3.0.0
- old
+ new
@@ -3,29 +3,31 @@
## 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 amount of discounts that can be given with this coupon code. | [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** | Expiry date of the coupon. Coupon never expires if this is omitted, zero, or negative. | [optional]
-**attributes** | [**Object**](.md) | Arbitrary properties associated with this item | [optional]
-**recipients_integration_ids** | **Array<String>** | The integration IDs for recipients |
+**expiry_date** | **DateTime** | Expiration date of the coupon. Coupon never expires if this is omitted, zero, or negative. | [optional]
+**attributes** | [**Object**](.md) | Arbitrary properties associated with this item. | [optional]
+**recipients_integration_ids** | **Array<String>** | The integration IDs for recipients. |
**valid_characters** | **Array<String>** | List of characters used to generate the random parts of a code. By default, the list of characters is equivalent to the `[A-Z, 0-9]` regular expression. | [optional]
**coupon_pattern** | **String** | The pattern used to generate coupon codes. The character `#` is a placeholder and is replaced by a random character from the `validCharacters` set. | [optional]
## Code Sample
```ruby
require 'TalonOne'
instance = TalonOne::NewCouponsForMultipleRecipients.new(usage_limit: 100,
discount_limit: 30.0,
- start_date: null,
- expiry_date: null,
- attributes: null,
- recipients_integration_ids: null,
- valid_characters: null,
- coupon_pattern: null)
+ reservation_limit: 45,
+ start_date: 2020-01-24T14:15:22Z,
+ expiry_date: 2023-08-24T14:15:22Z,
+ attributes: {"venueId":12},
+ recipients_integration_ids: [URNGV8294NV, BZGGC2454PA],
+ valid_characters: [A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z],
+ coupon_pattern: SUMMER-#####)
```