/* Options: Date: 2025-05-06 16:59:47 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: BorgunServices3DEnrollmentRequest.* //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 BorgunServices3DEnrollmentResponse implements IConvertible { Borgun3DEnrollmentResponse? response; bool? success; int? httpStatusCode; String? message; BorgunServices3DEnrollmentResponse({this.response,this.success,this.httpStatusCode,this.message}); BorgunServices3DEnrollmentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { response = JsonConverters.fromJson(json['response'],'Borgun3DEnrollmentResponse',context!); success = json['success']; httpStatusCode = json['httpStatusCode']; message = json['message']; return this; } Map toJson() => { 'response': JsonConverters.toJson(response,'Borgun3DEnrollmentResponse',context!), 'success': success, 'httpStatusCode': httpStatusCode, 'message': message }; getTypeName() => "BorgunServices3DEnrollmentResponse"; TypeContext? context = _ctx; } // @Route("/borgunServices/3DEnrollment", "POST") class BorgunServices3DEnrollmentRequest implements IReturn, IConvertible { Borgun3DEnrollmentRequest? request; int? statusCode; String? message; BorgunServices3DEnrollmentRequest({this.request,this.statusCode,this.message}); BorgunServices3DEnrollmentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { request = JsonConverters.fromJson(json['request'],'Borgun3DEnrollmentRequest',context!); statusCode = json['statusCode']; message = json['message']; return this; } Map toJson() => { 'request': JsonConverters.toJson(request,'Borgun3DEnrollmentRequest',context!), 'statusCode': statusCode, 'message': message }; createResponse() => BorgunServices3DEnrollmentResponse(); getResponseTypeName() => "BorgunServices3DEnrollmentResponse"; getTypeName() => "BorgunServices3DEnrollmentRequest"; 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:() => []), 'BorgunServices3DEnrollmentResponse': TypeInfo(TypeOf.Class, create:() => BorgunServices3DEnrollmentResponse()), 'BorgunServices3DEnrollmentRequest': TypeInfo(TypeOf.Class, create:() => BorgunServices3DEnrollmentRequest()), });