Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 1.21 KB

CampaignVoucher.md

File metadata and controls

17 lines (14 loc) · 1.21 KB

VoucherifySdk::CampaignVoucher

Properties

Name Type Description Notes
type String Type of voucher. [default to 'DISCOUNT_VOUCHER']
discount Discount [optional]
gift Gift [optional]
loyalty_card CampaignLoyaltyCard [optional]
redemption CampaignVoucherRedemption
code_config CodeConfigRequiredLengthCharsetPattern
is_referral_code Boolean Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`.
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 CampaignBaseValidityTimeframe [optional]