/* Options: Date: 2026-11-08 12:02:48 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: AchVerificationRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class CustomerInfo implements IConvertible { String? BusinessName; String? FirstName; String? LastName; CustomerInfo({this.BusinessName,this.FirstName,this.LastName}); CustomerInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BusinessName = json['BusinessName']; FirstName = json['FirstName']; LastName = json['LastName']; return this; } Map toJson() => { 'BusinessName': BusinessName, 'FirstName': FirstName, 'LastName': LastName }; getTypeName() => "CustomerInfo"; TypeContext? context = _ctx; } class AchVerificationRs implements IConvertible { // @ApiMember(ExcludeInSchema=true) bool? IsSuccessful; int? ApiResultCode; int? ApiCustomerResultCode; int? ErrorCode; String? ErrorMessage; String? AchRef; AchVerificationRs({this.IsSuccessful,this.ApiResultCode,this.ApiCustomerResultCode,this.ErrorCode,this.ErrorMessage,this.AchRef}); AchVerificationRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsSuccessful = json['IsSuccessful']; ApiResultCode = json['ApiResultCode']; ApiCustomerResultCode = json['ApiCustomerResultCode']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; AchRef = json['AchRef']; return this; } Map toJson() => { 'IsSuccessful': IsSuccessful, 'ApiResultCode': ApiResultCode, 'ApiCustomerResultCode': ApiCustomerResultCode, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage, 'AchRef': AchRef }; getTypeName() => "AchVerificationRs"; TypeContext? context = _ctx; } // @Route("/ach/verify", "POST") class AchVerificationRq extends AchVerificationRq implements IReturn, IConvertible { AchVerificationRq(); AchVerificationRq.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => AchVerificationRs(); getResponseTypeName() => "AchVerificationRs"; getTypeName() => "AchVerificationRq"; TypeContext? context = _ctx; } class AchVerificationRq implements IConvertible { bool? IsAchRef; int? UserId; int? ChapId; String? RoutingNumber; String? AccountNumber; String? Currency; String? AccountType; CustomerInfo? CustomerInfo; bool? UseAlternateVerifyCodeMapping; bool? IncludeCustomerVerification; AchVerificationRq({this.IsAchRef,this.UserId,this.ChapId,this.RoutingNumber,this.AccountNumber,this.Currency,this.AccountType,this.CustomerInfo,this.UseAlternateVerifyCodeMapping,this.IncludeCustomerVerification}); AchVerificationRq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsAchRef = json['IsAchRef']; UserId = json['UserId']; ChapId = json['ChapId']; RoutingNumber = json['RoutingNumber']; AccountNumber = json['AccountNumber']; Currency = json['Currency']; AccountType = json['AccountType']; CustomerInfo = JsonConverters.fromJson(json['CustomerInfo'],'CustomerInfo',context!); UseAlternateVerifyCodeMapping = json['UseAlternateVerifyCodeMapping']; IncludeCustomerVerification = json['IncludeCustomerVerification']; return this; } Map toJson() => { 'IsAchRef': IsAchRef, 'UserId': UserId, 'ChapId': ChapId, 'RoutingNumber': RoutingNumber, 'AccountNumber': AccountNumber, 'Currency': Currency, 'AccountType': AccountType, 'CustomerInfo': JsonConverters.toJson(CustomerInfo,'CustomerInfo',context!), 'UseAlternateVerifyCodeMapping': UseAlternateVerifyCodeMapping, 'IncludeCustomerVerification': IncludeCustomerVerification }; getTypeName() => "AchVerificationRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'CustomerInfo': TypeInfo(TypeOf.Class, create:() => CustomerInfo()), 'AchVerificationRs': TypeInfo(TypeOf.Class, create:() => AchVerificationRs()), 'AchVerificationRq': TypeInfo(TypeOf.Class, create:() => AchVerificationRq()), });