SBSDKBoardingPassDocumentFormat

@interface SBSDKBoardingPassDocumentFormat : SBSDKBarCodeScannerDocumentFormat

Boarding pass document description

  • Number of legs in document

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSInteger numberOfLegs;

    Swift

    var numberOfLegs: Int { get set }
  • Passenger name

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nonnull name;

    Swift

    var name: String { get set }
  • Value indicates that this ticket is an electronic ticket

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL electronicTicket;

    Swift

    var electronicTicket: Bool { get set }
  • Security data string

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nonnull securityData;

    Swift

    var securityData: String { get set }
  • Legs information

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSArray<SBSDKBoardingPassLeg *> *_Nonnull legs;

    Swift

    var legs: [SBSDKBoardingPassLeg] { get set }