/* Options: Date: 2026-11-08 11:52:16 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CoreChargeVerifyRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class CreditCardVerificationDetails implements IConvertible { bool? IsError; bool? IsDuplicate; String? GatewayResponseCode; String? GatewayMessage; bool? NetworkVerificationAttempted; String? CvvVerificationResult; String? AddressVerificationResult; String? PostalCodeVerificationResult; String? NetworkTransactionId; CreditCardVerificationDetails({this.IsError,this.IsDuplicate,this.GatewayResponseCode,this.GatewayMessage,this.NetworkVerificationAttempted,this.CvvVerificationResult,this.AddressVerificationResult,this.PostalCodeVerificationResult,this.NetworkTransactionId}); CreditCardVerificationDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsError = json['IsError']; IsDuplicate = json['IsDuplicate']; GatewayResponseCode = json['GatewayResponseCode']; GatewayMessage = json['GatewayMessage']; NetworkVerificationAttempted = json['NetworkVerificationAttempted']; CvvVerificationResult = json['CvvVerificationResult']; AddressVerificationResult = json['AddressVerificationResult']; PostalCodeVerificationResult = json['PostalCodeVerificationResult']; NetworkTransactionId = json['NetworkTransactionId']; return this; } Map toJson() => { 'IsError': IsError, 'IsDuplicate': IsDuplicate, 'GatewayResponseCode': GatewayResponseCode, 'GatewayMessage': GatewayMessage, 'NetworkVerificationAttempted': NetworkVerificationAttempted, 'CvvVerificationResult': CvvVerificationResult, 'AddressVerificationResult': AddressVerificationResult, 'PostalCodeVerificationResult': PostalCodeVerificationResult, 'NetworkTransactionId': NetworkTransactionId }; getTypeName() => "CreditCardVerificationDetails"; TypeContext? context = _ctx; } class AchVerificationDetails implements IConvertible { bool? IsError; bool? NetworkVerificationAttempted; String? Result; String? Code; String? Message; AchVerificationDetails({this.IsError,this.NetworkVerificationAttempted,this.Result,this.Code,this.Message}); AchVerificationDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsError = json['IsError']; NetworkVerificationAttempted = json['NetworkVerificationAttempted']; Result = json['Result']; Code = json['Code']; Message = json['Message']; return this; } Map toJson() => { 'IsError': IsError, 'NetworkVerificationAttempted': NetworkVerificationAttempted, 'Result': Result, 'Code': Code, 'Message': Message }; getTypeName() => "AchVerificationDetails"; TypeContext? context = _ctx; } class CoreChargeVerifyRs implements IConvertible { String? Token; CreditCardVerificationDetails? CardVerificationDetails; AchVerificationDetails? AchVerificationDetails; CoreChargeVerifyRs({this.Token,this.CardVerificationDetails,this.AchVerificationDetails}); CoreChargeVerifyRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Token = json['Token']; CardVerificationDetails = JsonConverters.fromJson(json['CardVerificationDetails'],'CreditCardVerificationDetails',context!); AchVerificationDetails = JsonConverters.fromJson(json['AchVerificationDetails'],'AchVerificationDetails',context!); return this; } Map toJson() => { 'Token': Token, 'CardVerificationDetails': JsonConverters.toJson(CardVerificationDetails,'CreditCardVerificationDetails',context!), 'AchVerificationDetails': JsonConverters.toJson(AchVerificationDetails,'AchVerificationDetails',context!) }; getTypeName() => "CoreChargeVerifyRs"; TypeContext? context = _ctx; } // @Route("/integrations/api/{integrationType}/core/verifycharge", "POST") class CoreChargeVerifyRq implements IReturn, IConvertible { double? reCaptchaScore; String? integrationType; int? NationalId; int? ChapterId; int? ContextIntegrationPartnerId; int? AuthenticationId; String? Token; CoreChargeVerifyRq({this.reCaptchaScore,this.integrationType,this.NationalId,this.ChapterId,this.ContextIntegrationPartnerId,this.AuthenticationId,this.Token}); CoreChargeVerifyRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { reCaptchaScore = JsonConverters.toDouble(json['reCaptchaScore']); integrationType = json['integrationType']; NationalId = json['NationalId']; ChapterId = json['ChapterId']; ContextIntegrationPartnerId = json['ContextIntegrationPartnerId']; AuthenticationId = json['AuthenticationId']; Token = json['Token']; return this; } Map toJson() => { 'reCaptchaScore': reCaptchaScore, 'integrationType': integrationType, 'NationalId': NationalId, 'ChapterId': ChapterId, 'ContextIntegrationPartnerId': ContextIntegrationPartnerId, 'AuthenticationId': AuthenticationId, 'Token': Token }; createResponse() => CoreChargeVerifyRs(); getResponseTypeName() => "CoreChargeVerifyRs"; getTypeName() => "CoreChargeVerifyRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'CreditCardVerificationDetails': TypeInfo(TypeOf.Class, create:() => CreditCardVerificationDetails()), 'AchVerificationDetails': TypeInfo(TypeOf.Class, create:() => AchVerificationDetails()), 'CoreChargeVerifyRs': TypeInfo(TypeOf.Class, create:() => CoreChargeVerifyRs()), 'CoreChargeVerifyRq': TypeInfo(TypeOf.Class, create:() => CoreChargeVerifyRq()), });