SouthAfricaVisitorVisaModel
A class derived from DocumentModel containing details specific to the South Africa Visitor Visa document
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Public variables
Public methods
Public variables
barcodeData
@objc final public var barcodeData: String? { get }
Example: LQQBC7D
Data found within the document's barcode.
controlNumber
@objc final public var controlNumber: String? { get }
Example: AA0064341
The document's control number as specified on the South Africa Visitor Visa.
dateOfExpiry
@objc final public var dateOfExpiry: Date? { get }
Example: 2020-08-29
The date of expiry of the visa as specified on the South Africa Visitor Visa.
issuedAt
@objc final public var issuedAt: String? { get }
Example: HEAD OFFICE
The location that the visa was issued at.
names
@objc final public var names: String? { get }
Example: John P Smith
The names and surnames of the subject as specified on the South Africa Visitor Visa.
numberOfEntries
@objc final public var numberOfEntries: String? { get }
Example: Multiple
The number of entries as specified on the South Africa Visitor Visa.
passportNumber
@objc final public var passportNumber: String? { get }
Example: BA0934030
The document's passport number.
referenceNumber
@objc final public var referenceNumber: String? { get }
Example: BFT 51135/2018/TRVC
The document's reference number.
validFrom
@objc final public var validFrom: Date? { get }
Example: 2020-08-29
The date of issue of the visa as specified on the South Africa Visitor Visa.
Public methods
encode(to encoder: Encoder)
override final public func encode(to encoder: Encoder) throws
This function also calls its super function
Encodes the model using the encoder provided. Used to convert the model to JSON.