SBSDKBoardingPassDocumentFormat

@interface SBSDKBoardingPassDocumentFormat : SBSDKBarCodeScannerDocumentFormat

Boarding pass document description.

  • Number of legs in document.

    Declaration

    Objective-C

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

    Swift

    var numberOfLegs: Int { get set }
  • Passenger name.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var securityData: String { get set }
  • Legs information.

    Declaration

    Objective-C

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

    Swift

    var legs: [SBSDKBoardingPassLeg] { get set }