""" Options: Date: 2026-01-25 18:50:05 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: HoleTestfinanzaemter.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum Object = TypeVar('Object') # @Api(Description="A base service to get the list of test tax offices for a specified federal state.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleTestfinanzaemterBase(IReturn[HoleTestfinanzaemterResponse], IGet): """ A base service to get the list of test tax offices for a specified federal state. """ @staticmethod def response_type(): return HoleTestfinanzaemterResponse # @Api(Description="Represents the base class of a German tax office.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FinanzamtBase: """ Represents the base class of a German tax office. """ # @ApiMember(Description="The identification number of the German tax office.", Name="BuFaNummer") bu_fa_nummer: Optional[str] = None """ The identification number of the German tax office. """ # @ApiMember(Description="The name of the German tax office.", Name="Name") name: Optional[str] = None """ The name of the German tax office. """ # @Api(Description="Represents a German test tax office.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class Testfinanzamt(FinanzamtBase): """ Represents a German test tax office. """ pass # @Api(Description="Represents a structure that encapsulates a list of German test tax offices.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EricHoleTestfinanzaemter: """ Represents a structure that encapsulates a list of German test tax offices. """ # @ApiMember(Description="The list of test German tax offices.", Name="TestFinanzaemeter") test_finanzaemeter: List[Testfinanzamt] = field(default_factory=list) """ The list of test German tax offices. """ # @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EricFehlerCodeResponse(ServiceReponseBase): """ Represent a base response that encapsulate any ERiC API function return value. """ # @ApiMember(Description="The status code that the ERiC API function returns.") status_code: Optional[EricFehlerCode] = None """ The status code that the ERiC API function returns. """ # @ApiMember(Description="The status message that the ERiC API function returns.") status_text: Optional[str] = None """ The status message that the ERiC API function returns. """ # @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves list of test fiscal authoririties.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleTestfinanzaemterResponse(EricFehlerCodeResponse): """ Represents a type that encapsulates the return values of the ERiC API function, which retrieves list of test fiscal authoririties. """ # @ApiMember(Description="The list of test fiscal authoririties.") rueckgabe: Optional[EricHoleTestfinanzaemter] = None """ The list of test fiscal authoririties. """ # @Route("/HoleTestfinanzaemter", "GET") # @Api(Description="A synchronous service to get the list of test tax offices for a specified federal state.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleTestfinanzaemter(HoleTestfinanzaemterBase, IReturn[HoleTestfinanzaemterResponse]): """ A synchronous service to get the list of test tax offices for a specified federal state. """ pass