/* Options: Date: 2025-09-22 22:10:54 Version: 6.21 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://accounts.dev.healthmonix.com/api/ //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreatePurchaseOrder.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class PurchaseOrderItemDto { public id: number; public purchaseOrderId: number; public productId: string; public productName: string; public quantity: number; public price: number; public discountDescription: string; public discountSource: string; public discount: number; public createdDate: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BillingInformationDto { public cardNumber: string; public cardType: string; public expireMonth: number; public expireYear: number; public cvv2: string; public firstName: string; public lastName: string; public city: string; public countryCode: string; public line1: string; public postalCode: string; public state: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Details { public code: string; public field: string; public issue: string; public constructor(init?: Partial
) { (Object as any).assign(this, init); } } export class PurchaseOrderDto { public id: number; public userId: string; public createdDate: string; public paymentType: string; public void: boolean; public paid: boolean; public transactionIdentifier: string; public couponCode: string; public orderItems: PurchaseOrderItem[]; public payer: string; public billingAddressLine1: string; public billingAddressCity: string; public billingAddressState: string; public billingAddressPostalCode: string; public billingAddressCountryCode: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class CreatePurchaseOrderResponse { public message: string; public status: HttpStatusCode; public purchaseOrder: PurchaseOrderDto; public details: Details[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/purchaseorders", "POST") export class CreatePurchaseOrder implements IReturn { public userId: string; public userEmail: string; public createdDate: string; public void: boolean; public couponCode: string; public orderItems: PurchaseOrderItemDto[]; public paymentType: string; public billingInformationDto: BillingInformationDto; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'CreatePurchaseOrder'; } public getMethod() { return 'POST'; } public createResponse() { return new CreatePurchaseOrderResponse(); } }