public class BoardingPass extends Object implements Serializable
| Constructor and Description |
|---|
BoardingPass(String passengerName,
String pnrNumber,
String logoImageUrl,
String aboveBarCodeImageUrl)
Instantiates a new boarding pass.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAuxiliaryField(Field field)
Adds the auxiliary field.
|
void |
addSecondaryField(Field field)
Adds the secondary field.
|
boolean |
equals(Object obj) |
String |
getAboveBarCodeImageUrl()
Gets the above bar code image url.
|
List<Field> |
getAuxiliaryFields()
Gets the auxiliary fields.
|
String |
getBarcodeImageUrl()
Gets the barcode image url.
|
FlightInfo |
getFlightInfo()
Gets the flight info.
|
String |
getHeaderImageUrl()
Gets the header image url.
|
String |
getHeaderTextField()
Gets the header text field.
|
String |
getLogoImageUrl()
Gets the logo image url.
|
String |
getPassengerName()
Gets the passenger name.
|
String |
getPnrNumber()
Gets the pnr number.
|
String |
getQrCode()
Gets the qr code.
|
String |
getSeat()
Gets the seat.
|
List<Field> |
getSecondaryFields()
Gets the secondary fields.
|
TravelClass |
getTravelClass()
Gets the travel class.
|
int |
hashCode() |
void |
setAboveBarCodeImageUrl(String aboveBarCodeImageUrl)
Sets the above bar code image url.
|
void |
setAuxiliaryFields(List<Field> auxiliaryFields)
Sets the auxiliary fields.
|
void |
setBarcodeImageUrl(String barcodeImageUrl)
Sets the barcode image url.
|
void |
setFlightInfo(FlightInfo flightInfo)
Sets the flight info.
|
void |
setHeaderImageUrl(String headerImageUrl)
Sets the header image url.
|
void |
setHeaderTextField(String headerTextField)
Sets the header text field.
|
void |
setLogoImageUrl(String logoImageUrl)
Sets the logo image url.
|
void |
setPassengerName(String passengerName)
Sets the passenger name.
|
void |
setPnrNumber(String pnrNumber)
Sets the pnr number.
|
void |
setQrCode(String qrCode)
Sets the qr code.
|
void |
setSeat(String seat)
Sets the seat.
|
void |
setSecondaryFields(List<Field> secondaryFields)
Sets the secondary fields.
|
void |
setTravelClass(TravelClass travelClass)
Sets the travel class.
|
String |
toString() |
public BoardingPass(String passengerName, String pnrNumber, String logoImageUrl, String aboveBarCodeImageUrl)
passengerName - the passenger namepnrNumber - the pnr numberlogoImageUrl - the logo image urlaboveBarCodeImageUrl - the above bar code image urlpublic String getPassengerName()
public void setPassengerName(String passengerName)
passengerName - the new passenger namepublic String getPnrNumber()
public void setPnrNumber(String pnrNumber)
pnrNumber - the new pnr numberpublic TravelClass getTravelClass()
public void setTravelClass(TravelClass travelClass)
travelClass - the new travel classpublic String getSeat()
public void setSeat(String seat)
seat - the new seatpublic List<Field> getAuxiliaryFields()
public void setAuxiliaryFields(List<Field> auxiliaryFields)
auxiliaryFields - the new auxiliary fieldspublic List<Field> getSecondaryFields()
public void setSecondaryFields(List<Field> secondaryFields)
secondaryFields - the new secondary fieldspublic String getLogoImageUrl()
public void setLogoImageUrl(String logoImageUrl)
logoImageUrl - the new logo image urlpublic String getHeaderImageUrl()
public void setHeaderImageUrl(String headerImageUrl)
headerImageUrl - the new header image urlpublic String getHeaderTextField()
public void setHeaderTextField(String headerTextField)
headerTextField - the new header text fieldpublic String getQrCode()
public void setQrCode(String qrCode)
qrCode - the new qr codepublic String getBarcodeImageUrl()
public void setBarcodeImageUrl(String barcodeImageUrl)
barcodeImageUrl - the new barcode image urlpublic String getAboveBarCodeImageUrl()
public void setAboveBarCodeImageUrl(String aboveBarCodeImageUrl)
aboveBarCodeImageUrl - the new above bar code image urlpublic FlightInfo getFlightInfo()
public void setFlightInfo(FlightInfo flightInfo)
flightInfo - the new flight infopublic void addAuxiliaryField(Field field)
field - the fieldpublic void addSecondaryField(Field field)
field - the fieldCopyright © 2017 BotMill. All rights reserved.