Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.75 KB

File metadata and controls

22 lines (18 loc) · 1.75 KB

Voucherify.Model.CampaignVoucher

Schema model for a campaign voucher.

Properties

Name Type Description Notes
Type string Type of voucher. [optional]
Discount Discount [optional]
Gift Gift [optional]
LoyaltyCard CampaignLoyaltyCard [optional]
Redemption CampaignVoucherRedemption [optional]
CodeConfig CodeConfig
IsReferralCode bool? Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`. [optional]
StartDate DateTimeOffset? Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is inactive before this date. [optional]
ExpirationDate DateTimeOffset? Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is inactive after this date. [optional]
ValidityTimeframe ValidityTimeframe [optional]
ValidityDayOfWeek List<CampaignVoucher.ValidityDayOfWeekEnum> 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 ValidityHours [optional]

[Back to Model list] [Back to API list] [Back to README]