/* Options: Date: 2026-01-25 04:23:36 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HoleFinanzaemterAsync.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * A base service to get the list of tax offices for a specified federal state. */ // @Api(Description="A base service to get the list of tax offices for a specified federal state.") abstract class HoleFinanzaemterBase implements IGet { /** * The state number of the tax offices. */ // @ApiMember(Description="The state number of the tax offices.") String? finanzamtLandNummer; HoleFinanzaemterBase({this.finanzamtLandNummer}); HoleFinanzaemterBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { finanzamtLandNummer = json['finanzamtLandNummer']; return this; } Map toJson() => { 'finanzamtLandNummer': finanzamtLandNummer }; getTypeName() => "HoleFinanzaemterBase"; TypeContext? context = _ctx; } /** * Represents the base class of a German tax office. */ // @Api(Description="Represents the base class of a German tax office.") abstract class FinanzamtBase { /** * The identification number of the German tax office. */ // @ApiMember(Description="The identification number of the German tax office.", Name="BuFaNummer") String? buFaNummer; /** * The name of the German tax office. */ // @ApiMember(Description="The name of the German tax office.", Name="Name") String? name; FinanzamtBase({this.buFaNummer,this.name}); FinanzamtBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { buFaNummer = json['buFaNummer']; name = json['name']; return this; } Map toJson() => { 'buFaNummer': buFaNummer, 'name': name }; getTypeName() => "FinanzamtBase"; TypeContext? context = _ctx; } /** * Represents a German tax office. */ // @Api(Description="Represents a German tax office.") class Finanzamt extends FinanzamtBase implements IConvertible { Finanzamt(); Finanzamt.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "Finanzamt"; TypeContext? context = _ctx; } /** * Represents a structure that encapsulates a list of German tax offices. */ // @Api(Description="Represents a structure that encapsulates a list of German tax offices.") class EricHoleFinanzaemter implements IConvertible { /** * The list of German tax offices. */ // @ApiMember(Description="The list of German tax offices.", Name="Finanzaemter") List? finanzaemter = []; EricHoleFinanzaemter({this.finanzaemter}); EricHoleFinanzaemter.fromJson(Map json) { fromMap(json); } fromMap(Map json) { finanzaemter = JsonConverters.fromJson(json['finanzaemter'],'List',context!); return this; } Map toJson() => { 'finanzaemter': JsonConverters.toJson(finanzaemter,'List',context!) }; getTypeName() => "EricHoleFinanzaemter"; TypeContext? context = _ctx; } /** * Represent a base response that encapsulate any ERiC API function return value. */ // @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") class EricFehlerCodeResponse extends ServiceReponseBase implements IConvertible { /** * The status code that the ERiC API function returns. */ // @ApiMember(Description="The status code that the ERiC API function returns.") EricFehlerCode? statusCode; /** * The status message that the ERiC API function returns. */ // @ApiMember(Description="The status message that the ERiC API function returns.") String? statusText; EricFehlerCodeResponse({this.statusCode,this.statusText}); EricFehlerCodeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!); statusText = json['statusText']; return this; } Map toJson() => super.toJson()..addAll({ 'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!), 'statusText': statusText }); getTypeName() => "EricFehlerCodeResponse"; TypeContext? context = _ctx; } /** * Represents a type that encapsulates the return values of the ERiC API function, which retrieves the list of federal tax offices for a specified state. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves the list of federal tax offices for a specified state.") class HoleFinanzaemterResponse extends EricFehlerCodeResponse implements IConvertible { /** * The list of federal tax offices for a specified state. */ // @ApiMember(Description="The list of federal tax offices for a specified state.") EricHoleFinanzaemter? rueckgabe; HoleFinanzaemterResponse({this.rueckgabe}); HoleFinanzaemterResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); rueckgabe = JsonConverters.fromJson(json['rueckgabe'],'EricHoleFinanzaemter',context!); return this; } Map toJson() => super.toJson()..addAll({ 'rueckgabe': JsonConverters.toJson(rueckgabe,'EricHoleFinanzaemter',context!) }); getTypeName() => "HoleFinanzaemterResponse"; TypeContext? context = _ctx; } /** * An asynchronous service to get the list of tax offices for a specified federal state. */ // @Route("/HoleFinanzaemterAsync/{FinanzamtLandNummer}", "GET") // @Api(Description="An asynchronous service to get the list of tax offices for a specified federal state.") class HoleFinanzaemterAsync extends HoleFinanzaemterBase implements IReturn, IConvertible, IGet { HoleFinanzaemterAsync(); HoleFinanzaemterAsync.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => HoleFinanzaemterResponse(); getResponseTypeName() => "HoleFinanzaemterResponse"; getTypeName() => "HoleFinanzaemterAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'HoleFinanzaemterBase': TypeInfo(TypeOf.AbstractClass), 'FinanzamtBase': TypeInfo(TypeOf.AbstractClass), 'Finanzamt': TypeInfo(TypeOf.Class, create:() => Finanzamt()), 'EricHoleFinanzaemter': TypeInfo(TypeOf.Class, create:() => EricHoleFinanzaemter()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'HoleFinanzaemterResponse': TypeInfo(TypeOf.Class, create:() => HoleFinanzaemterResponse()), 'HoleFinanzaemterAsync': TypeInfo(TypeOf.Class, create:() => HoleFinanzaemterAsync()), });