/* Options: Date: 2024-07-06 12:41:11 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://wpcdd-featuretest-ws.worldpay.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DocumentVerificationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DocumentData implements IConvertible { String? DocumentType; String? FileName; String? FileData; DocumentData({this.DocumentType,this.FileName,this.FileData}); DocumentData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentType = json['DocumentType']; FileName = json['FileName']; FileData = json['FileData']; return this; } Map toJson() => { 'DocumentType': DocumentType, 'FileName': FileName, 'FileData': FileData }; getTypeName() => "DocumentData"; TypeContext? context = _ctx; } // @Route("/DocumentVerification/submit", "POST") class DocumentVerificationRequest implements IConvertible { String? ApplicationGUID; List? Documents; DocumentVerificationRequest({this.ApplicationGUID,this.Documents}); DocumentVerificationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ApplicationGUID = json['ApplicationGUID']; Documents = JsonConverters.fromJson(json['Documents'],'List',context!); return this; } Map toJson() => { 'ApplicationGUID': ApplicationGUID, 'Documents': JsonConverters.toJson(Documents,'List',context!) }; getTypeName() => "DocumentVerificationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'wpcdd_featuretest_ws.worldpay.com', types: { 'DocumentData': TypeInfo(TypeOf.Class, create:() => DocumentData()), 'DocumentVerificationRequest': TypeInfo(TypeOf.Class, create:() => DocumentVerificationRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });