/* Options: Date: 2026-01-25 18:54:41 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DekodiereDaten.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* /** * A synchronous service to decrypt a batch of data using a specified portal certificate. */ @Route(Path="/DekodiereDaten", Verbs="POST") @Api(Description="A synchronous service to decrypt a batch of data using a specified portal certificate.") open class DekodiereDaten : DekodiereDatenBase(), IReturn { companion object { private val responseType = DekodiereDatenResponse::class.java } override fun getResponseType(): Any? = DekodiereDaten.responseType } /** * Represents a type that encapsulates a decoded value. */ @Api(Description="Represents a type that encapsulates a decoded value.") open class DekodiereDatenResponse : EricFehlerCodeResponse() { /** * The decoded value. */ @ApiMember(Description="The decoded value.") open var rueckgabe:String? = null } /** * Represents a portal certificate that is protected by a password. */ @Api(Description="Represents a portal certificate that is protected by a password.") open class PortalCertificate : FileBase(), ISecuredCertificate { /** * The file name of the certificate. */ @ApiMember(Description="The file name of the certificate.") @StringLength(MaximumLength=128) open var name:String? = null /** * The password to protect the certificate from unauthorized access. */ @StringLength(MaximumLength=255) @ApiMember(Description="The password to protect the certificate from unauthorized access.") override var pin:String? = null /** * The description of the certificate. */ @StringLength(MaximumLength=2147483647) @ApiMember(Description="The description of the certificate.") open var description:String? = 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.") open var tags:ArrayList = ArrayList() } open class Base64EingabeData : IHasIndex { open var id:String? = null open var base64Eingabe:String? = null override var index:Int? = null } /** * A base service to decrypt data using a specified portal certificate. */ @Api(Description="A base service to decrypt data using a specified portal certificate.") open class DekodiereDatenBase : IPost { /** * The authentification certificate. */ @ApiMember(Description="The authentification certificate.") open var zertifikat:PortalCertificate? = 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.") @SerializedName("data") open var Data:Base64EingabeData? = null } interface IHasIndex { var index:Int? } /** * Represents a base class for a file with raw data. */ @Api(Description="Represents a base class for a file with raw data.") open class FileBase { /** * The raw data content of the file in bytes. */ @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") open var content:ByteArray? = null } interface ISecuredCertificate { var pin:String? } /** * 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.") open class EricFehlerCodeResponse : ServiceReponseBase() { /** * The status code that the ERiC API function returns. */ @ApiMember(Description="The status code that the ERiC API function returns.") open var statusCode:EricFehlerCode? = null /** * The status message that the ERiC API function returns. */ @ApiMember(Description="The status message that the ERiC API function returns.") open var statusText:String? = null }