export default VouchersImportCreateItemRequestBody; /** * The VouchersImportCreateItemRequestBody model module. * @module model/VouchersImportCreateItemRequestBody */ declare class VouchersImportCreateItemRequestBody { /** * Initializes the fields of this object. * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins). * Only for internal use. */ static initialize(obj: any): void; /** * Constructs a VouchersImportCreateItemRequestBody from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @param {VouchersImportCreateItemRequestBody} [obj] Optional instance to populate. * @returns {VouchersImportCreateItemRequestBody} The populated VouchersImportCreateItemRequestBody instance. */ static constructFromObject(data: Partial, obj?: VouchersImportCreateItemRequestBody): VouchersImportCreateItemRequestBody; /** * Validates the JSON data with respect to VouchersImportCreateItemRequestBody. * @param {Partial} data The plain JavaScript object bearing properties of interest. * @returns {boolean} to indicate whether the JSON data is valid with respect to VouchersImportCreateItemRequestBody. */ static validateJSON(data: Partial): boolean; code: string | undefined; redemption: VouchersImportCreateItemRequestBodyRedemption | undefined; active: boolean | undefined; metadata: any | undefined; category: string | undefined; start_date: Date | undefined; expiration_date: Date | undefined; validity_timeframe: ValidityTimeframe | undefined; validity_day_of_week: (Array) | undefined; additional_info: string | undefined; type: (keyof typeof VouchersImportCreateItemRequestBody.TypeEnum) | undefined; gift: Gift | undefined; discount: Discount | undefined; } declare namespace VouchersImportCreateItemRequestBody { let ValidityDayOfWeekEnum: { /** * value: 0 * @constant */ "0": number; /** * value: 1 * @constant */ "1": number; /** * value: 2 * @constant */ "2": number; /** * value: 3 * @constant */ "3": number; /** * value: 4 * @constant */ "4": number; /** * value: 5 * @constant */ "5": number; /** * value: 6 * @constant */ "6": number; }; namespace TypeEnum { let GIFT_VOUCHER: string; let DISCOUNT_VOUCHER: string; } } import VouchersImportCreateItemRequestBodyRedemption from './VouchersImportCreateItemRequestBodyRedemption'; import ValidityTimeframe from './ValidityTimeframe'; import Gift from './Gift'; import Discount from './Discount';