/* Options: Date: 2025-05-06 16:27:36 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: BorgunServices3DFinishProcessRequestShortVersion.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Borgun3DFinalRequestShortVersion implements IConvertible { int? amount; String? mpiToken; String? orderId; String? token; Borgun3DFinalRequestShortVersion({this.amount,this.mpiToken,this.orderId,this.token}); Borgun3DFinalRequestShortVersion.fromJson(Map json) { fromMap(json); } fromMap(Map json) { amount = json['amount']; mpiToken = json['mpiToken']; orderId = json['orderId']; token = json['token']; return this; } Map toJson() => { 'amount': amount, 'mpiToken': mpiToken, 'orderId': orderId, 'token': token }; getTypeName() => "Borgun3DFinalRequestShortVersion"; TypeContext? context = _ctx; } class BorgunPaymentMethodInfo implements IConvertible { String? paymentType; String? pan; String? token; String? cardType; String? isDebit; BorgunPaymentMethodInfo({this.paymentType,this.pan,this.token,this.cardType,this.isDebit}); BorgunPaymentMethodInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { paymentType = json['paymentType']; pan = json['pan']; token = json['token']; cardType = json['cardType']; isDebit = json['isDebit']; return this; } Map toJson() => { 'paymentType': paymentType, 'pan': pan, 'token': token, 'cardType': cardType, 'isDebit': isDebit }; getTypeName() => "BorgunPaymentMethodInfo"; TypeContext? context = _ctx; } class Borgun3DSecureInfo implements IConvertible { String? securityLevelInd; String? xid; Borgun3DSecureInfo({this.securityLevelInd,this.xid}); Borgun3DSecureInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { securityLevelInd = json['securityLevelInd']; xid = json['xid']; return this; } Map toJson() => { 'securityLevelInd': securityLevelInd, 'xid': xid }; getTypeName() => "Borgun3DSecureInfo"; TypeContext? context = _ctx; } class BorgunFinal3DResponse implements IConvertible { String? transactionId; String? transactionType; int? amount; String? currency; DateTime? transactionDate; String? oorderId; String? authCode; String? actionCode; String? transactionStatus; BorgunPaymentMethodInfo? paymentMethod; Borgun3DSecureInfo? threeDSecure; String? lifeCycleId; BorgunFinal3DResponse({this.transactionId,this.transactionType,this.amount,this.currency,this.transactionDate,this.oorderId,this.authCode,this.actionCode,this.transactionStatus,this.paymentMethod,this.threeDSecure,this.lifeCycleId}); BorgunFinal3DResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { transactionId = json['transactionId']; transactionType = json['transactionType']; amount = json['amount']; currency = json['currency']; transactionDate = JsonConverters.fromJson(json['transactionDate'],'DateTime',context!); oorderId = json['oorderId']; authCode = json['authCode']; actionCode = json['actionCode']; transactionStatus = json['transactionStatus']; paymentMethod = JsonConverters.fromJson(json['paymentMethod'],'BorgunPaymentMethodInfo',context!); threeDSecure = JsonConverters.fromJson(json['threeDSecure'],'Borgun3DSecureInfo',context!); lifeCycleId = json['lifeCycleId']; return this; } Map toJson() => { 'transactionId': transactionId, 'transactionType': transactionType, 'amount': amount, 'currency': currency, 'transactionDate': JsonConverters.toJson(transactionDate,'DateTime',context!), 'oorderId': oorderId, 'authCode': authCode, 'actionCode': actionCode, 'transactionStatus': transactionStatus, 'paymentMethod': JsonConverters.toJson(paymentMethod,'BorgunPaymentMethodInfo',context!), 'threeDSecure': JsonConverters.toJson(threeDSecure,'Borgun3DSecureInfo',context!), 'lifeCycleId': lifeCycleId }; getTypeName() => "BorgunFinal3DResponse"; TypeContext? context = _ctx; } class BorgunServices3DFinishProcessResponse implements IConvertible { BorgunFinal3DResponse? response; bool? success; int? httpStatusCode; String? message; BorgunServices3DFinishProcessResponse({this.response,this.success,this.httpStatusCode,this.message}); BorgunServices3DFinishProcessResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { response = JsonConverters.fromJson(json['response'],'BorgunFinal3DResponse',context!); success = json['success']; httpStatusCode = json['httpStatusCode']; message = json['message']; return this; } Map toJson() => { 'response': JsonConverters.toJson(response,'BorgunFinal3DResponse',context!), 'success': success, 'httpStatusCode': httpStatusCode, 'message': message }; getTypeName() => "BorgunServices3DFinishProcessResponse"; TypeContext? context = _ctx; } // @Route("/borgunServices/Finish3DProcessShortVersion", "POST") class BorgunServices3DFinishProcessRequestShortVersion implements IReturn, IConvertible { Borgun3DFinalRequestShortVersion? request; BorgunServices3DFinishProcessRequestShortVersion({this.request}); BorgunServices3DFinishProcessRequestShortVersion.fromJson(Map json) { fromMap(json); } fromMap(Map json) { request = JsonConverters.fromJson(json['request'],'Borgun3DFinalRequestShortVersion',context!); return this; } Map toJson() => { 'request': JsonConverters.toJson(request,'Borgun3DFinalRequestShortVersion',context!) }; createResponse() => BorgunServices3DFinishProcessResponse(); getResponseTypeName() => "BorgunServices3DFinishProcessResponse"; getTypeName() => "BorgunServices3DFinishProcessRequestShortVersion"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'stubbur_autoupdates_live.smartnewapis.com', types: { 'Borgun3DFinalRequestShortVersion': TypeInfo(TypeOf.Class, create:() => Borgun3DFinalRequestShortVersion()), 'BorgunPaymentMethodInfo': TypeInfo(TypeOf.Class, create:() => BorgunPaymentMethodInfo()), 'Borgun3DSecureInfo': TypeInfo(TypeOf.Class, create:() => Borgun3DSecureInfo()), 'BorgunFinal3DResponse': TypeInfo(TypeOf.Class, create:() => BorgunFinal3DResponse()), 'BorgunServices3DFinishProcessResponse': TypeInfo(TypeOf.Class, create:() => BorgunServices3DFinishProcessResponse()), 'BorgunServices3DFinishProcessRequestShortVersion': TypeInfo(TypeOf.Class, create:() => BorgunServices3DFinishProcessRequestShortVersion()), });