AddressDto

@Serializable
@Xml(name = "Address")
data class AddressDto(@Element(name = "PrivateCode") val privateCodes: List<PrivateCodeDto>? = emptyList(), @PropertyElement(name = "PublicCode") val publicCode: String, @Element(name = "Name") val name: NameDto, @Element(name = "NameSuffix") val nameSuffix: NameDto? = null, @PropertyElement(name = "CountryName") val countryName: String? = null, @PropertyElement(name = "PostCode") val postCode: String? = null, @Element(name = "TopographicPlaceName") val topographicPlaceName: NameDto? = null, @PropertyElement(name = "TopographicPlaceRef") val topographicPlaceRef: String? = null, @PropertyElement(name = "Street") val street: String? = null, @PropertyElement(name = "HouseNumber") val houseNumber: String? = null, @PropertyElement(name = "CrossRoad") val crossRoad: String? = null) : AbstractPlaceDto

Created by Michael Ruppen on 08.04.2024

Serializable and Parcelize annotation is both needed for compose navigation with custom types

Constructors

Link copied to clipboard
constructor(@Element(name = "PrivateCode") privateCodes: List<PrivateCodeDto>? = emptyList(), @PropertyElement(name = "PublicCode") publicCode: String, @Element(name = "Name") name: NameDto, @Element(name = "NameSuffix") nameSuffix: NameDto? = null, @PropertyElement(name = "CountryName") countryName: String? = null, @PropertyElement(name = "PostCode") postCode: String? = null, @Element(name = "TopographicPlaceName") topographicPlaceName: NameDto? = null, @PropertyElement(name = "TopographicPlaceRef") topographicPlaceRef: String? = null, @PropertyElement(name = "Street") street: String? = null, @PropertyElement(name = "HouseNumber") houseNumber: String? = null, @PropertyElement(name = "CrossRoad") crossRoad: String? = null)

Properties

Link copied to clipboard
val countryName: String? = null
Link copied to clipboard
val crossRoad: String? = null
Link copied to clipboard
val houseNumber: String? = null
Link copied to clipboard
Link copied to clipboard
val nameSuffix: NameDto? = null
Link copied to clipboard
val postCode: String? = null
Link copied to clipboard
open override val privateCodes: List<PrivateCodeDto>?
Link copied to clipboard
Link copied to clipboard
val street: String? = null
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)