/* Options: Date: 2026-01-25 02:47:18 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: HoleFinanzamtsdatenAsync.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * A base service to get tax office information for a specified Federal Tax Office Number. */ // @Api(Description="A base service to get tax office information for a specified Federal Tax Office Number.") abstract class HoleFinanzamtsdatenBase implements IGet { /** * The Federal Tax Office Number. */ // @ApiMember(Description="The Federal Tax Office Number.", Name="BufaNr") String? bufaNr; HoleFinanzamtsdatenBase({this.bufaNr}); HoleFinanzamtsdatenBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { bufaNr = json['bufaNr']; return this; } Map toJson() => { 'bufaNr': bufaNr }; getTypeName() => "HoleFinanzamtsdatenBase"; TypeContext? context = _ctx; } /** * Represents a list of Adresse items. */ class AdresseListe implements IConvertible { AdresseListe(); AdresseListe.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "AdresseListe"; TypeContext? context = _ctx; } /** * Represents a list of business contacts. */ class KontaktListe implements IConvertible { KontaktListe(); KontaktListe.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "KontaktListe"; TypeContext? context = _ctx; } /** * Represents a list of bank details */ class BankverbindungListe implements IConvertible { BankverbindungListe(); BankverbindungListe.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "BankverbindungListe"; TypeContext? context = _ctx; } /** * Represents a list of information on the opening hours. */ class OeffnungszeitListe implements IConvertible { OeffnungszeitListe(); OeffnungszeitListe.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "OeffnungszeitListe"; TypeContext? context = _ctx; } /** * Represents a list of comments. */ class BemerkungListe implements IConvertible { BemerkungListe(); BemerkungListe.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "BemerkungListe"; TypeContext? context = _ctx; } /** * Represents Represents a central processing office. */ // @Api(Description="Represents Represents a central processing office.") class Hauptstelle implements IConvertible { /** * The Federal Tax Office (Bundesfinanzamt) identification number of the office. */ // @ApiMember(Description="The Federal Tax Office (Bundesfinanzamt) identification number of the office.") String? buFaNr; /** * The name of the office. */ // @ApiMember(Description="The name of the office.") String? name; Hauptstelle({this.buFaNr,this.name}); Hauptstelle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { buFaNr = json['buFaNr']; name = json['name']; return this; } Map toJson() => { 'buFaNr': buFaNr, 'name': name }; getTypeName() => "Hauptstelle"; TypeContext? context = _ctx; } /** * Represents a structure that encapsulates details of fiscal authorities. */ // @Api(Description="Represents a structure that encapsulates details of fiscal authorities.") class Finanzamtsdaten implements IConvertible { /** * The Federal Tax Office (Bundesfinanzamt) identification number of the fiscal authority. */ // @ApiMember(Description="The Federal Tax Office (Bundesfinanzamt) identification number of the fiscal authority.") String? buFaNr; /** * The name of the fiscal authority. */ // @ApiMember(Description="The name of the fiscal authority.") String? name; /** * The list of addresses of the fiscal authority. */ // @ApiMember(Description="The list of addresses of the fiscal authority.") AdresseListe? adresseListe; /** * The list of business contacts of the fiscal authority. */ // @ApiMember(Description="The list of business contacts of the fiscal authority.") KontaktListe? kontaktListe; /** * The list of bank accounts of the fiscal authority. */ // @ApiMember(Description="The list of bank accounts of the fiscal authority.") BankverbindungListe? bankverbindungListe; /** * The opening hours of the fiscal authority. */ // @ApiMember(Description="The opening hours of the fiscal authority.") OeffnungszeitListe? oeffnungszeitListe; /** * The list of comments of the fiscal authority. */ // @ApiMember(Description="The list of comments of the fiscal authority.") BemerkungListe? bemerkungListe; /** * The central processing office of the fiscal authority. */ // @ApiMember(Description="The central processing office of the fiscal authority.") Hauptstelle? hauptstelle; /** * The branch of the fiscal authority. */ // @ApiMember(Description="The branch of the fiscal authority.") String? aussenstelle; Finanzamtsdaten({this.buFaNr,this.name,this.adresseListe,this.kontaktListe,this.bankverbindungListe,this.oeffnungszeitListe,this.bemerkungListe,this.hauptstelle,this.aussenstelle}); Finanzamtsdaten.fromJson(Map json) { fromMap(json); } fromMap(Map json) { buFaNr = json['buFaNr']; name = json['name']; adresseListe = JsonConverters.fromJson(json['adresseListe'],'AdresseListe',context!); kontaktListe = JsonConverters.fromJson(json['kontaktListe'],'KontaktListe',context!); bankverbindungListe = JsonConverters.fromJson(json['bankverbindungListe'],'BankverbindungListe',context!); oeffnungszeitListe = JsonConverters.fromJson(json['oeffnungszeitListe'],'OeffnungszeitListe',context!); bemerkungListe = JsonConverters.fromJson(json['bemerkungListe'],'BemerkungListe',context!); hauptstelle = JsonConverters.fromJson(json['hauptstelle'],'Hauptstelle',context!); aussenstelle = json['aussenstelle']; return this; } Map toJson() => { 'buFaNr': buFaNr, 'name': name, 'adresseListe': JsonConverters.toJson(adresseListe,'AdresseListe',context!), 'kontaktListe': JsonConverters.toJson(kontaktListe,'KontaktListe',context!), 'bankverbindungListe': JsonConverters.toJson(bankverbindungListe,'BankverbindungListe',context!), 'oeffnungszeitListe': JsonConverters.toJson(oeffnungszeitListe,'OeffnungszeitListe',context!), 'bemerkungListe': JsonConverters.toJson(bemerkungListe,'BemerkungListe',context!), 'hauptstelle': JsonConverters.toJson(hauptstelle,'Hauptstelle',context!), 'aussenstelle': aussenstelle }; getTypeName() => "Finanzamtsdaten"; TypeContext? context = _ctx; } /** * Represents a structure that encapsulates the list of details of fiscal authorities. */ // @Api(Description="Represents a structure that encapsulates the list of details of fiscal authorities.") class EricHoleFinanzamtsdaten implements IConvertible { /** * The version of the information structure. */ // @ApiMember(Description="The version of the information structure.") int? version; /** * The details of the fiscal authority. */ // @ApiMember(Description="The details of the fiscal authority.") Finanzamtsdaten? finanzamtsdaten; EricHoleFinanzamtsdaten({this.version,this.finanzamtsdaten}); EricHoleFinanzamtsdaten.fromJson(Map json) { fromMap(json); } fromMap(Map json) { version = json['version']; finanzamtsdaten = JsonConverters.fromJson(json['finanzamtsdaten'],'Finanzamtsdaten',context!); return this; } Map toJson() => { 'version': version, 'finanzamtsdaten': JsonConverters.toJson(finanzamtsdaten,'Finanzamtsdaten',context!) }; getTypeName() => "EricHoleFinanzamtsdaten"; 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 HoleFinanzamtsdatenResponse extends EricFehlerCodeResponse implements IConvertible { /** * The details of a specified tax office. */ // @ApiMember(Description="The details of a specified tax office.") EricHoleFinanzamtsdaten? rueckgabe; HoleFinanzamtsdatenResponse({this.rueckgabe}); HoleFinanzamtsdatenResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); rueckgabe = JsonConverters.fromJson(json['rueckgabe'],'EricHoleFinanzamtsdaten',context!); return this; } Map toJson() => super.toJson()..addAll({ 'rueckgabe': JsonConverters.toJson(rueckgabe,'EricHoleFinanzamtsdaten',context!) }); getTypeName() => "HoleFinanzamtsdatenResponse"; TypeContext? context = _ctx; } /** * An asynchronous service to get tax office information for a specified Federal Tax Office Number. */ // @Route("/HoleFinanzamtsdatenAsync/{BufaNr}", "GET") // @Api(Description="An asynchronous service to get tax office information for a specified Federal Tax Office Number.") class HoleFinanzamtsdatenAsync extends HoleFinanzamtsdatenBase implements IReturn, IConvertible, IGet { HoleFinanzamtsdatenAsync(); HoleFinanzamtsdatenAsync.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => HoleFinanzamtsdatenResponse(); getResponseTypeName() => "HoleFinanzamtsdatenResponse"; getTypeName() => "HoleFinanzamtsdatenAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'HoleFinanzamtsdatenBase': TypeInfo(TypeOf.AbstractClass), 'AdresseListe': TypeInfo(TypeOf.Class, create:() => AdresseListe()), 'KontaktListe': TypeInfo(TypeOf.Class, create:() => KontaktListe()), 'BankverbindungListe': TypeInfo(TypeOf.Class, create:() => BankverbindungListe()), 'OeffnungszeitListe': TypeInfo(TypeOf.Class, create:() => OeffnungszeitListe()), 'BemerkungListe': TypeInfo(TypeOf.Class, create:() => BemerkungListe()), 'Hauptstelle': TypeInfo(TypeOf.Class, create:() => Hauptstelle()), 'Finanzamtsdaten': TypeInfo(TypeOf.Class, create:() => Finanzamtsdaten()), 'EricHoleFinanzamtsdaten': TypeInfo(TypeOf.Class, create:() => EricHoleFinanzamtsdaten()), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'HoleFinanzamtsdatenResponse': TypeInfo(TypeOf.Class, create:() => HoleFinanzamtsdatenResponse()), 'HoleFinanzamtsdatenAsync': TypeInfo(TypeOf.Class, create:() => HoleFinanzamtsdatenAsync()), });