/* Options: Date: 2026-11-08 11:51:53 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: BillingTypeListRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class BillingTypeListItem implements IConvertible { int? BillingTypeID; String? BillingTypeName; bool? IsPrimary; BillingTypeListItem({this.BillingTypeID,this.BillingTypeName,this.IsPrimary}); BillingTypeListItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BillingTypeID = json['BillingTypeID']; BillingTypeName = json['BillingTypeName']; IsPrimary = json['IsPrimary']; return this; } Map toJson() => { 'BillingTypeID': BillingTypeID, 'BillingTypeName': BillingTypeName, 'IsPrimary': IsPrimary }; getTypeName() => "BillingTypeListItem"; TypeContext? context = _ctx; } class BillingTypeListResponse implements IConvertible { List? Results; BillingTypeListResponse({this.Results}); BillingTypeListResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Results = JsonConverters.fromJson(json['Results'],'List',context!); return this; } Map toJson() => { 'Results': JsonConverters.toJson(Results,'List',context!) }; getTypeName() => "BillingTypeListResponse"; TypeContext? context = _ctx; } // @Route("/invoices/billingTypes", "GET") class BillingTypeListRequest implements IReturn, IConvertible { String? GroupID; BillingTypeListRequest({this.GroupID}); BillingTypeListRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { GroupID = json['GroupID']; return this; } Map toJson() => { 'GroupID': GroupID }; createResponse() => BillingTypeListResponse(); getResponseTypeName() => "BillingTypeListResponse"; getTypeName() => "BillingTypeListRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'BillingTypeListItem': TypeInfo(TypeOf.Class, create:() => BillingTypeListItem()), 'BillingTypeListResponse': TypeInfo(TypeOf.Class, create:() => BillingTypeListResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BillingTypeListRequest': TypeInfo(TypeOf.Class, create:() => BillingTypeListRequest()), });