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

Latest commit

 

History

History
22 lines (19 loc) · 2.53 KB

CampaignsImportVoucherItem.md

File metadata and controls

22 lines (19 loc) · 2.53 KB

# CampaignsImportVoucherItem

Properties

Name Type Description Notes
code string Value representing the imported code. [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 [optional]
category string Tag defining the category that this voucher belongs to. Useful when listing vouchers using the List Vouchers endpoint. [optional]
start_date \DateTime Activation timestamp presented in the ISO 8601 format. Voucher is inactive before this date. Start date defines when the code starts to be active. Allowed date formats are: - YYYY-MM-DD - YYYY-MM-DDTHH - YYYY-MM-DDTHH:mm - YYYY-MM-DDTHH:mm:ss - YYYY-MM-DDTHH:mm:ssZ - YYYY-MM-DDTHH:mm:ss.SSSZ [optional]
expiration_date \DateTime Expiration date defines when the code expires. Expiration timestamp is presented in the ISO 8601 format. Voucher is inactive after this date. Allowed date formats are: - YYYY-MM-DD - YYYY-MM-DDTHH - YYYY-MM-DDTHH:mm - YYYY-MM-DDTHH:mm:ss - YYYY-MM-DDTHH:mm:ssZ - YYYY-MM-DDTHH:mm:ss.SSSZ [optional]
validity_timeframe \OpenAPI\Client\Model\ValidityTimeframe [optional]
validity_day_of_week int[] 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]
additional_info string An optional field to keep any extra textual information about the code such as a code description and details. [optional]
type string [optional]
loyalty_card \OpenAPI\Client\Model\SimpleLoyaltyCard [optional]
gift \OpenAPI\Client\Model\Gift [optional]
discount \OpenAPI\Client\Model\Discount [optional]

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