IdInformationDetailsModel

data class IdInformationDetailsModel(@Json(name = "id_type") val idTypeString: String?, @Json(ignore = true) val idType: IdTypeModel? = idTypeString?.getEnum<IdTypeModel>(), @Json(name = "id_number_last_4") val idNumberLast4: String?, @Json(name = "id_country") val idCountryString: String?, @Json(ignore = true) val idCountry: CountryModel? = idCountryString?.getEnum<CountryModel>(), @Json(name = "id_expiry_date") val idExpireDate: String?)

User identity document information. Only present for EU consumers.

Constructors

Link copied to clipboard
constructor(@Json(name = "id_type") idTypeString: String?, @Json(ignore = true) idType: IdTypeModel? = idTypeString?.getEnum<IdTypeModel>(), @Json(name = "id_number_last_4") idNumberLast4: String?, @Json(name = "id_country") idCountryString: String?, @Json(ignore = true) idCountry: CountryModel? = idCountryString?.getEnum<CountryModel>(), @Json(name = "id_expiry_date") idExpireDate: String?)

Properties

Link copied to clipboard
val idCountry: CountryModel?

Country that issued the identity document. Three-letter country code (ISO 3166-1 alpha-3). Check idCountryString if null.

Link copied to clipboard

Country that issued the identity document. Three-letter country code (ISO 3166-1 alpha-3).

Link copied to clipboard

The id expiry date.

Link copied to clipboard

The last 4 characters of the identity document number.

Link copied to clipboard

The type of identity document. Check idTypeString if null.

Link copied to clipboard

The type of identity document.