VerifyApiClassInfo

@Serializable
data class VerifyApiClassInfo(val country: String?, val region: String?, val type: String?, val countryName: String?, val isoAlpha3CountryCode: String?, val isoAlpha2CountryCode: String?, val isoNumericCountryCode: String?)

Document class information as returned by the Verify HTTP API (v2/v3).

This is a data transfer model: the backend sends flat string values for country, region, and type (known enum names or future unknown strings). It must not be confused with com.microblink.blinkidverify.core.result.classinfo.DocumentClassInfo, which is the SDK domain model populated from native capture (id + rawValue).

Constructors

Link copied to clipboard
constructor(country: String?, region: String?, type: String?, countryName: String?, isoAlpha3CountryCode: String?, isoAlpha2CountryCode: String?, isoNumericCountryCode: String?)

Properties

Link copied to clipboard

Document country name from the API, e.g. "Croatia".

Link copied to clipboard

The name of the country that issued the scanned document.

Link copied to clipboard

The 2 letter ISO code of the issuing country.

Link copied to clipboard

The 3 letter ISO code of the issuing country.

Link copied to clipboard

The ISO numeric code of the issuing country.

Link copied to clipboard

Document region name from the API.

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

Document type name from the API, e.g. "Id". Serialized as "type" in JSON.

Functions

Link copied to clipboard

Converts Verify API class info into the SDK domain DocumentClassInfo.