public class AirlineItineraryTemplatePayload extends AirlineBasePnrNumberTemplatePayload
templateType| Constructor and Description |
|---|
AirlineItineraryTemplatePayload()
Instantiates a new AirlineItineraryTemplatePayload.
|
AirlineItineraryTemplatePayload(String introMessage,
String locale,
String pnrNumber,
BigDecimal totalPrice,
String currency)
Instantiates a new airline itinerary template payload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFlightInfo(FlightInfoExtended flightInfo)
Adds the flight info.
|
void |
addPassengerInfo(PassengerInfo passengerInfo)
Adds the passenger info.
|
void |
addPassengerSegmentInfo(PassengerSegmentInfo segmentInfo)
Adds the passenger segment info.
|
void |
addPriceInfo(PriceInfo priceInfo)
Adds the price info.
|
boolean |
equals(Object obj) |
BigDecimal |
getBasePrice() |
String |
getCurrency()
Gets the currency.
|
List<PassengerInfo> |
getPassengerInfo()
Gets the passenger info.
|
List<PassengerSegmentInfo> |
getPassengerSegmentInfo()
Gets the passenger segment info.
|
List<PriceInfo> |
getPriceInfo()
Gets the price info.
|
BigDecimal |
getTax() |
BigDecimal |
getTotalPrice() |
int |
hashCode() |
void |
setBasePrice(BigDecimal basePrice) |
void |
setCurrency(String currency)
Sets the currency.
|
void |
setPassengerInfo(List<PassengerInfo> passengerInfo)
Sets the passenger info.
|
void |
setPassengerSegmentInfo(List<PassengerSegmentInfo> passengerSegmentInfo)
Sets the passenger segment info.
|
void |
setPriceInfo(List<PriceInfo> priceInfo)
Sets the price info.
|
void |
setTax(BigDecimal tax) |
void |
setTotalPrice(BigDecimal totalPrice) |
String |
toString() |
getPnrNumber, setPnrNumbergetIntroMessage, getLocale, getThemeColor, setIntroMessage, setLocale, setThemeColorgetTemplateType, setTemplateTypepublic AirlineItineraryTemplatePayload(String introMessage, String locale, String pnrNumber, BigDecimal totalPrice, String currency)
introMessage - the intro messagelocale - the localepnrNumber - the pnr numbertotalPrice - the total pricecurrency - the currencypublic AirlineItineraryTemplatePayload()
public List<PassengerInfo> getPassengerInfo()
public void setPassengerInfo(List<PassengerInfo> passengerInfo)
passengerInfo - the new passenger infopublic List<PassengerSegmentInfo> getPassengerSegmentInfo()
public void setPassengerSegmentInfo(List<PassengerSegmentInfo> passengerSegmentInfo)
passengerSegmentInfo - the new passenger segment infopublic void setPriceInfo(List<PriceInfo> priceInfo)
priceInfo - the new price infopublic BigDecimal getBasePrice()
public void setBasePrice(BigDecimal basePrice)
public BigDecimal getTax()
public void setTax(BigDecimal tax)
public BigDecimal getTotalPrice()
public void setTotalPrice(BigDecimal totalPrice)
public String getCurrency()
public void setCurrency(String currency)
currency - the new currencypublic void addPassengerInfo(PassengerInfo passengerInfo)
passengerInfo - the passenger infopublic void addPassengerSegmentInfo(PassengerSegmentInfo segmentInfo)
segmentInfo - the segment infopublic void addPriceInfo(PriceInfo priceInfo)
priceInfo - the price infopublic void addFlightInfo(FlightInfoExtended flightInfo)
flightInfo - the flight infopublic int hashCode()
hashCode in class AirlineBasePnrNumberTemplatePayloadpublic boolean equals(Object obj)
equals in class AirlineBasePnrNumberTemplatePayloadpublic String toString()
toString in class AirlineBasePnrNumberTemplatePayloadCopyright © 2017 BotMill. All rights reserved.