/* Options: Date: 2024-12-29 03:08:24 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FinanceCreatePayableRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class FinanceCreatePayableDistributionRequest { public account: string; public amount: number; public description: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public message: string; // @DataMember(Order=3) public stackTrace: string; // @DataMember(Order=4) public errors: ResponseError[]; // @DataMember(Order=5) public meta: { [index: string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FinancePayableResponse { public cheque_id: string; public invoice_id: string; public batch_id: string; public transaction_batch_id: string; public total_amount: number; public unapplied_amount: number; public description: string; public vendor_id: string; public vendor_name: string; public doc_type: string; public is_posted: boolean; public is_paid: boolean; public is_voided: boolean; public is_reimbursed: boolean; public doc_date?: string; public post_date?: string; public cheque_date?: string; public due_date?: string; public responseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/Finance/CreatePayable/{vendor_id}", "POST") export class FinanceCreatePayableRequest implements IReturn { public vendor_id: string; public total_amount: number; public tax_amount?: number; public tax_schedule: string; public tax_account: string; public description: string; public batch_id: string; public is_eft: boolean; public invoice_id: string; public chequebook: string; public document_date: string; public post_date: string; public distributions: FinanceCreatePayableDistributionRequest[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'FinanceCreatePayableRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new FinancePayableResponse(); } }