/* Options: Date: 2024-11-21 06:30:20 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.paysecure.acculynk.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: WebHookRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/PayWithBankWebHook", "POST") class WebHookRequest implements IConvertible, IPost { // @DataMember String? Authorization; // @DataMember String? merchantId; // @DataMember String? merchantReference; // @DataMember String? paymentType; // @DataMember String? transactionType; // @DataMember String? eventId; // @DataMember String? eventType; // @DataMember String? objectId; // @DataMember String? objectType; // @DataMember String? message; // @DataMember String? parentObjectId; // @DataMember String? timeZone; // @DataMember String? createdAt; // @DataMember String? accessId; // @DataMember String? transactionId; // @DataMember String? errorCode; // @DataMember String? splitToken; // @DataMember String? requestSignature; // @DataMember String? formData; // @DataMember String? status; // @DataMember String? paymentProviderTransactionstatus; // @DataMember String? paymentProviderTransactionstatusMessage; // @DataMember String? thirdPartyDeclineCode; WebHookRequest({this.Authorization,this.merchantId,this.merchantReference,this.paymentType,this.transactionType,this.eventId,this.eventType,this.objectId,this.objectType,this.message,this.parentObjectId,this.timeZone,this.createdAt,this.accessId,this.transactionId,this.errorCode,this.splitToken,this.requestSignature,this.formData,this.status,this.paymentProviderTransactionstatus,this.paymentProviderTransactionstatusMessage,this.thirdPartyDeclineCode}); WebHookRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Authorization = json['Authorization']; merchantId = json['merchantId']; merchantReference = json['merchantReference']; paymentType = json['paymentType']; transactionType = json['transactionType']; eventId = json['eventId']; eventType = json['eventType']; objectId = json['objectId']; objectType = json['objectType']; message = json['message']; parentObjectId = json['parentObjectId']; timeZone = json['timeZone']; createdAt = json['createdAt']; accessId = json['accessId']; transactionId = json['transactionId']; errorCode = json['errorCode']; splitToken = json['splitToken']; requestSignature = json['requestSignature']; formData = json['formData']; status = json['status']; paymentProviderTransactionstatus = json['paymentProviderTransactionstatus']; paymentProviderTransactionstatusMessage = json['paymentProviderTransactionstatusMessage']; thirdPartyDeclineCode = json['thirdPartyDeclineCode']; return this; } Map toJson() => { 'Authorization': Authorization, 'merchantId': merchantId, 'merchantReference': merchantReference, 'paymentType': paymentType, 'transactionType': transactionType, 'eventId': eventId, 'eventType': eventType, 'objectId': objectId, 'objectType': objectType, 'message': message, 'parentObjectId': parentObjectId, 'timeZone': timeZone, 'createdAt': createdAt, 'accessId': accessId, 'transactionId': transactionId, 'errorCode': errorCode, 'splitToken': splitToken, 'requestSignature': requestSignature, 'formData': formData, 'status': status, 'paymentProviderTransactionstatus': paymentProviderTransactionstatus, 'paymentProviderTransactionstatusMessage': paymentProviderTransactionstatusMessage, 'thirdPartyDeclineCode': thirdPartyDeclineCode }; getTypeName() => "WebHookRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.paysecure.acculynk.net', types: { 'WebHookRequest': TypeInfo(TypeOf.Class, create:() => WebHookRequest()), });