DSBarcodeDocumentData

@objc
open class DSBarcodeDocumentData : NSObject, DSDocumentData

Information about the scanned barcode of an identification document

  • Undocumented

    Declaration

    Swift

    open var rawBarcodeString: String? { get }
  • Creates an instance of the object with the given barcode data

    Declaration

    Swift

    @objc
    public convenience init(properties: [String : String])
  • Returns the barcode data as a dictionary

    Declaration

    Swift

    public var rawDocumentData: [String : String] { get }
  • First name of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var firstName: String? { get }
  • Middle name of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var middleName: String? { get }
  • Last name of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var lastName: String? { get }
  • Street address for the person listed in the barcode

    Declaration

    Swift

    @objc
    public var streetAddress: String? { get }
  • City for the person listed in the barcode

    Declaration

    Swift

    @objc
    public var city: String? { get }
  • State or Province for the person listed in the barcode

    Declaration

    Swift

    @objc
    public var state: String? { get }
  • Zipcode for the person listed in the barcode

    Declaration

    Swift

    @objc
    public var zipCode: String? { get }
  • ID’s document number

    Declaration

    Swift

    @objc
    public var documentNumber: String? { get }
  • State or Province endorsements

    Declaration

    Swift

    @objc
    public var endorsements: String? { get }
  • Height of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var height: String? { get }
  • Weight of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var weight: String? { get }
  • Eye color of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var eyeColor: String? { get }
  • Hair color of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var hairColor: String? { get }
  • Date of Birth of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var dateOfBirthString: String? { get }
  • sex

    Sex of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var sex: String? { get }
  • Expiration date of the document as a String

    Declaration

    Swift

    @objc
    public var expirationDateString: String? { get }
  • Issue date of the document as a String

    Declaration

    Swift

    @objc
    public var issueDateString: String? { get }
  • Class of the document

    Declaration

    Swift

    @objc
    public var documentClass: String? { get }
  • Restrictions on the document

    Declaration

    Swift

    @objc
    public var classRestrictions: String? { get }
  • Class endorsements of the document

    Declaration

    Swift

    @objc
    public var classEndorsements: String? { get }
  • Country of the person listed in the barcode

    Declaration

    Swift

    @objc
    public var country: String? { get }
  • Returns the full name listed in the barcode

    Declaration

    Swift

    @objc
    open var fullName: String? { get }
  • Returns the given name listed in the barcode

    Declaration

    Swift

    @objc
    open var givenName: String? { get }
  • Returns the organ donor status

    Declaration

    Swift

    @objc
    open var organDonor: String? { get }
  • Returns a string that represents the contents of the receiving class

    Declaration

    Swift

    open override var description: String { get }