DossierDetailsModel

data class DossierDetailsModel(@Json(name = "external_id") val externalId: String?, @Json(name = "dossier_uuid") val dossierUuid: String, @Json(name = "account_uuid") val accountUuid: String, @Json(name = "primary") val primary: Boolean, @Json(name = "status") val statusString: String, @Json(ignore = true) val status: DossierStatusModel? = statusString.getEnum<DossierStatusModel>(), @Json(name = "status_reason") val statusReason: String?, @Json(name = "created_at") val createdAt: String, @Json(name = "updated_at") val updatedAt: String, @Json(name = "country_of_issuance") val countryOfIssuance: CountryModel? = null, @Json(name = "documents") val userDocuments: List<DocumentDetailsModel> = emptyList())

Dossier details.

Constructors

Link copied to clipboard
constructor(@Json(name = "external_id") externalId: String?, @Json(name = "dossier_uuid") dossierUuid: String, @Json(name = "account_uuid") accountUuid: String, @Json(name = "primary") primary: Boolean, @Json(name = "status") statusString: String, @Json(ignore = true) status: DossierStatusModel? = statusString.getEnum<DossierStatusModel>(), @Json(name = "status_reason") statusReason: String?, @Json(name = "created_at") createdAt: String, @Json(name = "updated_at") updatedAt: String, @Json(name = "country_of_issuance") countryOfIssuance: CountryModel? = null, @Json(name = "documents") userDocuments: List<DocumentDetailsModel> = emptyList())

Properties

Link copied to clipboard

Account unique identifier

Link copied to clipboard
val countryOfIssuance: CountryModel? = null

User origin country of the submitted documents

Link copied to clipboard

User dossier creation date

Link copied to clipboard

User dossier unique identifier

Link copied to clipboard

External identifier in your platform

Link copied to clipboard

If dossier is primary or not

Link copied to clipboard

User dossier status. Check statusString if null

Link copied to clipboard

User dossier status reason

Link copied to clipboard

User dossier status

Link copied to clipboard

User dossier modification date

Link copied to clipboard
Link copied to clipboard

Merged data extracted from the documents array via OCR.