/* Options: Date: 2026-11-08 12:07:33 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: IvrAchPaymentRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class MemberPaymentResult implements IHaveErrorField, IConvertible { String? TransactionId; String? ErrorCode; String? ErrorMessage; String? GatewayConfirmationNumber; bool? IsError; MemberPaymentResult({this.TransactionId,this.ErrorCode,this.ErrorMessage,this.GatewayConfirmationNumber,this.IsError}); MemberPaymentResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TransactionId = json['TransactionId']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; GatewayConfirmationNumber = json['GatewayConfirmationNumber']; IsError = json['IsError']; return this; } Map toJson() => { 'TransactionId': TransactionId, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage, 'GatewayConfirmationNumber': GatewayConfirmationNumber, 'IsError': IsError }; getTypeName() => "MemberPaymentResult"; TypeContext? context = _ctx; } class IvrAchPaymentResponse extends IvrAchPaymentResponse implements IConvertible { IvrAchPaymentResponse(); IvrAchPaymentResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "IvrAchPaymentResponse"; TypeContext? context = _ctx; } // @Route("/ivr/payment/ach", "POST") class IvrAchPaymentRequest extends IvrAchPaymentRequest implements IReturn, IConvertible { String? PaymentChoice; IvrAchPaymentRequest({this.PaymentChoice}); IvrAchPaymentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); PaymentChoice = json['PaymentChoice']; return this; } Map toJson() => super.toJson()..addAll({ 'PaymentChoice': PaymentChoice }); createResponse() => IvrAchPaymentResponse(); getResponseTypeName() => "IvrAchPaymentResponse"; getTypeName() => "IvrAchPaymentRequest"; TypeContext? context = _ctx; } class IvrAchPaymentRequest implements IConvertible { int? UserID; String? PaymentChoice; String? RoutingNumber; String? BankAccountNumber; double? OtherAmount; IvrAchPaymentRequest({this.UserID,this.PaymentChoice,this.RoutingNumber,this.BankAccountNumber,this.OtherAmount}); IvrAchPaymentRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UserID = json['UserID']; PaymentChoice = json['PaymentChoice']; RoutingNumber = json['RoutingNumber']; BankAccountNumber = json['BankAccountNumber']; OtherAmount = JsonConverters.toDouble(json['OtherAmount']); return this; } Map toJson() => { 'UserID': UserID, 'PaymentChoice': PaymentChoice, 'RoutingNumber': RoutingNumber, 'BankAccountNumber': BankAccountNumber, 'OtherAmount': OtherAmount }; getTypeName() => "IvrAchPaymentRequest"; TypeContext? context = _ctx; } abstract class IHaveErrorField { bool? IsError; } abstract class IHaveErrorField { bool? IsError; } class IvrAchPaymentResponse extends MemberPaymentResult implements IConvertible { IvrAchPaymentResponse(); IvrAchPaymentResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "IvrAchPaymentResponse"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'MemberPaymentResult': TypeInfo(TypeOf.Class, create:() => MemberPaymentResult()), 'IvrAchPaymentResponse': TypeInfo(TypeOf.Class, create:() => IvrAchPaymentResponse()), 'IvrAchPaymentRequest': TypeInfo(TypeOf.Class, create:() => IvrAchPaymentRequest()), 'IHaveErrorField': TypeInfo(TypeOf.Interface), });