PhilippinesIntegratedBarIDModel

A class derived from DocumentModel containing details specific to the Philippines integrated bar ID document

Declaration

@objc final public class PhilippinesIntegratedBarIDModel : DocumentModel {
    @objc final public var fullName: String? { get }
    @objc final public var rollOfAttorneysNumber: String? { get }
    @objc final public var integratedBarPhilippinesChapter: String? { get }
    
    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

Name

Type

Description

Data source

String?

The full name of the subject as found on the document.

OCR

String?

The roll of attorneys number as found on the document.

OCR

String?

The IBP chapter as found on the document.

OCR

Public methods

Signature

Return Type

Description

Void

Encodes the model using the encoder provided. Used to convert the model to JSON.

Public variables

fullName

@objc final public var fullName: String? { get }

Example: "JOHN DOE"

The full name of the subject as found on the document.

rollOfAttorneysNumber

@objc final public var rollOfAttorneysNumber: String? { get }

Example: "12345"

The roll of attorneys number as found on the document.

integratedBarPhilippinesChapter

@objc final public var integratedBarPhilippinesChapter: String? { get }

Example: "QUEZON CITY"

The IBP chapter as found on 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