VoucherTemplateResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | Long | Unique identifier for the template. | [default to null] |
| enterprise_id | Long | ID of the enterprise that owns this template. | [default to null] |
| template_name | String | Name of the template. | [default to null] |
| template_description | String | Description of the template. | [optional] [default to null] |
| voucher_type | String | Type of voucher. | [default to null] |
| discount_value | Double | Discount value. | [default to null] |
| min_order_value | Double | Minimum order value required. | [optional] [default to null] |
| max_discount_amount | Double | Maximum discount amount. | [optional] [default to null] |
| usage_limit_per_user | Integer | Per-user usage limit. | [optional] [default to null] |
| total_usage_limit | Integer | Total usage limit. | [optional] [default to null] |
| valid_from | String | Valid from date. | [optional] [default to null] |
| valid_until | String | Valid until date. | [optional] [default to null] |
| applicable_categories | List | Applicable categories. | [optional] [default to null] |
| applicable_vendors | List | Applicable vendors. | [optional] [default to null] |
| excluded_categories | List | Excluded categories. | [optional] [default to null] |
| excluded_vendors | List | Excluded vendors. | [optional] [default to null] |
| requires_approval | Boolean | Whether approval is required. | [default to null] |
| auto_approve_limit | Double | Auto-approve limit. | [optional] [default to null] |
| is_active | Boolean | Whether the template is active. | [default to null] |
| created_by | Long | User ID who created the template. | [default to null] |
| created_at | String | Timestamp when created. | [default to null] |
| updated_at | String | Timestamp when last updated. | [default to null] |
| voucher_count | Long | Count of vouchers created from this template. | [optional] [default to null] |