/* Options: Date: 2026-11-08 12:02:19 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: crmRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IDTOHasApiKey { String? APIKey; } // @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; } // @DataContract(Namespace="www.billhighway.com/api") class crmRequestResponse implements IHaveErrorField, IConvertible { // @DataMember LegacyApiResponse? crmRequestResult; crmRequestResponse({this.crmRequestResult}); crmRequestResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { crmRequestResult = JsonConverters.fromJson(json['crmRequestResult'],'LegacyApiResponse',context!); return this; } Map toJson() => { 'crmRequestResult': JsonConverters.toJson(crmRequestResult,'LegacyApiResponse',context!) }; getTypeName() => "crmRequestResponse"; TypeContext? context = _ctx; } class crmRequest extends crmRequest implements IReturn, IConvertible { crmRequest(); crmRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => crmRequestResponse(); getResponseTypeName() => "crmRequestResponse"; getTypeName() => "crmRequest"; TypeContext? context = _ctx; } // @DataContract(Namespace="www.billhighway.com/api") class crmRequest 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="activityID", Order=5) int? ActivityID; // @DataMember(Name="docNo", Order=6) int? DocNo; // @DataMember(Name="docTypeID", Order=7) int? DocTypeID; // @DataMember(Name="crmInfo", Order=8) String? CrmInfo; crmRequest({this.APIKey,this.featureID,this.clientID,this.groupID,this.ActivityID,this.DocNo,this.DocTypeID,this.CrmInfo}); crmRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { APIKey = json['APIKey']; featureID = json['featureID']; clientID = json['clientID']; groupID = json['groupID']; ActivityID = json['ActivityID']; DocNo = json['DocNo']; DocTypeID = json['DocTypeID']; CrmInfo = json['CrmInfo']; return this; } Map toJson() => { 'APIKey': APIKey, 'featureID': featureID, 'clientID': clientID, 'groupID': groupID, 'ActivityID': ActivityID, 'DocNo': DocNo, 'DocTypeID': DocTypeID, 'CrmInfo': CrmInfo }; getTypeName() => "crmRequest"; TypeContext? context = _ctx; } abstract class IHaveErrorField { bool? IsError; } abstract class IHaveErrorField { bool? IsError; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'IDTOHasApiKey': TypeInfo(TypeOf.Interface), 'LegacyApiResponse': TypeInfo(TypeOf.Class, create:() => LegacyApiResponse()), 'ResultCode': TypeInfo(TypeOf.Class, create:() => ResultCode()), 'crmRequestResponse': TypeInfo(TypeOf.Class, create:() => crmRequestResponse()), 'crmRequest': TypeInfo(TypeOf.Class, create:() => crmRequest()), 'IHaveErrorField': TypeInfo(TypeOf.Interface), });