/* Options: Date: 2026-11-08 12:02:58 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: ccPaymentByGroup.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; // @DataContract(Namespace="www.billhighway.com/api") class LegacyApiResponse implements IHaveErrorField, IConvertible { // @DataMember double? amount; // @DataMember String? confirmationNumber; // @DataMember String? responseCode; // @DataMember String? responseDescription; // @DataMember ResultCode? resultCode; LegacyApiResponse({this.amount,this.confirmationNumber,this.responseCode,this.responseDescription,this.resultCode}); LegacyApiResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { amount = JsonConverters.toDouble(json['amount']); confirmationNumber = json['confirmationNumber']; responseCode = json['responseCode']; responseDescription = json['responseDescription']; resultCode = JsonConverters.fromJson(json['resultCode'],'ResultCode',context!); return this; } Map toJson() => { 'amount': amount, 'confirmationNumber': confirmationNumber, 'responseCode': responseCode, 'responseDescription': responseDescription, 'resultCode': JsonConverters.toJson(resultCode,'ResultCode',context!) }; getTypeName() => "LegacyApiResponse"; TypeContext? context = _ctx; } class SoapArrayList extends ArrayList implements IConvertible { SoapArrayList(); SoapArrayList.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "SoapArrayList"; TypeContext? context = _ctx; } // @DataContract(Namespace="www.billhighway.com/api") class ccPaymentByGroupResponse extends LegacyApiResponse implements IConvertible { // @DataMember(Name="ccPaymentByGroupResult") SoapArrayList? Results; ccPaymentByGroupResponse({this.Results}); ccPaymentByGroupResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Results = JsonConverters.fromJson(json['Results'],'SoapArrayList',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Results': JsonConverters.toJson(Results,'SoapArrayList',context!) }); getTypeName() => "ccPaymentByGroupResponse"; TypeContext? context = _ctx; } class ccPaymentByGroup extends ccPaymentByGroup implements IReturn, ICanBeRecurring, IConvertible { ccPaymentByGroup(); ccPaymentByGroup.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => ccPaymentByGroupResponse(); getResponseTypeName() => "ccPaymentByGroupResponse"; getTypeName() => "ccPaymentByGroup"; TypeContext? context = _ctx; } // @DataContract(Namespace="www.billhighway.com/api") class ccPaymentByGroup implements IDTOHasApiKey, IConvertible { // @DataMember(Name="apiKey", Order=1) String? APIKey; // @DataMember(Name="featureID", Order=2) int? featureID; // @DataMember(Name="clientID", Order=3) int? clientID; // @DataMember(Name="groupID", Order=4) int? groupID; // @DataMember(Name="Amount", Order=5) double? Amount; // @DataMember(Name="nameOnCard", Order=6) String? nameOnCard; // @DataMember(Name="cardType", Order=7) String? cardType; // @DataMember(Name="cardNumber", Order=8) String? cardNumber; // @DataMember(Name="expMonth", Order=9) String? expMonth; // @DataMember(Name="expYear", Order=10) String? expYear; // @DataMember(Name="cvv", Order=11) String? cvv; // @DataMember(Name="address", Order=12) String? address; // @DataMember(Name="city", Order=13) String? city; // @DataMember(Name="state", Order=14) String? state; // @DataMember(Name="postalCode", Order=15) String? postalCode; // @DataMember(Name="email", Order=16) String? email; // @DataMember(Name="memo", Order=17) String? memo; // @DataMember(Name="occurs", Order=18) String? Occurs; // @DataMember(Name="numberOfOccurrences", Order=19) String? NumberOfOccurences; ccPaymentByGroup({this.APIKey,this.featureID,this.clientID,this.groupID,this.Amount,this.nameOnCard,this.cardType,this.cardNumber,this.expMonth,this.expYear,this.cvv,this.address,this.city,this.state,this.postalCode,this.email,this.memo,this.Occurs,this.NumberOfOccurences}); ccPaymentByGroup.fromJson(Map json) { fromMap(json); } fromMap(Map json) { APIKey = json['APIKey']; featureID = json['featureID']; clientID = json['clientID']; groupID = json['groupID']; Amount = JsonConverters.toDouble(json['Amount']); nameOnCard = json['nameOnCard']; cardType = json['cardType']; cardNumber = json['cardNumber']; expMonth = json['expMonth']; expYear = json['expYear']; cvv = json['cvv']; address = json['address']; city = json['city']; state = json['state']; postalCode = json['postalCode']; email = json['email']; memo = json['memo']; Occurs = json['Occurs']; NumberOfOccurences = json['NumberOfOccurences']; return this; } Map toJson() => { 'APIKey': APIKey, 'featureID': featureID, 'clientID': clientID, 'groupID': groupID, 'Amount': Amount, 'nameOnCard': nameOnCard, 'cardType': cardType, 'cardNumber': cardNumber, 'expMonth': expMonth, 'expYear': expYear, 'cvv': cvv, 'address': address, 'city': city, 'state': state, 'postalCode': postalCode, 'email': email, 'memo': memo, 'Occurs': Occurs, 'NumberOfOccurences': NumberOfOccurences }; getTypeName() => "ccPaymentByGroup"; TypeContext? context = _ctx; } abstract class IDTOHasApiKey { String? APIKey; } abstract class ICanBeRecurring { String? Occurs; String? NumberOfOccurences; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'LegacyApiResponse': TypeInfo(TypeOf.Class, create:() => LegacyApiResponse()), 'ResultCode': TypeInfo(TypeOf.Class, create:() => ResultCode()), 'SoapArrayList': TypeInfo(TypeOf.Class, create:() => SoapArrayList()), 'ccPaymentByGroupResponse': TypeInfo(TypeOf.Class, create:() => ccPaymentByGroupResponse()), 'ccPaymentByGroup': TypeInfo(TypeOf.Class, create:() => ccPaymentByGroup()), 'IDTOHasApiKey': TypeInfo(TypeOf.Interface), 'ICanBeRecurring': TypeInfo(TypeOf.Interface), });