Comment on page
PhilippinesFirearmsLicenseModel
A class derived from DocumentModel containing details specific to the Philippines firearms license document
@objc final public class PhilippinesFirearmsLicenseModel : DocumentModel {
@objc final public var fullName: String? { get }
@objc final public var licenseToOwnAndPossessFirearmNumber: String? { get }
@objc final public var qualification: String? { get }
@objc final public var dateApproved: Date? { get }
@objc final public var dateExpiry: Date? { get }
@objc final public var otherLicenses: String? { get }
@objc final public var address: String? { get }
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 full name of the subject as found on the document. | OCR | |
String? | The license to own and possess firearm number as found on the document. | OCR | |
String? | The qualification of the subject as found on the document. | OCR | |
Date? | The date approved of the document as found on the document. | OCR | |
Date? | The expiry date of the document as found on the document. | OCR | |
String? | Other licenses of the subject as found on the document. | OCR | |
String? | The address of the subject as found on the document. | OCR |
Signature | Return Type | Description |
Void | Encodes the model using the encoder provided. Used to convert the model to JSON. |
@objc final public var fullName: String? { get }
Example:
"JOHN DOE"
The full name of the subject as found on the document.
@objc final public var licenseToOwnAndPossessFirearmNumber: String? { get }
Example:
"2020I-ABC1234567-ABC"
The license to own and possess firearm number as found on the document.
@objc final public var qualification: String? { get }
Example:
"PRIVATE EMPLOYEE"
The qualification of the subject as found on the document.
@objc final public var dateApproved: Date? { get }
Example:
1990/01/01
The date approved of the document as found on the document.
@objc final public var dateExpiry: Date? { get }
Example:
1990/01/01
The expiry date of the document as found on the document.
@objc final public var otherLicenses: String? { get }
Example:
"NONE"
Other licenses of the subject as found on the 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 document.
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