/* Options: Date: 2024-10-06 10:32:55 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: FinancePaymentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/Finance/Payment/{uuid}", "POST") class FinancePaymentRequest implements IReturn, IConvertible, IPost { String? uuid; double? amount; FinancePaymentRequest({this.uuid,this.amount}); FinancePaymentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { uuid = json['uuid']; amount = JsonConverters.toDouble(json['amount']); return this; } Map toJson() => { 'uuid': uuid, 'amount': amount }; createResponse() => ""; getResponseTypeName() => "String"; getTypeName() => "FinancePaymentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: { 'FinancePaymentRequest': TypeInfo(TypeOf.Class, create:() => FinancePaymentRequest()), });