Class BoardingPassDocumentFormat
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BoardingPassDocumentFormat extends BaseDocumentFormat implements Parcelable
Boarding Pass Document Format
-
-
Field Summary
Fields Modifier and Type Field Description private final String
typeName
private final Boolean
parsedSuccessful
private final Integer
numberOfLegs
private final Boolean
electronicTicket
private final String
securityData
private final String
name
private final List<BoardingPassLeg>
legs
-
Constructor Summary
Constructors Constructor Description BoardingPassDocumentFormat(Boolean parsedSuccessful, Integer numberOfLegs, Boolean electronicTicket, String securityData, String name, List<BoardingPassLeg> legs)
-
Method Summary
Modifier and Type Method Description String
getTypeName()
Boolean
getParsedSuccessful()
True if the document was parsed successfully. final Integer
getNumberOfLegs()
Number of legs final Boolean
getElectronicTicket()
True if electronic ticket, false otherwise. final String
getSecurityData()
Security Data final String
getName()
Passenger's name final List<BoardingPassLeg>
getLegs()
Legs JSONObject
toJson()
-
-
Method Detail
-
getTypeName
String getTypeName()
-
getParsedSuccessful
Boolean getParsedSuccessful()
True if the document was parsed successfully.
-
getNumberOfLegs
final Integer getNumberOfLegs()
Number of legs
-
getElectronicTicket
final Boolean getElectronicTicket()
True if electronic ticket, false otherwise.
-
getSecurityData
final String getSecurityData()
Security Data
-
getLegs
final List<BoardingPassLeg> getLegs()
Legs
-
toJson
JSONObject toJson()
-
-
-
-