Comment on page
PhilippinesSeafarerIdentificationRecordBookModel
A class derived from DocumentModel containing details specific to the Philippines seafarer identification record book document
@objc final public class PhilippinesSeafarerIdentificationRecordBookModel : DocumentModel {
@objc final public var fullName: String? { get }
@objc final public var dateOfBirth: Date? { get }
@objc final public var placeOfBirth: String? { get }
@objc final public var height: Float { get }
@objc final public var weight: Float { get }
@objc final public var eyeColor: String? { get }
@objc final public var hairColor: String? { get }
@objc final public var distinguishingMarks: String? { get }
@objc final public var sex: Sex { get }
@objc final public var dateOfIssue: Date? { get }
@objc final public var placeOfIssue: String? { get }
@objc final public var validUntil: Date? { 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 | |
Date? | The date of birth of the subject as found on the document. | OCR | |
String? | The place of birth of the subject as found on the document. | OCR | |
Float | The height of the subject as found on the document. | OCR | |
Float | The weight of the subject as found on the document. | OCR | |
String? | The eye color of the subject as found on the document. | OCR | |
String? | The hair color of the subject as found on the document. | OCR | |
String? | Distinguishing marks of the subject as found on the document. | OCR | |
The sex of the subject as found on the document. | OCR | ||
Date? | The date of issue of the document as found on the document. | OCR | |
String? | The place of issue of the document as found on the document. | OCR | |
Date? | The expiry date of the document 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 dateOfBirth: Date? { get }
Example:
1990/01/01
The date of birth of the subject as found on the document.
@objc final public var placeOfBirth: String? { get }
Example:
"QUEZON CITY"
The place of birth of the subject as found on the document.
@objc final public var height: Float { get }
Height is in centimeters
Example:
162.56
The height of the subject as found on the document.
@objc final public var weight: Float { get }
Weight is in kilograms
Example:
50
The weight of the subject as found on the document.
@objc final public var eyeColor: String? { get }
Example:
"BLACK"
The eye color of the subject as found on the document.
@objc final public var hairColor: String? { get }
Example:
"BLACK"
The hair color of the subject as found on the document.
@objc final public var distinguishingMarks: String? { get }
Example:
"NONE"
Distinguishing marks of the subject as found on the document.
Example:
Sex.Male
The sex of the subject as found on the document.
@objc final public var dateOfIssue: Date? { get }
Example:
1990/01/01
The date of issue of the document as found on the document.
@objc final public var placeOfIssue: String? { get }
Example:
"QUEZON CITY"
The place of issue of the document as found on the document.
@objc final public var validUntil: Date? { get }
Example:
1990/01/01
The expiry date of the document 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.