| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | [optional] | |
| code | str | [optional] | |
| gift | MemberActivityDataRedemptionVoucherGift | [optional] | |
| discount | Discount | [optional] | |
| loyalty_card | MemberActivityDataRedemptionVoucherLoyaltyCard | [optional] | |
| type | str | [optional] | |
| campaign | str | [optional] | |
| campaign_id | str | [optional] | |
| is_referral_code | bool | Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`. | [optional] |
| holder_id | str | Unique customer identifier of the redeemable holder. It equals to the customer ID assigned by Voucherify. | [optional] |
| referrer_id | str | [optional] | |
| category_id | str | [optional] | |
| categories | List[Category] | Contains details about the category. | [optional] |
| active | bool | Shows whether the voucher is on or off. `true` indicates an active voucher and `false` indicates an inactive voucher. and A flag to toggle the voucher on or off. You can disable a voucher even though it's within the active period defined by the `start_date` and `expiration_date`. - `true` indicates an active voucher - `false` indicates an inactive voucher | [optional] |
| created_at | str | [optional] | |
| updated_at | str | [optional] | |
| redemption | MemberActivityDataRedemptionVoucherRedemption | [optional] | |
| start_date | str | [optional] | |
| expiration_date | datetime | Expiration timestamp defines when the code expires in ISO 8601 format. Voucher is inactive after this date. | [optional] |
| metadata | object | A set of custom key/value pairs that you can attach to a voucher. The metadata object stores all custom attributes assigned to the voucher. and The metadata object stores all custom attributes assigned to the code. A set of key/value pairs that you can attach to a voucher object. It can be useful for storing additional information about the voucher in a structured format. | [optional] |
| object | str | [optional] | |
| category | str | Tag defining the category that this voucher belongs to. Useful when listing vouchers using the List Vouchers endpoint. | [optional] |
| validity_timeframe | ValidityTimeframe | [optional] | |
| validity_day_of_week | List[int] | Integer array corresponding to the particular days of the week in which the voucher is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday | [optional] |
| validity_hours | ValidityHours | [optional] | |
| additional_info | str | An optional field to keep any extra textual information about the code such as a code description and details. | [optional] |
| assets | VoucherAssets | [optional] | |
| publish | MemberActivityDataRedemptionVoucherPublish | [optional] | |
| validation_rules_assignments | ValidationRulesAssignmentsList | [optional] | |
| holder | SimpleCustomer | [optional] |