Sha256: e9e8ecf7f74d9058e75bad82cade56fa5139cf00043ca5b420039d8823998f0d

Contents?: true

Size: 1.53 KB

Versions: 5

Compression:

Stored size: 1.53 KB

Contents

# VoucherifySdk::CampaignVoucher

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **type** | **String** | Type of voucher. | [optional] |
| **discount** | [**Discount**](Discount.md) |  | [optional] |
| **gift** | [**Gift**](Gift.md) |  | [optional] |
| **loyalty_card** | [**CampaignLoyaltyCard**](CampaignLoyaltyCard.md) |  | [optional] |
| **redemption** | [**CampaignVoucherRedemption**](CampaignVoucherRedemption.md) |  | [optional] |
| **code_config** | [**CodeConfig**](CodeConfig.md) |  |  |
| **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**](ValidityTimeframe.md) |  | [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**](ValidityHours.md) |  | [optional] |

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
voucherify-8.0.2 docs/CampaignVoucher.md
voucherify-8.0.1 docs/CampaignVoucher.md
voucherify-8.0.0 docs/CampaignVoucher.md
voucherify-7.0.0 docs/CampaignVoucher.md
voucherify-6.0.0 docs/CampaignVoucher.md