/* Options: Date: 2025-05-06 16:57:11 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-autoupdates-live.smartnewapis.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BorgunTest3DEnrollmentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum BorgunPaymentTypes { Unknown, Card, TokenSingle, TokenMulti, } class BorgunPaymentRequestMethod implements IConvertible { BorgunPaymentTypes? paymentType; String? pan; String? expYear; String? expMonth; String? cvC2; String? token; BorgunPaymentRequestMethod({this.paymentType,this.pan,this.expYear,this.expMonth,this.cvC2,this.token}); BorgunPaymentRequestMethod.fromJson(Map json) { fromMap(json); } fromMap(Map json) { paymentType = JsonConverters.fromJson(json['paymentType'],'BorgunPaymentTypes',context!); pan = json['pan']; expYear = json['expYear']; expMonth = json['expMonth']; cvC2 = json['cvC2']; token = json['token']; return this; } Map toJson() => { 'paymentType': JsonConverters.toJson(paymentType,'BorgunPaymentTypes',context!), 'pan': pan, 'expYear': expYear, 'expMonth': expMonth, 'cvC2': cvC2, 'token': token }; getTypeName() => "BorgunPaymentRequestMethod"; TypeContext? context = _ctx; } class Borgun3DEnrollmentRequest implements IConvertible { BorgunPaymentRequestMethod? cardDetails; int? purchAmount; int? exponent; String? currency; String? termURL; DateTime? transactionDate; String? md; String? description; Borgun3DEnrollmentRequest({this.cardDetails,this.purchAmount,this.exponent,this.currency,this.termURL,this.transactionDate,this.md,this.description}); Borgun3DEnrollmentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { cardDetails = JsonConverters.fromJson(json['cardDetails'],'BorgunPaymentRequestMethod',context!); purchAmount = json['purchAmount']; exponent = json['exponent']; currency = json['currency']; termURL = json['termURL']; transactionDate = JsonConverters.fromJson(json['transactionDate'],'DateTime',context!); md = json['md']; description = json['description']; return this; } Map toJson() => { 'cardDetails': JsonConverters.toJson(cardDetails,'BorgunPaymentRequestMethod',context!), 'purchAmount': purchAmount, 'exponent': exponent, 'currency': currency, 'termURL': termURL, 'transactionDate': JsonConverters.toJson(transactionDate,'DateTime',context!), 'md': md, 'description': description }; getTypeName() => "Borgun3DEnrollmentRequest"; TypeContext? context = _ctx; } class BorgunMPIEnrollmentACSField implements IConvertible { String? name; String? values; BorgunMPIEnrollmentACSField({this.name,this.values}); BorgunMPIEnrollmentACSField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; values = json['values']; return this; } Map toJson() => { 'name': name, 'values': values }; getTypeName() => "BorgunMPIEnrollmentACSField"; TypeContext? context = _ctx; } class Borgun3DEnrollmentResponse implements IConvertible { int? resultStatus; String? messageId; String? enrollmentStatus; String? mdErrorMessage; String? mdStatus; String? redirectToACSForm; String? md; String? mpiToken; List? redirectToACSDAta; Borgun3DEnrollmentResponse({this.resultStatus,this.messageId,this.enrollmentStatus,this.mdErrorMessage,this.mdStatus,this.redirectToACSForm,this.md,this.mpiToken,this.redirectToACSDAta}); Borgun3DEnrollmentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { resultStatus = json['resultStatus']; messageId = json['messageId']; enrollmentStatus = json['enrollmentStatus']; mdErrorMessage = json['mdErrorMessage']; mdStatus = json['mdStatus']; redirectToACSForm = json['redirectToACSForm']; md = json['md']; mpiToken = json['mpiToken']; redirectToACSDAta = JsonConverters.fromJson(json['redirectToACSDAta'],'List',context!); return this; } Map toJson() => { 'resultStatus': resultStatus, 'messageId': messageId, 'enrollmentStatus': enrollmentStatus, 'mdErrorMessage': mdErrorMessage, 'mdStatus': mdStatus, 'redirectToACSForm': redirectToACSForm, 'md': md, 'mpiToken': mpiToken, 'redirectToACSDAta': JsonConverters.toJson(redirectToACSDAta,'List',context!) }; getTypeName() => "Borgun3DEnrollmentResponse"; TypeContext? context = _ctx; } class BorgunTest3DEnrollmentResponse implements IConvertible { int? statusCode; String? message; Borgun3DEnrollmentResponse? response; String? forcedPath; String? forcedJSONRequest; String? jsonRequest; String? jsonResponse; String? requestPath; String? requestSent; String? requestReceived; BorgunTest3DEnrollmentResponse({this.statusCode,this.message,this.response,this.forcedPath,this.forcedJSONRequest,this.jsonRequest,this.jsonResponse,this.requestPath,this.requestSent,this.requestReceived}); BorgunTest3DEnrollmentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { statusCode = json['statusCode']; message = json['message']; response = JsonConverters.fromJson(json['response'],'Borgun3DEnrollmentResponse',context!); forcedPath = json['forcedPath']; forcedJSONRequest = json['forcedJSONRequest']; jsonRequest = json['jsonRequest']; jsonResponse = json['jsonResponse']; requestPath = json['requestPath']; requestSent = json['requestSent']; requestReceived = json['requestReceived']; return this; } Map toJson() => { 'statusCode': statusCode, 'message': message, 'response': JsonConverters.toJson(response,'Borgun3DEnrollmentResponse',context!), 'forcedPath': forcedPath, 'forcedJSONRequest': forcedJSONRequest, 'jsonRequest': jsonRequest, 'jsonResponse': jsonResponse, 'requestPath': requestPath, 'requestSent': requestSent, 'requestReceived': requestReceived }; getTypeName() => "BorgunTest3DEnrollmentResponse"; TypeContext? context = _ctx; } // @Route("/borgunTest3D/Enrollment", "POST") class BorgunTest3DEnrollmentRequest implements IReturn, IConvertible { Borgun3DEnrollmentRequest? request; String? forcedPath; String? forcedJSONRequest; bool? skipBorgunCall; BorgunTest3DEnrollmentRequest({this.request,this.forcedPath,this.forcedJSONRequest,this.skipBorgunCall}); BorgunTest3DEnrollmentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { request = JsonConverters.fromJson(json['request'],'Borgun3DEnrollmentRequest',context!); forcedPath = json['forcedPath']; forcedJSONRequest = json['forcedJSONRequest']; skipBorgunCall = json['skipBorgunCall']; return this; } Map toJson() => { 'request': JsonConverters.toJson(request,'Borgun3DEnrollmentRequest',context!), 'forcedPath': forcedPath, 'forcedJSONRequest': forcedJSONRequest, 'skipBorgunCall': skipBorgunCall }; createResponse() => BorgunTest3DEnrollmentResponse(); getResponseTypeName() => "BorgunTest3DEnrollmentResponse"; getTypeName() => "BorgunTest3DEnrollmentRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'BorgunPaymentTypes': TypeInfo(TypeOf.Enum, enumValues:BorgunPaymentTypes.values), 'BorgunPaymentRequestMethod': TypeInfo(TypeOf.Class, create:() => BorgunPaymentRequestMethod()), 'Borgun3DEnrollmentRequest': TypeInfo(TypeOf.Class, create:() => Borgun3DEnrollmentRequest()), 'BorgunMPIEnrollmentACSField': TypeInfo(TypeOf.Class, create:() => BorgunMPIEnrollmentACSField()), 'Borgun3DEnrollmentResponse': TypeInfo(TypeOf.Class, create:() => Borgun3DEnrollmentResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BorgunTest3DEnrollmentResponse': TypeInfo(TypeOf.Class, create:() => BorgunTest3DEnrollmentResponse()), 'BorgunTest3DEnrollmentRequest': TypeInfo(TypeOf.Class, create:() => BorgunTest3DEnrollmentRequest()), });