DocumentExtractedAddressModel

@Serializable
data class DocumentExtractedAddressModel(val line1: String?, val line2: String?, val postalCode: String?, val city: String?, val state: String?, val countryString: String?, val country: CountryModel? = countryString?.getEnum<CountryModel>()) : Address

Document extracted address via OCR.

Constructors

Link copied to clipboard
constructor(line1: String?, line2: String?, postalCode: String?, city: String?, state: String?, countryString: String?, country: CountryModel? = countryString?.getEnum<CountryModel>())

Properties

Link copied to clipboard
@SerialName(value = "city")
open override val city: String?

Address city

Link copied to clipboard
@Transient
open override val country: CountryModel?

Address country, 3-letter code of the country (ISO 3166-1 alpha-3). Check countryString if null

Link copied to clipboard
@SerialName(value = "country")
val countryString: String?

Address country, 3-letter code of the country (ISO 3166-1 alpha-3).

Link copied to clipboard
@SerialName(value = "line_1")
open override val line1: String?

Address line One

Link copied to clipboard
@SerialName(value = "line_2")
open override val line2: String?

Address line Two

Link copied to clipboard
@SerialName(value = "postal_code")
open override val postalCode: String?

Address postal code

Link copied to clipboard
@SerialName(value = "state")
open override val state: String?

Address state