UNPKG

onshape-clients

Version:

The meta package for creating the various Onshape clients

68 lines (61 loc) 1.58 kB
/** * Onshape REST API * The Onshape REST API consumed by all clients. * * OpenAPI spec version: 1.93 * Contact: api-support@onshape.zendesk.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 { Coupon } from './coupon'; export class Discount { 'id'?: string; 'object'?: string; 'coupon'?: Coupon; 'customer'?: string; 'end'?: number; 'start'?: number; 'subscription'?: string; static discriminator: string | undefined = undefined; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "id", "baseName": "id", "type": "string" }, { "name": "object", "baseName": "object", "type": "string" }, { "name": "coupon", "baseName": "coupon", "type": "Coupon" }, { "name": "customer", "baseName": "customer", "type": "string" }, { "name": "end", "baseName": "end", "type": "number" }, { "name": "start", "baseName": "start", "type": "number" }, { "name": "subscription", "baseName": "subscription", "type": "string" } ]; static getAttributeTypeMap() { return Discount.attributeTypeMap; } }