Name | Type | Description | Notes |
---|---|---|---|
type | string | Type of voucher. | [optional] |
discount | \OpenAPI\Client\Model\Discount | [optional] | |
gift | \OpenAPI\Client\Model\Gift | [optional] | |
loyaltyCard | \OpenAPI\Client\Model\CampaignLoyaltyCard | [optional] | |
redemption | \OpenAPI\Client\Model\CampaignVoucherRedemption | [optional] | |
codeConfig | \OpenAPI\Client\Model\CodeConfig | ||
isReferralCode | bool | Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`. | [optional] |
startDate | \DateTime | Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is inactive before this date. | [optional] |
expirationDate | \DateTime | Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is inactive after this date. | [optional] |
validityTimeframe | \OpenAPI\Client\Model\ValidityTimeframe | [optional] | |
validityDayOfWeek | 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] |
validityHours | \OpenAPI\Client\Model\ValidityHours | [optional] |