/* Options: Date: 2026-01-25 22:34:41 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: HoleTestfinanzaemterAsync.* //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 test tax offices for a specified federal state. */ // @Api(Description="A base service to get the list of test tax offices for a specified federal state.") abstract class HoleTestfinanzaemterBase implements IGet { HoleTestfinanzaemterBase(); HoleTestfinanzaemterBase.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "HoleTestfinanzaemterBase"; 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 test tax office. */ // @Api(Description="Represents a German test tax office.") class Testfinanzamt extends FinanzamtBase implements IConvertible { Testfinanzamt(); Testfinanzamt.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "Testfinanzamt"; TypeContext? context = _ctx; } /** * Represents a structure that encapsulates a list of German test tax offices. */ // @Api(Description="Represents a structure that encapsulates a list of German test tax offices.") class EricHoleTestfinanzaemter implements IConvertible { /** * The list of test German tax offices. */ // @ApiMember(Description="The list of test German tax offices.", Name="TestFinanzaemeter") List? testFinanzaemeter = []; EricHoleTestfinanzaemter({this.testFinanzaemeter}); EricHoleTestfinanzaemter.fromJson(Map json) { fromMap(json); } fromMap(Map json) { testFinanzaemeter = JsonConverters.fromJson(json['testFinanzaemeter'],'List',context!); return this; } Map toJson() => { 'testFinanzaemeter': JsonConverters.toJson(testFinanzaemeter,'List',context!) }; getTypeName() => "EricHoleTestfinanzaemter"; 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 list of test fiscal authoririties. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves list of test fiscal authoririties.") class HoleTestfinanzaemterResponse extends EricFehlerCodeResponse implements IConvertible { /** * The list of test fiscal authoririties. */ // @ApiMember(Description="The list of test fiscal authoririties.") EricHoleTestfinanzaemter? rueckgabe; HoleTestfinanzaemterResponse({this.rueckgabe}); HoleTestfinanzaemterResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); rueckgabe = JsonConverters.fromJson(json['rueckgabe'],'EricHoleTestfinanzaemter',context!); return this; } Map toJson() => super.toJson()..addAll({ 'rueckgabe': JsonConverters.toJson(rueckgabe,'EricHoleTestfinanzaemter',context!) }); getTypeName() => "HoleTestfinanzaemterResponse"; TypeContext? context = _ctx; } /** * An asynchronous service to get the list of test tax offices for a specified federal state. */ // @Route("/HoleTestfinanzaemterAsync", "GET") // @Api(Description="An asynchronous service to get the list of test tax offices for a specified federal state.") class HoleTestfinanzaemterAsync extends HoleTestfinanzaemterBase implements IReturn, IConvertible, IGet { HoleTestfinanzaemterAsync(); HoleTestfinanzaemterAsync.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => HoleTestfinanzaemterResponse(); getResponseTypeName() => "HoleTestfinanzaemterResponse"; getTypeName() => "HoleTestfinanzaemterAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'HoleTestfinanzaemterBase': TypeInfo(TypeOf.AbstractClass), 'FinanzamtBase': TypeInfo(TypeOf.AbstractClass), 'Testfinanzamt': TypeInfo(TypeOf.Class, create:() => Testfinanzamt()), 'EricHoleTestfinanzaemter': TypeInfo(TypeOf.Class, create:() => EricHoleTestfinanzaemter()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'HoleTestfinanzaemterResponse': TypeInfo(TypeOf.Class, create:() => HoleTestfinanzaemterResponse()), 'HoleTestfinanzaemterAsync': TypeInfo(TypeOf.Class, create:() => HoleTestfinanzaemterAsync()), });