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

Latest commit

 

History

History
21 lines (18 loc) · 2.29 KB

CampaignsImportVoucherItem.md

File metadata and controls

21 lines (18 loc) · 2.29 KB

# CampaignsImportVoucherItem

Properties

Name Type Description Notes
code string Unique custom voucher code.
type string Type of voucher. [optional]
redemption \OpenAPI\Client\Model\CampaignsImportVoucherItemRedemption [optional]
active bool A flag to toggle the voucher on or off. You can disable a voucher even though it's within the active period defined by the `start_date` and `expiration_date`. - `true` indicates an active voucher - `false` indicates an inactive voucher [optional]
metadata object The metadata object stores all custom attributes assigned to the voucher. A set of key/value pairs that you can attach to a voucher object. It can be useful for storing additional information about the voucher in a structured format. [optional]
category string The category assigned to the campaign. Either pass this parameter OR the `category_id`. [optional]
start_date \DateTime Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is inactive before this date. [optional]
validity_timeframe \OpenAPI\Client\Model\CampaignBaseValidityTimeframe [optional]
validity_day_of_week int[] Integer array corresponding to the particular days of the week in which the campaign is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday [optional]
additional_info string An optional field to keep any extra textual information about the code such as a code description and details. [optional]
discount \OpenAPI\Client\Model\Discount [optional]
gift \OpenAPI\Client\Model\Gift [optional]
loyalty_card \OpenAPI\Client\Model\CampaignsImportVoucherLoyaltyCard [optional]

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