IdentityCard

@Serializable
data class IdentityCard(val data: EncryptedData, val frontSide: PassportFile? = null, val reverseSide: PassportFile? = null, val selfie: PassportFile? = null, val translations: List<PassportFile> = emptyList(), val hash: PassportElementHash) : EncryptedPassportElementWithTranslatableIDDocument

Constructors

Link copied to clipboard
constructor(data: EncryptedData, frontSide: PassportFile? = null, reverseSide: PassportFile? = null, selfie: PassportFile? = null, translations: List<PassportFile> = emptyList(), hash: PassportElementHash)

Properties

Link copied to clipboard
@SerialName(value = "data")
@Serializable(with = Base64BytesToFromStringSerializer::class)
open override val data: EncryptedData
Link copied to clipboard
@SerialName(value = "front_side")
open override val frontSide: PassportFile? = null
Link copied to clipboard
@SerialName(value = "hash")
@Serializable(with = Base64BytesToFromStringSerializer::class)
open override val hash: PassportElementHash
Link copied to clipboard
@SerialName(value = "reverse_side")
open override val reverseSide: PassportFile? = null
Link copied to clipboard
@SerialName(value = "selfie")
open override val selfie: PassportFile? = null
Link copied to clipboard
@SerialName(value = "translation")
open override val translations: List<PassportFile>
Link copied to clipboard

Functions