Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.53 KB

CampaignVoucher.md

File metadata and controls

19 lines (16 loc) · 1.53 KB

VoucherifySdk::CampaignVoucher

Properties

Name Type Description Notes
type String Type of voucher. [optional]
discount Discount [optional]
gift Gift [optional]
loyalty_card CampaignLoyaltyCard [optional]
redemption CampaignVoucherRedemption [optional]
code_config CodeConfig
is_referral_code Boolean Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`. [optional]
start_date Time Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is inactive before this date. [optional]
expiration_date Time Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is inactive after this date. [optional]
validity_timeframe ValidityTimeframe [optional]
validity_day_of_week Array<Integer> 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]