Comment on page
PhilippinesDriversLicenseModel
A class derived from DriversLicenseModel containing details specific to the Philippines drivers license document
@objc final public class PhilippinesDriversLicenseModel : DriversLicenseModel {
@objc final public var names: String? { get }
@objc final public var lastName: String? { get }
@objc final public var nationality: String? { get }
@objc final public var sex: Sex { get }
@objc final public var dateOfBirth: Date? { get }
@objc final public var address: String? { get }
@objc final public var expirationDate: Date? { get }
@objc final public var agencyCode: String? { get }
@objc override final public func saveImages()
override final public func encode(to encoder: Encoder) throws
}
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Name | Type | Description | Data source |
String? | The names of the subject as found on the drivers license document. | OCR | |
String? | The last name of the subject as found on the drivers license document. | OCR | |
String? | The nationality of the subject as found on the drivers license document. | OCR | |
The sex of the subject as found on the drivers license document. | OCR | ||
Date? | The date of birth of the subject as found on the drivers license document. | OCR | |
String? | The address of the subject as found on the drivers license document. | OCR | |
Date? | The expiration date of the drivers license document. | OCR | |
String? | The agency code of the subject as found on the drivers license document. | OCR |
Signature | Return Type | Description |
Void | ||
Void | Encodes the model using the encoder provided. Used to convert the model to JSON. |
@objc final public var names: String? { get }
Example:
"JOHN"
The names of the subject as found on the drivers license document.
@objc final public var lastName: String? { get }
Example:
"DOE"
The last name of the subject as found on the drivers license document.
@objc final public var nationality: String? { get }
Example:
"PHL"
The nationality of the subject as found on the drivers license document.
Example:
Sex.Male
The sex of the subject as found on the drivers license document.
@objc final public var dateOfBirth: Date? { get }
Example:
1990/01/01
The date of birth of the subject as found on the drivers license document.
@objc final public var address: String? { get }
Example:
"UNIT/HOUSE NO. BUILDING, STREET NAME, BARANGAY, CITY/MUNICIPALITY"
The address of the subject as found on the drivers license document.
@objc final public var expirationDate: Date? { get }
Example:
2025/01/01
The expiration date of the drivers license document.
@objc final public var agencyCode: String? { get }
Example:
"N32"
The agency code of the subject as found on the drivers license document.
@objc override final public func saveImages()
override final public func encode(to encoder: Encoder) throws
Encodes the model using the encoder provided. Used to convert the model to JSON.
Last modified 1yr ago