/* Options: Date: 2024-12-29 02:34:49 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: AddRegistrationsSubmitRequest.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class AddRegistrationWithBenefitRequest { public student_section_uuid: string; public description: string; public amount: number; public charge: number; public is_audit: boolean; public benefit_id?: number; public benefit_amount?: number; public second_benefit_id?: number; public second_benefit_amount?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class AddRegistrationsAdditionalChargeSubmitRequest { public rate_id: number; public description: string; public charge: number; public credit: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseError { // @DataMember(Order=1) public errorCode: string; // @DataMember(Order=2) public fieldName: string; // @DataMember(Order=3) public message: string; // @DataMember(Order=4) public meta: { [index: string]: 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); } } // @Route("/Registration/{uuid}/Add/{reporting_term}/Submit", "POST") export class AddRegistrationsSubmitRequest implements IReturn { public transaction_uuid: string; public uuid: string; public reporting_term: string; public description: string; public email_student: boolean; public registrations: AddRegistrationWithBenefitRequest[]; public additional_term_charges: AddRegistrationsAdditionalChargeSubmitRequest[]; public authorizing_uuid: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddRegistrationsSubmitRequest'; } public getMethod() { return 'POST'; } public createResponse() { return new ResponseStatus(); } }