/* Options: Date: 2026-06-22 20:43:25 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QboTaxProbeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class QboTaxCodeInfo implements IConvertible { String? Id; String? Name; bool? Active; String? Description; QboTaxCodeInfo({this.Id,this.Name,this.Active,this.Description}); QboTaxCodeInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Active = json['Active']; Description = json['Description']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Active': Active, 'Description': Description }; getTypeName() => "QboTaxCodeInfo"; TypeContext? context = _ctx; } class QboTaxProbeResponse implements IConvertible { bool? LikelyAst; String? Country; String? CompanyName; String? Message; List? TaxCodes = []; ResponseStatus? ResponseStatus; QboTaxProbeResponse({this.LikelyAst,this.Country,this.CompanyName,this.Message,this.TaxCodes,this.ResponseStatus}); QboTaxProbeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LikelyAst = json['LikelyAst']; Country = json['Country']; CompanyName = json['CompanyName']; Message = json['Message']; TaxCodes = JsonConverters.fromJson(json['TaxCodes'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'LikelyAst': LikelyAst, 'Country': Country, 'CompanyName': CompanyName, 'Message': Message, 'TaxCodes': JsonConverters.toJson(TaxCodes,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "QboTaxProbeResponse"; TypeContext? context = _ctx; } // @Route("/v1/qbo/taxcodes", "GET,OPTIONS") class QboTaxProbeRequest implements IReturn, IConvertible, IGet { QboTaxProbeRequest(); QboTaxProbeRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => QboTaxProbeResponse(); getResponseTypeName() => "QboTaxProbeResponse"; getTypeName() => "QboTaxProbeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'QboTaxCodeInfo': TypeInfo(TypeOf.Class, create:() => QboTaxCodeInfo()), 'QboTaxProbeResponse': TypeInfo(TypeOf.Class, create:() => QboTaxProbeResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QboTaxProbeRequest': TypeInfo(TypeOf.Class, create:() => QboTaxProbeRequest()), });