Package io.scanbot.barcodescanner.entity
Class BoardingPass
-
- All Implemented Interfaces:
public final class BoardingPass extends GenericDocumentWrapper
Boarding Pass
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
BoardingPass.FieldNames
public class
BoardingPass.NormalizedFieldNames
public final class
BoardingPass.Leg
Leg of the journey
-
Field Summary
Fields Modifier and Type Field Description public final static String
DOCUMENT_TYPE
public final static String
DOCUMENT_NORMALIZED_TYPE
private final TextFieldWrapper
electronicTicket
private final TextFieldWrapper
name
private final TextFieldWrapper
numberOfLegs
private final TextFieldWrapper
securityData
private final List<BoardingPass.Leg>
legs
-
Constructor Summary
Constructors Constructor Description BoardingPass(GenericDocument document)
-
Method Summary
Modifier and Type Method Description final TextFieldWrapper
getElectronicTicket()
Electronic Ticket final TextFieldWrapper
getName()
Name final TextFieldWrapper
getNumberOfLegs()
Number Of Legs final TextFieldWrapper
getSecurityData()
Security Data final List<BoardingPass.Leg>
getLegs()
Leg -
-
Constructor Detail
-
BoardingPass
BoardingPass(GenericDocument document)
-
-
Method Detail
-
getElectronicTicket
final TextFieldWrapper getElectronicTicket()
Electronic Ticket
-
getName
final TextFieldWrapper getName()
Name
-
getNumberOfLegs
final TextFieldWrapper getNumberOfLegs()
Number Of Legs
-
getSecurityData
final TextFieldWrapper getSecurityData()
Security Data
-
getLegs
final List<BoardingPass.Leg> getLegs()
Leg
-
-
-
-