/* Options: Date: 2026-01-24 21:49:45 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: DekodiereDatenAsync.* //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 { /** * An asynchronous service to decrypt a batch of data using a specified portal certificate. */ @Route(Path="/DekodiereDatenAsync", Verbs="POST") @Api(Description="An asynchronous service to decrypt a batch of data using a specified portal certificate.") public static class DekodiereDatenAsync extends DekodiereDatenBase implements IReturn { private static Object responseType = DekodiereDatenResponse.class; public Object getResponseType() { return responseType; } } /** * Represents a type that encapsulates a decoded value. */ @Api(Description="Represents a type that encapsulates a decoded value.") public static class DekodiereDatenResponse extends EricFehlerCodeResponse { /** * The decoded value. */ @ApiMember(Description="The decoded value.") public String rueckgabe = null; public String getRueckgabe() { return rueckgabe; } public DekodiereDatenResponse setRueckgabe(String value) { this.rueckgabe = value; return this; } } /** * Represents a portal certificate that is protected by a password. */ @Api(Description="Represents a portal certificate that is protected by a password.") public static class PortalCertificate extends FileBase implements ISecuredCertificate { /** * The file name of the certificate. */ @ApiMember(Description="The file name of the certificate.") @StringLength(MaximumLength=128) public String name = null; /** * The password to protect the certificate from unauthorized access. */ @StringLength(MaximumLength=255) @ApiMember(Description="The password to protect the certificate from unauthorized access.") public String pin = null; /** * The description of the certificate. */ @StringLength(MaximumLength=2147483647) @ApiMember(Description="The description of the certificate.") public String description = null; /** * Tags that can be used to label or identify the certificate. */ @ApiMember(Description="Tags that can be used to label or identify the certificate.") public ArrayList tags = new ArrayList(); public String getName() { return name; } public PortalCertificate setName(String value) { this.name = value; return this; } public String getPin() { return pin; } public PortalCertificate setPin(String value) { this.pin = value; return this; } public String getDescription() { return description; } public PortalCertificate setDescription(String value) { this.description = value; return this; } public ArrayList getTags() { return tags; } public PortalCertificate setTags(ArrayList value) { this.tags = value; return this; } } public static class Base64EingabeData implements IHasIndex { public String id = null; public String base64Eingabe = null; public Integer index = null; public String getId() { return id; } public Base64EingabeData setId(String value) { this.id = value; return this; } public String getBase64Eingabe() { return base64Eingabe; } public Base64EingabeData setBase64Eingabe(String value) { this.base64Eingabe = value; return this; } public Integer getIndex() { return index; } public Base64EingabeData setIndex(Integer value) { this.index = value; return this; } } /** * A base service to decrypt data using a specified portal certificate. */ @Api(Description="A base service to decrypt data using a specified portal certificate.") public static class DekodiereDatenBase implements IPost { /** * The authentification certificate. */ @ApiMember(Description="The authentification certificate.") public PortalCertificate zertifikat = null; /** * The base-64-encrypted data that is retrieved with the 'ElsterDatenabholung' operation.It is usually located under the element /Elster/DatenTeil/Nutzdatenblock/Nutzdaten/Datenabholung/Abholung/Datenpaket of the ELSTER document. */ @ApiMember(Description="The base-64-encrypted data that is retrieved with the 'ElsterDatenabholung' operation.It is usually located under the element /Elster/DatenTeil/Nutzdatenblock/Nutzdaten/Datenabholung/Abholung/Datenpaket of the ELSTER document.") public Base64EingabeData data = null; public PortalCertificate getZertifikat() { return zertifikat; } public DekodiereDatenBase setZertifikat(PortalCertificate value) { this.zertifikat = value; return this; } public Base64EingabeData getData() { return data; } public DekodiereDatenBase setData(Base64EingabeData value) { this.data = value; return this; } } public static interface IHasIndex { public Integer index = null; } /** * Represents a base class for a file with raw data. */ @Api(Description="Represents a base class for a file with raw data.") public static class FileBase { /** * The raw data content of the file in bytes. */ @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") public byte[] content = null; public byte[] getContent() { return content; } public FileBase setContent(byte[] value) { this.content = value; return this; } } public static interface ISecuredCertificate { public String pin = null; } /** * 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; } } }