/* Options: Date: 2025-04-10 08:30:26 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FinancePayMyTuitionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FinancePayMyTuitionPayloadRequest implements IConvertible { String? studentGuid; String? academicPeriodGUID; String? paymentType; String? paidOn; String? comments; String? amount; String? currency; String? id; String? studentResidenceType; FinancePayMyTuitionPayloadRequest({this.studentGuid,this.academicPeriodGUID,this.paymentType,this.paidOn,this.comments,this.amount,this.currency,this.id,this.studentResidenceType}); FinancePayMyTuitionPayloadRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { studentGuid = json['studentGuid']; academicPeriodGUID = json['academicPeriodGUID']; paymentType = json['paymentType']; paidOn = json['paidOn']; comments = json['comments']; amount = json['amount']; currency = json['currency']; id = json['id']; studentResidenceType = json['studentResidenceType']; return this; } Map toJson() => { 'studentGuid': studentGuid, 'academicPeriodGUID': academicPeriodGUID, 'paymentType': paymentType, 'paidOn': paidOn, 'comments': comments, 'amount': amount, 'currency': currency, 'id': id, 'studentResidenceType': studentResidenceType }; getTypeName() => "FinancePayMyTuitionPayloadRequest"; TypeContext? context = _ctx; } class FinancePayStudentAccountByCardResponse implements IConvertible { ResponseStatus? responseStatus; bool? success; FinancePayStudentAccountByCardResponse({this.responseStatus,this.success}); FinancePayStudentAccountByCardResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); success = json['success']; return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!), 'success': success }; getTypeName() => "FinancePayStudentAccountByCardResponse"; TypeContext? context = _ctx; } // @Route("/Finance/PayMyTuition", "POST") class FinancePayMyTuitionRequest implements IReturn, IConvertible, IPost { List? payload; String? stamp; String? hash; FinancePayMyTuitionRequest({this.payload,this.stamp,this.hash}); FinancePayMyTuitionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { payload = JsonConverters.fromJson(json['payload'],'List',context!); stamp = json['stamp']; hash = json['hash']; return this; } Map toJson() => { 'payload': JsonConverters.toJson(payload,'List',context!), 'stamp': stamp, 'hash': hash }; createResponse() => FinancePayStudentAccountByCardResponse(); getResponseTypeName() => "FinancePayStudentAccountByCardResponse"; getTypeName() => "FinancePayMyTuitionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'FinancePayMyTuitionPayloadRequest': TypeInfo(TypeOf.Class, create:() => FinancePayMyTuitionPayloadRequest()), 'FinancePayStudentAccountByCardResponse': TypeInfo(TypeOf.Class, create:() => FinancePayStudentAccountByCardResponse()), 'FinancePayMyTuitionRequest': TypeInfo(TypeOf.Class, create:() => FinancePayMyTuitionRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });