Updated on 2026-08-14
This commit is contained in:
parent
a0ba5ab9d9
commit
286e28223c
7 changed files with 248 additions and 14 deletions
|
|
@ -1,20 +1,28 @@
|
|||
package com.tangem.domain.models.kyc
|
||||
|
||||
import com.squareup.moshi.Json
|
||||
import com.squareup.moshi.JsonClass
|
||||
|
||||
private const val APPROVED_KYC_STATUS = "approved"
|
||||
private const val IN_PROGRESS_KYC_STATUS = "in_progress"
|
||||
private const val DECLINED_KYC_STATUS = "declined"
|
||||
|
||||
@JsonClass(generateAdapter = false)
|
||||
enum class KycStatus {
|
||||
/** Initial state */
|
||||
@Json(name = "init")
|
||||
INIT,
|
||||
|
||||
/** Performing the check */
|
||||
@Json(name = "in_progress")
|
||||
PENDING,
|
||||
|
||||
/** SumSub approved */
|
||||
@Json(name = "approved")
|
||||
APPROVED,
|
||||
|
||||
/** The check failed, documents rejected */
|
||||
@Json(name = "declined")
|
||||
REJECTED,
|
||||
|
||||
;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue