ALDataGroup1 Class Reference

Inherits from NSObject
Declared in ALNFCResult.h

Overview

Data group from an NFC scan result, containing textual and date information from the passport

  documentType

Document type

@property (nonatomic, copy, nullable) NSString *documentType

Declared In

ALNFCResult.h

  issuingStateCode

Issuing state code

@property (nonatomic, copy, nullable) NSString *issuingStateCode

Declared In

ALNFCResult.h

  documentNumber

Document number

@property (nonatomic, copy, nullable) NSString *documentNumber

Declared In

ALNFCResult.h

  dateOfExpiry

Date of expiry

@property (nonatomic, strong, nullable) NSDate *dateOfExpiry

Declared In

ALNFCResult.h

  gender

Gender

@property (nonatomic, copy, nullable) NSString *gender

Declared In

ALNFCResult.h

  nationality

Nationality

@property (nonatomic, copy, nullable) NSString *nationality

Declared In

ALNFCResult.h

  lastName

Last name

@property (nonatomic, copy, nullable) NSString *lastName

Declared In

ALNFCResult.h

  firstName

First name

@property (nonatomic, copy, nullable) NSString *firstName

Declared In

ALNFCResult.h

  dateOfBirth

Date of birth

@property (nonatomic, strong, nullable) NSDate *dateOfBirth

Declared In

ALNFCResult.h

– initWithDocumentType:issuingStateCode:documentNumber:dateOfExpiry:gender:nationality:lastName:firstName:dateOfBirth:

Initializes a data group with string / date information from a passport

- (instancetype)initWithDocumentType:(NSString *_Nullable)documentType issuingStateCode:(NSString *_Nullable)issuingStateCode documentNumber:(NSString *_Nullable)documentNumber dateOfExpiry:(NSDate *_Nullable)dateOfExpiry gender:(NSString *_Nullable)gender nationality:(NSString *_Nullable)nationality lastName:(NSString *_Nullable)lastName firstName:(NSString *_Nullable)firstName dateOfBirth:(NSDate *_Nullable)dateOfBirth

Parameters

documentType

documentType

issuingStateCode

issuingStateCode

documentNumber

documentNumber

dateOfExpiry

dateOfExpiry

gender

gender

nationality

nationality

lastName

lastName

firstName

firstName

dateOfBirth

dateOfBirth

Return Value

the ALDataGroup1 object

Declared In

ALNFCResult.h

– initWithPassportDataElements:

Initializes a data group with a dictionary of passport details

- (instancetype)initWithPassportDataElements:(NSDictionary<NSString*,NSString*> *)passportDataElements

Parameters

passportDataElements

NSDictionary mapping fields to their values

Return Value

the ALDataGroup1 object

Declared In

ALNFCResult.h