DossierDetailsModel

@Serializable
data class DossierDetailsModel(val externalId: String?, val dossierUuid: String, val accountUuid: String, val primary: Boolean, val statusString: String, val status: DossierStatusModel? = statusString.getEnum<DossierStatusModel>(), val statusReason: String?, val createdAt: String, val updatedAt: String, val userDocuments: List<DocumentDetailsModel> = emptyList())

Dossier details.

Constructors

Link copied to clipboard
constructor(externalId: String?, dossierUuid: String, accountUuid: String, primary: Boolean, statusString: String, status: DossierStatusModel? = statusString.getEnum<DossierStatusModel>(), statusReason: String?, createdAt: String, updatedAt: String, userDocuments: List<DocumentDetailsModel> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "account_uuid")
val accountUuid: String

Account unique identifier

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: String

User dossier creation date

Link copied to clipboard
@SerialName(value = "dossier_uuid")
val dossierUuid: String

User dossier unique identifier

Link copied to clipboard
@SerialName(value = "external_id")
val externalId: String?

External identifier in your platform

Link copied to clipboard
@SerialName(value = "primary")
val primary: Boolean

If dossier is primary or not

Link copied to clipboard
@Transient
val status: DossierStatusModel?

User dossier status. Check statusString if null

Link copied to clipboard
@SerialName(value = "status_reason")
val statusReason: String?

User dossier status reason

Link copied to clipboard
@SerialName(value = "status")
val statusString: String

User dossier status

Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: String

User dossier modification date

Link copied to clipboard
@SerialName(value = "documents")
val userDocuments: List<DocumentDetailsModel>

User documents

Link copied to clipboard

Merged data extracted from the documents array via OCR.