/* Options: Date: 2024-12-29 03:06:07 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: FinancePaymentsRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @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 FinancePaymentResponse { public paymentUUID: string; public order_id: string; public external_payment_id: number; public added_date: string; public regent_id: number; public uuid: string; public amount: number; public payment_type: string; public is_pushed_to_gl: boolean; public current_status: string; public current_status_date?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class FinancePaymentsResponse { public responseStatus: ResponseStatus; public payments: FinancePaymentResponse[]; public from_date: string; public to_date: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/Finance/Payments", "POST") export class FinancePaymentsRequest implements IReturn { public from_date?: string; public to_date?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'FinancePaymentsRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new FinancePaymentsResponse(); } }