com.onfido.api.client.data.MRZDocument.kt Maven / Gradle / Ivy
package com.onfido.api.client.data
import kotlinx.serialization.Serializable
@Serializable
public data class MRZDocument(
val documentType: String? = null,
val countryCode: String? = null,
val name: String? = null,
val surname: String? = null,
val documentNumber: String? = null,
val nationality: String? = null,
val dateOfBirth: String? = null,
val dateOfIssue: String? = null,
val dateOfExpire: String? = null,
val sex: String? = null,
) {
val isValid: Boolean
get() = documentNumber != null && dateOfBirth != null && dateOfExpire != null
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy