/* Options: Date: 2026-01-25 17:08:24 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: HoleFinanzamtsdaten.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { /** * A synchronous service to get tax office information for a specified Federal Tax Office Number. */ @Route(Path="/HoleFinanzamtsdaten/{BufaNr}", Verbs="GET") @Api(Description="A synchronous service to get tax office information for a specified Federal Tax Office Number.") public static class HoleFinanzamtsdaten extends HoleFinanzamtsdatenBase implements IReturn { private static Object responseType = HoleFinanzamtsdatenResponse.class; public Object getResponseType() { return responseType; } } /** * 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.") public static class HoleFinanzamtsdatenResponse extends EricFehlerCodeResponse { /** * The details of a specified tax office. */ @ApiMember(Description="The details of a specified tax office.") public EricHoleFinanzamtsdaten rueckgabe = null; public EricHoleFinanzamtsdaten getRueckgabe() { return rueckgabe; } public HoleFinanzamtsdatenResponse setRueckgabe(EricHoleFinanzamtsdaten value) { this.rueckgabe = value; return this; } } /** * 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.") public static class HoleFinanzamtsdatenBase implements IGet { /** * The Federal Tax Office Number. */ @ApiMember(Description="The Federal Tax Office Number.", Name="BufaNr") public String bufaNr = null; public String getBufaNr() { return bufaNr; } public HoleFinanzamtsdatenBase setBufaNr(String value) { this.bufaNr = value; return this; } } /** * 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.") public static class EricHoleFinanzamtsdaten { /** * The version of the information structure. */ @ApiMember(Description="The version of the information structure.") public Long version = null; /** * The details of the fiscal authority. */ @ApiMember(Description="The details of the fiscal authority.") public Finanzamtsdaten finanzamtsdaten = null; public Long getVersion() { return version; } public EricHoleFinanzamtsdaten setVersion(Long value) { this.version = value; return this; } public Finanzamtsdaten getFinanzamtsdaten() { return finanzamtsdaten; } public EricHoleFinanzamtsdaten setFinanzamtsdaten(Finanzamtsdaten value) { this.finanzamtsdaten = value; return this; } } /** * Represents a structure that encapsulates details of fiscal authorities. */ @Api(Description="Represents a structure that encapsulates details of fiscal authorities.") public static class Finanzamtsdaten { /** * The Federal Tax Office (Bundesfinanzamt) identification number of the fiscal authority. */ @ApiMember(Description="The Federal Tax Office (Bundesfinanzamt) identification number of the fiscal authority.") public String buFaNr = null; /** * The name of the fiscal authority. */ @ApiMember(Description="The name of the fiscal authority.") public String name = null; /** * The list of addresses of the fiscal authority. */ @ApiMember(Description="The list of addresses of the fiscal authority.") public AdresseListe adresseListe = null; /** * The list of business contacts of the fiscal authority. */ @ApiMember(Description="The list of business contacts of the fiscal authority.") public KontaktListe kontaktListe = null; /** * The list of bank accounts of the fiscal authority. */ @ApiMember(Description="The list of bank accounts of the fiscal authority.") public BankverbindungListe bankverbindungListe = null; /** * The opening hours of the fiscal authority. */ @ApiMember(Description="The opening hours of the fiscal authority.") public OeffnungszeitListe oeffnungszeitListe = null; /** * The list of comments of the fiscal authority. */ @ApiMember(Description="The list of comments of the fiscal authority.") public BemerkungListe bemerkungListe = null; /** * The central processing office of the fiscal authority. */ @ApiMember(Description="The central processing office of the fiscal authority.") public Hauptstelle hauptstelle = null; /** * The branch of the fiscal authority. */ @ApiMember(Description="The branch of the fiscal authority.") public String aussenstelle = null; public String getBuFaNr() { return buFaNr; } public Finanzamtsdaten setBuFaNr(String value) { this.buFaNr = value; return this; } public String getName() { return name; } public Finanzamtsdaten setName(String value) { this.name = value; return this; } public AdresseListe getAdresseListe() { return adresseListe; } public Finanzamtsdaten setAdresseListe(AdresseListe value) { this.adresseListe = value; return this; } public KontaktListe getKontaktListe() { return kontaktListe; } public Finanzamtsdaten setKontaktListe(KontaktListe value) { this.kontaktListe = value; return this; } public BankverbindungListe getBankverbindungListe() { return bankverbindungListe; } public Finanzamtsdaten setBankverbindungListe(BankverbindungListe value) { this.bankverbindungListe = value; return this; } public OeffnungszeitListe getOeffnungszeitListe() { return oeffnungszeitListe; } public Finanzamtsdaten setOeffnungszeitListe(OeffnungszeitListe value) { this.oeffnungszeitListe = value; return this; } public BemerkungListe getBemerkungListe() { return bemerkungListe; } public Finanzamtsdaten setBemerkungListe(BemerkungListe value) { this.bemerkungListe = value; return this; } public Hauptstelle getHauptstelle() { return hauptstelle; } public Finanzamtsdaten setHauptstelle(Hauptstelle value) { this.hauptstelle = value; return this; } public String getAussenstelle() { return aussenstelle; } public Finanzamtsdaten setAussenstelle(String value) { this.aussenstelle = value; return this; } } /** * Represents a list of Adresse items. */ public static class AdresseListe { } /** * Represents a list of business contacts. */ public static class KontaktListe { } /** * Represents a list of bank details */ public static class BankverbindungListe { } /** * Represents a list of information on the opening hours. */ public static class OeffnungszeitListe { } /** * Represents a list of comments. */ public static class BemerkungListe { } /** * Represents Represents a central processing office. */ @Api(Description="Represents Represents a central processing office.") public static class Hauptstelle { /** * The Federal Tax Office (Bundesfinanzamt) identification number of the office. */ @ApiMember(Description="The Federal Tax Office (Bundesfinanzamt) identification number of the office.") public String buFaNr = null; /** * The name of the office. */ @ApiMember(Description="The name of the office.") public String name = null; public String getBuFaNr() { return buFaNr; } public Hauptstelle setBuFaNr(String value) { this.buFaNr = value; return this; } public String getName() { return name; } public Hauptstelle setName(String value) { this.name = value; return this; } } /** * 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.") public static class EricFehlerCodeResponse extends ServiceReponseBase { /** * The status code that the ERiC API function returns. */ @ApiMember(Description="The status code that the ERiC API function returns.") public EricFehlerCode statusCode = null; /** * The status message that the ERiC API function returns. */ @ApiMember(Description="The status message that the ERiC API function returns.") public String statusText = null; public EricFehlerCode getStatusCode() { return statusCode; } public EricFehlerCodeResponse setStatusCode(EricFehlerCode value) { this.statusCode = value; return this; } public String getStatusText() { return statusText; } public EricFehlerCodeResponse setStatusText(String value) { this.statusText = value; return this; } } }