InternalPassport

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

Constructors

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

Properties

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

Extensions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifEmail(block: (Email) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.ifPassport(block: (Passport) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenEmail(block: (Email) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> EncryptedPassportElement.whenPassport(block: (Passport) -> T): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard