Visa Details

Defined in framework ScanditIdCapture

enum ApplicationStatus

Added in version 8.4.0

An enumeration of possible application status for a visa.

approved

Added in version 8.4.0

The visa application was approved.

granted

Added in version 8.4.0

The visa application was granted.

pending

Added in version 8.4.0

The visa application is pending.

denied

Added in version 8.4.0

The visa application was denied.

revoked

Added in version 8.4.0

The visa application was revoked.

expired

Added in version 8.4.0

The visa application has expired.

cancelled

Added in version 8.4.0

The visa application was cancelled.

other

Added in version 8.4.0

The visa application is of an unknown status.

unknown

Added in version 8.4.0

The visa application is of an unknown status.

description
var description: String { get }

Added in version 8.4.0

Returns a human-readable string for the application status.

VisaDetails
open class VisaDetails : NSObject

Added in version 8.4.0

This class represents data extracted from a visa document processed in the cloud.

applicationStatus
open var applicationStatus: ApplicationStatus { get }

Added in version 8.4.0

The status of the application for the document.

durationInDays
var durationInDays: Int? { get }

Added in version 8.4.0

The duration of the visa in days.

fullName
open var fullName: String? { get }

Added in version 8.4.0

The full name of the person holding the visa or applicant on the document.

geographicValidity
open var geographicValidity: String? { get }

Added in version 8.4.0

The geographic validity of the document. For example “Schengen States” or “United States of America”.

issuingCountryISO
open var issuingCountryISO: String? { get }

Added in version 8.4.0

The ISO code (Alpha-3 code) of the country issuing the document.

issuingAuthority
open var issuingAuthority: String? { get }

Added in version 8.4.0

The authority that issued the document, or the place where it was issued.

dateOfIssue
open var dateOfIssue: DateResult? { get }

Added in version 8.4.0

The date when the visa was issued.

passportNumber
open var passportNumber: String? { get }

Added in version 8.4.0

The number of the passport referenced by the visa.

multipleEntries
var multipleEntries: Bool? { get }

Added in version 8.4.0

Whether the visa allows multiple entries.

numberOfEntries
var numberOfEntries: Int? { get }

Added in version 8.4.0

The number of entries allowed on the visa.

validFrom
open var validFrom: DateResult? { get }

Added in version 8.4.0

The start date of the visa validity.

validUntil
open var validUntil: DateResult? { get }

Added in version 8.4.0

The end date of the visa validity. Sometimes also called “expiry date”.

visaNumber
open var visaNumber: String? { get }

Added in version 8.4.0

The number of the visa.

visaType
open var visaType: String? { get }

Added in version 8.4.0

The type of the visa. Usually a single character like ‘C’, ‘A’ or ‘D’.

foilNumber
open var foilNumber: String? { get }

Added in version 8.4.0

The foil number of the visa, if available. Typically an eight-digit alphanumeric code printed in red ink on a U.S. visa sticker, usually found in the lower right-hand corner.