/* Options: Date: 2026-11-08 11:43:41 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: MemberStatusValues.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IHaveErrorField { bool? IsError; } abstract class IHaveErrorField { bool? IsError; } class AutoPayInfo implements IConvertible { String? PaymentMethod; String? CardType; String? CardReference; String? CardNumberLastFour; int? ExpMonth; int? ExpYear; String? AchReference; String? PayerName; String? Address1; String? Address2; String? BillingCity; String? BillingState; String? PostalCode; String? Country; String? AccountNumberLastFour; String? RoutingNumberLastFour; String? AccountType; String? LastAutoPayAmount; String? LastAutoPayDate; AutoPayInfo({this.PaymentMethod,this.CardType,this.CardReference,this.CardNumberLastFour,this.ExpMonth,this.ExpYear,this.AchReference,this.PayerName,this.Address1,this.Address2,this.BillingCity,this.BillingState,this.PostalCode,this.Country,this.AccountNumberLastFour,this.RoutingNumberLastFour,this.AccountType,this.LastAutoPayAmount,this.LastAutoPayDate}); AutoPayInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PaymentMethod = json['PaymentMethod']; CardType = json['CardType']; CardReference = json['CardReference']; CardNumberLastFour = json['CardNumberLastFour']; ExpMonth = json['ExpMonth']; ExpYear = json['ExpYear']; AchReference = json['AchReference']; PayerName = json['PayerName']; Address1 = json['Address1']; Address2 = json['Address2']; BillingCity = json['BillingCity']; BillingState = json['BillingState']; PostalCode = json['PostalCode']; Country = json['Country']; AccountNumberLastFour = json['AccountNumberLastFour']; RoutingNumberLastFour = json['RoutingNumberLastFour']; AccountType = json['AccountType']; LastAutoPayAmount = json['LastAutoPayAmount']; LastAutoPayDate = json['LastAutoPayDate']; return this; } Map toJson() => { 'PaymentMethod': PaymentMethod, 'CardType': CardType, 'CardReference': CardReference, 'CardNumberLastFour': CardNumberLastFour, 'ExpMonth': ExpMonth, 'ExpYear': ExpYear, 'AchReference': AchReference, 'PayerName': PayerName, 'Address1': Address1, 'Address2': Address2, 'BillingCity': BillingCity, 'BillingState': BillingState, 'PostalCode': PostalCode, 'Country': Country, 'AccountNumberLastFour': AccountNumberLastFour, 'RoutingNumberLastFour': RoutingNumberLastFour, 'AccountType': AccountType, 'LastAutoPayAmount': LastAutoPayAmount, 'LastAutoPayDate': LastAutoPayDate }; getTypeName() => "AutoPayInfo"; TypeContext? context = _ctx; } class MemberStatusValuesReply implements IHaveErrorField, IConvertible { int? ClientId; String? GroupId; int? ErrorCode; String? ErrorMessage; String? UserId; int? BhUserId; int? BillingTypeId; int? MemberStatusId; String? MemberStatusCode; String? MemberStatusDesc; int? MemberTypeId; String? MemberTypeCode; String? MemberTypeDesc; String? CurrentBalance; String? AutoPayStatus; AutoPayInfo? AutoPayInfo; // @ApiMember(ExcludeInSchema=true) bool? IsError; MemberStatusValuesReply({this.ClientId,this.GroupId,this.ErrorCode,this.ErrorMessage,this.UserId,this.BhUserId,this.BillingTypeId,this.MemberStatusId,this.MemberStatusCode,this.MemberStatusDesc,this.MemberTypeId,this.MemberTypeCode,this.MemberTypeDesc,this.CurrentBalance,this.AutoPayStatus,this.AutoPayInfo,this.IsError}); MemberStatusValuesReply.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClientId = json['ClientId']; GroupId = json['GroupId']; ErrorCode = json['ErrorCode']; ErrorMessage = json['ErrorMessage']; UserId = json['UserId']; BhUserId = json['BhUserId']; BillingTypeId = json['BillingTypeId']; MemberStatusId = json['MemberStatusId']; MemberStatusCode = json['MemberStatusCode']; MemberStatusDesc = json['MemberStatusDesc']; MemberTypeId = json['MemberTypeId']; MemberTypeCode = json['MemberTypeCode']; MemberTypeDesc = json['MemberTypeDesc']; CurrentBalance = json['CurrentBalance']; AutoPayStatus = json['AutoPayStatus']; AutoPayInfo = JsonConverters.fromJson(json['AutoPayInfo'],'AutoPayInfo',context!); IsError = json['IsError']; return this; } Map toJson() => { 'ClientId': ClientId, 'GroupId': GroupId, 'ErrorCode': ErrorCode, 'ErrorMessage': ErrorMessage, 'UserId': UserId, 'BhUserId': BhUserId, 'BillingTypeId': BillingTypeId, 'MemberStatusId': MemberStatusId, 'MemberStatusCode': MemberStatusCode, 'MemberStatusDesc': MemberStatusDesc, 'MemberTypeId': MemberTypeId, 'MemberTypeCode': MemberTypeCode, 'MemberTypeDesc': MemberTypeDesc, 'CurrentBalance': CurrentBalance, 'AutoPayStatus': AutoPayStatus, 'AutoPayInfo': JsonConverters.toJson(AutoPayInfo,'AutoPayInfo',context!), 'IsError': IsError }; getTypeName() => "MemberStatusValuesReply"; TypeContext? context = _ctx; } // @Route("/members/StatusValues", "GET") class MemberStatusValues implements IReturn, IConvertible { int? ClientId; String? GroupId; String? UserId; int? BhUserId; MemberStatusValues({this.ClientId,this.GroupId,this.UserId,this.BhUserId}); MemberStatusValues.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ClientId = json['ClientId']; GroupId = json['GroupId']; UserId = json['UserId']; BhUserId = json['BhUserId']; return this; } Map toJson() => { 'ClientId': ClientId, 'GroupId': GroupId, 'UserId': UserId, 'BhUserId': BhUserId }; createResponse() => MemberStatusValuesReply(); getResponseTypeName() => "MemberStatusValuesReply"; getTypeName() => "MemberStatusValues"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'IHaveErrorField': TypeInfo(TypeOf.Interface), 'AutoPayInfo': TypeInfo(TypeOf.Class, create:() => AutoPayInfo()), 'MemberStatusValuesReply': TypeInfo(TypeOf.Class, create:() => MemberStatusValuesReply()), 'MemberStatusValues': TypeInfo(TypeOf.Class, create:() => MemberStatusValues()), });