/* Options: Date: 2024-04-29 10:59:23 Version: 8.12 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.pwc.de //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetDefinitionKeys.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* /** * A synchronous service to retrieve keys for the identification of VAT properties. */ @Route(Path="/GetDefinitionKeys", Verbs="GET") @Api(Description="A synchronous service to retrieve keys for the identification of VAT properties.") open class GetDefinitionKeys : GetDefinitionKeysBase(), IReturn> { /** * The year of the assessment (Veranlagungsjahr). */ @ApiMember(Description="The year of the assessment (Veranlagungsjahr).") var year:Int? = null /** * The type of VAT return. */ @ApiMember(Description="The type of VAT return.") var vatType:VatType? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = GetDefinitionKeys.responseType } enum class VatType { UStVA, UStDV, UStSV, USt, Zm, } /** * Create a VAT return from a Return Builder definition. Use the retrieved values as keys for the dictionary of properties that Return Builder provides. */ @Api(Description="Create a VAT return from a Return Builder definition.\n Use the retrieved values as keys for the dictionary of properties that Return Builder provides.") open class GetDefinitionKeysBase : IGet { /** * The year of the assessment (Veranlagungsjahr). */ @ApiMember(Description="The year of the assessment (Veranlagungsjahr).") var year:Int? = null /** * The type of VAT return. */ @ApiMember(Description="The type of VAT return.") var vatType:VatType? = null }