/* Options: Date: 2026-01-25 11:31:35 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: HoleFinanzamtLandNummernAsync.* //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 office numbers for a specified federal state. */ // @Api(Description="A base service to get the list of tax office numbers for a specified federal state.") abstract class HoleFinanzamtLandNummernBase implements IGet { HoleFinanzamtLandNummernBase(); HoleFinanzamtLandNummernBase.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "HoleFinanzamtLandNummernBase"; TypeContext? context = _ctx; } /** * Represents the state details of a German tax office. */ // @Api(Description="Represents the state details of a German tax office.") class FinanzamtLand implements IConvertible { /** * The identification number of the state. */ // @ApiMember(Description="The identification number of the state.", Name="FinanzamtLandNummer") String? finanzamtLandNummer; /** * The name of the state. */ // @ApiMember(Description="The name of the state.", Name="Name") String? name; FinanzamtLand({this.finanzamtLandNummer,this.name}); FinanzamtLand.fromJson(Map json) { fromMap(json); } fromMap(Map json) { finanzamtLandNummer = json['finanzamtLandNummer']; name = json['name']; return this; } Map toJson() => { 'finanzamtLandNummer': finanzamtLandNummer, 'name': name }; getTypeName() => "FinanzamtLand"; TypeContext? context = _ctx; } /** * Represents a structure that encapsulates a list of state details of German tax offices. */ // @Api(Description="Represents a structure that encapsulates a list of state details of German tax offices.") class EricHoleFinanzamtLandNummern implements IConvertible { /** * The list of state details of German tax offices. */ // @ApiMember(Description="The list of state details of German tax offices.", Name="FinanzamtLaender") List? finanzamtLaender = []; EricHoleFinanzamtLandNummern({this.finanzamtLaender}); EricHoleFinanzamtLandNummern.fromJson(Map json) { fromMap(json); } fromMap(Map json) { finanzamtLaender = JsonConverters.fromJson(json['finanzamtLaender'],'List',context!); return this; } Map toJson() => { 'finanzamtLaender': JsonConverters.toJson(finanzamtLaender,'List',context!) }; getTypeName() => "EricHoleFinanzamtLandNummern"; 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 all tax office numbers. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves all tax office numbers.") class HoleFinanzamtLandNummernResponse extends EricFehlerCodeResponse implements IConvertible { /** * The list of all tax office numbers. */ // @ApiMember(Description="The list of all tax office numbers.") EricHoleFinanzamtLandNummern? rueckgabe; HoleFinanzamtLandNummernResponse({this.rueckgabe}); HoleFinanzamtLandNummernResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); rueckgabe = JsonConverters.fromJson(json['rueckgabe'],'EricHoleFinanzamtLandNummern',context!); return this; } Map toJson() => super.toJson()..addAll({ 'rueckgabe': JsonConverters.toJson(rueckgabe,'EricHoleFinanzamtLandNummern',context!) }); getTypeName() => "HoleFinanzamtLandNummernResponse"; TypeContext? context = _ctx; } /** * An asynchronous service to get the list of tax office numbers for a specified federal state. */ // @Route("/HoleFinanzamtLandNummernAsync", "GET") // @Api(Description="An asynchronous service to get the list of tax office numbers for a specified federal state.") class HoleFinanzamtLandNummernAsync extends HoleFinanzamtLandNummernBase implements IReturn, IConvertible, IGet { HoleFinanzamtLandNummernAsync(); HoleFinanzamtLandNummernAsync.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => HoleFinanzamtLandNummernResponse(); getResponseTypeName() => "HoleFinanzamtLandNummernResponse"; getTypeName() => "HoleFinanzamtLandNummernAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'HoleFinanzamtLandNummernBase': TypeInfo(TypeOf.AbstractClass), 'FinanzamtLand': TypeInfo(TypeOf.Class, create:() => FinanzamtLand()), 'EricHoleFinanzamtLandNummern': TypeInfo(TypeOf.Class, create:() => EricHoleFinanzamtLandNummern()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'HoleFinanzamtLandNummernResponse': TypeInfo(TypeOf.Class, create:() => HoleFinanzamtLandNummernResponse()), 'HoleFinanzamtLandNummernAsync': TypeInfo(TypeOf.Class, create:() => HoleFinanzamtLandNummernAsync()), });