/* Options: Date: 2025-09-22 22:11:04 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: GetPurchaseOrder.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class PurchaseOrderItem { public id: number; // @References("typeof(Hmx.Accounts.Models.PurchaseOrder)") public purchaseOrderId: number; // @References("typeof(Hmx.Accounts.Models.Product)") 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 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); } } // @Route("/purchaseorders/{id}", "GET") export class GetPurchaseOrder implements IReturn { public id: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetPurchaseOrder'; } public getMethod() { return 'GET'; } public createResponse() { return new PurchaseOrderDto(); } }