Sha256: 21d01a709893c6c0c387b41c465c0ac6ce51bb37a936471af0fbe07ba4a1449d

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

# VoucherifySdk::CampaignVoucher

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **type** | **String** | Type of voucher. | [default to 'DISCOUNT_VOUCHER'] |
| **discount** | [**Discount**](Discount.md) |  | [optional] |
| **gift** | [**Gift**](Gift.md) |  | [optional] |
| **loyalty_card** | [**CampaignLoyaltyCard**](CampaignLoyaltyCard.md) |  | [optional] |
| **redemption** | [**CampaignVoucherRedemption**](CampaignVoucherRedemption.md) |  |  |
| **code_config** | [**CodeConfigRequiredLengthCharsetPattern**](CodeConfigRequiredLengthCharsetPattern.md) |  |  |
| **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**](CampaignBaseValidityTimeframe.md) |  | [optional] |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voucherify-5.0.0 docs/CampaignVoucher.md