PhilippinesQCIdentificaionCardModel

A class derived from IDCardModel containing details specific to the Philippines QC ID card document

Declaration

@objc final public class PhilippinesQCIdentificaionCardModel: IDCardModel {
    @objc final var CivilStatus: String?
    @objc final var BloodType: String?
    @objc final var DateIssued: Date?
    @objc final var ValidUntil: Date?
    @objc final var DisabilityType: String?
    @objc final var CitizenType: String?
    @objc final var Address: String?
    @objc final var QCReferenceNumber: String?
    @objc final var BarcodeData: String?
    
    override final public func encode(to encoder: Encoder) throws
}

Only relevant details are shown, boilerplate or standard Swift generated code is omitted

Summary

Public variables

Public methods

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 QCReferenceNumber: 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