/** * Klaviyo API * The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. * * Contact: developers@klaviyo.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; export class CouponCodeCreateQueryResourceObjectAttributes { /** * This is a unique string that will be or is assigned to each customer/profile and is associated with a coupon. */ 'uniqueCode': string; /** * The datetime when this coupon code will expire. If not specified or set to null, it will be automatically set to 1 year. */ 'expiresAt'?: Date | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "uniqueCode", "baseName": "unique_code", "type": "string" }, { "name": "expiresAt", "baseName": "expires_at", "type": "Date" } ]; static getAttributeTypeMap() { return CouponCodeCreateQueryResourceObjectAttributes.attributeTypeMap; } }