PhilippinesQCIdentificaionCardModel
A class derived from IDCardModel containing details specific to the Philippines QC ID card document
Declaration
Only relevant details are shown, boilerplate or standard Swift generated code is omitted
Summary
Public variables
Name | Type | Description | Data source |
CivilStatus | String? | The Civil Status of the subject as found on the document. | OCR |
BloodType | String? | The Blood Type of the subject as found on the document. | OCR |
ValidUntil | Date? | Date valid until | |
QCReferenceNumber | String? | The QC reference number of the subject as found on the document. | OCR |
Address | String? | The address of the subject as found on the document. | OCR |
DateIssued | Date? | The issue date of the document as found on the document. | OCR |
DisabilityType | String? | The Disability Type of the subject as found on the document. | |
BarcodeData | String? | Barcoded data | OCR |
Public methods
Signature | Return Type | Description |
Void | Encodes the model using the encoder provided. Used to convert the model to JSON. |
Public variables
CivilStatus
@objc final public var
CivilStatus: String? { get }
Example: "Citizen"
The civil status of the subject as found on the document.
BloodType
@objc final public var
BloodType: String? { get }
Example: "O+"
The blood type of the subject as found on the document.
ValidUntil
@objc final public var
ValidUntil: String? { get }
Example: "1990/01/01"
The date valid unit of the the document.
QCReferenceNumber
@objc final public var QC
ReferenceNumber: String? { get }
Example: "012345678912"
The qc reference number of the subject as found on the document.
Address
@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.
DateIssued
@objc final public var
DateIssued: Date? { get }
Example: 1990/01/01
The issue date of the document as found on the document.
DisabilityType
@objc final public var
DisabilityType: String? { get }
Example: "type"
The disability type of the subject as found on the document.
BarcodeData
@objc final public var
BarcodeData: String? { get }
Example: ""
The Barcode data of the document.
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.
See also
Last updated