/* Options: Date: 2026-11-08 11:52:00 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: AchPaymentCollection.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SalesForceMemberPaymentInvoiceDetail implements IConvertible { String? ClassName; String? UniqueId; DateTime? CreatedDateTime; int? ClientId; int? Invoice; String? AmountPaid; SalesForceMemberPaymentInvoiceDetail({this.ClassName,this.UniqueId,this.CreatedDateTime,this.ClientId,this.Invoice,this.AmountPaid}); SalesForceMemberPaymentInvoiceDetail.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClassName = json['ClassName']; UniqueId = json['UniqueId']; CreatedDateTime = JsonConverters.fromJson(json['CreatedDateTime'],'DateTime',context!); ClientId = json['ClientId']; Invoice = json['Invoice']; AmountPaid = json['AmountPaid']; return this; } Map toJson() => { 'ClassName': ClassName, 'UniqueId': UniqueId, 'CreatedDateTime': JsonConverters.toJson(CreatedDateTime,'DateTime',context!), 'ClientId': ClientId, 'Invoice': Invoice, 'AmountPaid': AmountPaid }; getTypeName() => "SalesForceMemberPaymentInvoiceDetail"; TypeContext? context = _ctx; } class AchPayment implements IConvertible { String? ClassName; String? UniqueId; DateTime? CreatedDateTime; int? ClientId; String? GroupId; String? UserId; int? BhUserId; double? Amount; String? CurrencyType; String? Country; String? RoutingNumber; String? AccountNumber; String? AchReference; String? AccountType; bool? IsSavingsAccount; String? PayerName; String? CheckNumber; String? PreferredEmailAddress; String? Memo; List? InvoiceList; bool? AutoPay; bool? StoreAchInfo; int? EncryptionTypeId; AchPayment({this.ClassName,this.UniqueId,this.CreatedDateTime,this.ClientId,this.GroupId,this.UserId,this.BhUserId,this.Amount,this.CurrencyType,this.Country,this.RoutingNumber,this.AccountNumber,this.AchReference,this.AccountType,this.IsSavingsAccount,this.PayerName,this.CheckNumber,this.PreferredEmailAddress,this.Memo,this.InvoiceList,this.AutoPay,this.StoreAchInfo,this.EncryptionTypeId}); AchPayment.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClassName = json['ClassName']; UniqueId = json['UniqueId']; CreatedDateTime = JsonConverters.fromJson(json['CreatedDateTime'],'DateTime',context!); ClientId = json['ClientId']; GroupId = json['GroupId']; UserId = json['UserId']; BhUserId = json['BhUserId']; Amount = JsonConverters.toDouble(json['Amount']); CurrencyType = json['CurrencyType']; Country = json['Country']; RoutingNumber = json['RoutingNumber']; AccountNumber = json['AccountNumber']; AchReference = json['AchReference']; AccountType = json['AccountType']; IsSavingsAccount = json['IsSavingsAccount']; PayerName = json['PayerName']; CheckNumber = json['CheckNumber']; PreferredEmailAddress = json['PreferredEmailAddress']; Memo = json['Memo']; InvoiceList = JsonConverters.fromJson(json['InvoiceList'],'List',context!); AutoPay = json['AutoPay']; StoreAchInfo = json['StoreAchInfo']; EncryptionTypeId = json['EncryptionTypeId']; return this; } Map toJson() => { 'ClassName': ClassName, 'UniqueId': UniqueId, 'CreatedDateTime': JsonConverters.toJson(CreatedDateTime,'DateTime',context!), 'ClientId': ClientId, 'GroupId': GroupId, 'UserId': UserId, 'BhUserId': BhUserId, 'Amount': Amount, 'CurrencyType': CurrencyType, 'Country': Country, 'RoutingNumber': RoutingNumber, 'AccountNumber': AccountNumber, 'AchReference': AchReference, 'AccountType': AccountType, 'IsSavingsAccount': IsSavingsAccount, 'PayerName': PayerName, 'CheckNumber': CheckNumber, 'PreferredEmailAddress': PreferredEmailAddress, 'Memo': Memo, 'InvoiceList': JsonConverters.toJson(InvoiceList,'List',context!), 'AutoPay': AutoPay, 'StoreAchInfo': StoreAchInfo, 'EncryptionTypeId': EncryptionTypeId }; getTypeName() => "AchPayment"; TypeContext? context = _ctx; } class AchPaymentReply implements IHaveErrorField, IConvertible { String? ClassName; String? UniqueId; DateTime? CreatedDateTime; int? ClientId; String? TransactionId; int? ErrorCode; String? ErrorMessage; // @ApiMember(ExcludeInSchema=true) bool? IsError; AchPaymentReply({this.ClassName,this.UniqueId,this.CreatedDateTime,this.ClientId,this.TransactionId,this.ErrorCode,this.ErrorMessage,this.IsError}); AchPaymentReply.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClassName = json['ClassName']; UniqueId = json['UniqueId']; CreatedDateTime = JsonConverters.fromJson(json['CreatedDateTime'],'DateTime',context!); ClientId = json['ClientId']; TransactionId = json['TransactionId']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; IsError = json['IsError']; return this; } Map toJson() => { 'ClassName': ClassName, 'UniqueId': UniqueId, 'CreatedDateTime': JsonConverters.toJson(CreatedDateTime,'DateTime',context!), 'ClientId': ClientId, 'TransactionId': TransactionId, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage, 'IsError': IsError }; getTypeName() => "AchPaymentReply"; TypeContext? context = _ctx; } abstract class IHaveErrorField { bool? IsError; } abstract class IHaveErrorField { bool? IsError; } class AchPaymentReplyCollection implements IConvertible { List? AchReplyCollection; AchPaymentReplyCollection({this.AchReplyCollection}); AchPaymentReplyCollection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AchReplyCollection = JsonConverters.fromJson(json['AchReplyCollection'],'List',context!); return this; } Map toJson() => { 'AchReplyCollection': JsonConverters.toJson(AchReplyCollection,'List',context!) }; getTypeName() => "AchPaymentReplyCollection"; TypeContext? context = _ctx; } // @Route("/api/SalesForce/AchPayment", "POST") // @Route("/payments/ach", "POST") class AchPaymentCollection implements IReturn, IConvertible { List? AchPaymentList; AchPaymentCollection({this.AchPaymentList}); AchPaymentCollection.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AchPaymentList = JsonConverters.fromJson(json['AchPaymentList'],'List',context!); return this; } Map toJson() => { 'AchPaymentList': JsonConverters.toJson(AchPaymentList,'List',context!) }; createResponse() => AchPaymentReplyCollection(); getResponseTypeName() => "AchPaymentReplyCollection"; getTypeName() => "AchPaymentCollection"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'SalesForceMemberPaymentInvoiceDetail': TypeInfo(TypeOf.Class, create:() => SalesForceMemberPaymentInvoiceDetail()), 'AchPayment': TypeInfo(TypeOf.Class, create:() => AchPayment()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AchPaymentReply': TypeInfo(TypeOf.Class, create:() => AchPaymentReply()), 'IHaveErrorField': TypeInfo(TypeOf.Interface), 'AchPaymentReplyCollection': TypeInfo(TypeOf.Class, create:() => AchPaymentReplyCollection()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'AchPaymentCollection': TypeInfo(TypeOf.Class, create:() => AchPaymentCollection()), 'List': TypeInfo(TypeOf.Class, create:() => []), });