/* Options: Date: 2025-04-10 09:02:36 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: FinancePayStudentAccountByCardRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; 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/Pay/{regent_id}", "POST") // @Route("/Finance/Pay", "POST") class FinancePayStudentAccountByCardRequest implements IReturn, IConvertible, IPost { int? regent_id; double? amount; bool? is_visa; bool? is_mastercard; bool? is_interac; bool? is_paymytuition; String? payment_id; FinancePayStudentAccountByCardRequest({this.regent_id,this.amount,this.is_visa,this.is_mastercard,this.is_interac,this.is_paymytuition,this.payment_id}); FinancePayStudentAccountByCardRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { regent_id = json['regent_id']; amount = JsonConverters.toDouble(json['amount']); is_visa = json['is_visa']; is_mastercard = json['is_mastercard']; is_interac = json['is_interac']; is_paymytuition = json['is_paymytuition']; payment_id = json['payment_id']; return this; } Map toJson() => { 'regent_id': regent_id, 'amount': amount, 'is_visa': is_visa, 'is_mastercard': is_mastercard, 'is_interac': is_interac, 'is_paymytuition': is_paymytuition, 'payment_id': payment_id }; createResponse() => FinancePayStudentAccountByCardResponse(); getResponseTypeName() => "FinancePayStudentAccountByCardResponse"; getTypeName() => "FinancePayStudentAccountByCardRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'FinancePayStudentAccountByCardResponse': TypeInfo(TypeOf.Class, create:() => FinancePayStudentAccountByCardResponse()), 'FinancePayStudentAccountByCardRequest': TypeInfo(TypeOf.Class, create:() => FinancePayStudentAccountByCardRequest()), });