Package com.restfb.types.send.airline
Class AirlineItineraryTemplatePayload
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.TemplatePayload
-
- com.restfb.types.send.airline.AirlineItineraryTemplatePayload
-
- All Implemented Interfaces:
Serializable
public class AirlineItineraryTemplatePayload extends TemplatePayload
Represents the Airline Itinerary Template Payload type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AirlineItineraryTemplatePayload(String introMessage, String locale, String pnrNumber, double totalPrice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addFlightInfo(FlightInfo flightInfo)
boolean
addPassengerInfo(PassengerInfo passengerInfo)
boolean
addPassengerSegmentInfo(PassengerSegmentInfo passengerSegmentInfo)
boolean
addPriceInfo(PriceInfo priceInfo)
double
getBasePrice()
String
getCurrency()
List<FlightInfo>
getFlightInfoList()
String
getIntroMessage()
String
getLocale()
List<PassengerInfo>
getPassengerInfoList()
List<PassengerSegmentInfo>
getPassengerSegmentInfoList()
String
getPnrNumber()
List<PriceInfo>
getPriceInfoList()
double
getTax()
String
getThemeColor()
double
getTotalPrice()
void
setBasePrice(double basePrice)
void
setTax(double tax)
void
setThemeColor(String themeColor)
-
Methods inherited from class com.restfb.types.send.TemplatePayload
getTemplateType, setTemplateType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
AirlineItineraryTemplatePayload
public AirlineItineraryTemplatePayload(String introMessage, String locale, String pnrNumber, double totalPrice)
-
-
Method Detail
-
addPassengerInfo
public boolean addPassengerInfo(PassengerInfo passengerInfo)
-
addFlightInfo
public boolean addFlightInfo(FlightInfo flightInfo)
-
addPassengerSegmentInfo
public boolean addPassengerSegmentInfo(PassengerSegmentInfo passengerSegmentInfo)
-
addPriceInfo
public boolean addPriceInfo(PriceInfo priceInfo)
-
getIntroMessage
public String getIntroMessage()
-
getThemeColor
public String getThemeColor()
-
setThemeColor
public void setThemeColor(String themeColor)
-
getPnrNumber
public String getPnrNumber()
-
getPassengerInfoList
public List<PassengerInfo> getPassengerInfoList()
-
getFlightInfoList
public List<FlightInfo> getFlightInfoList()
-
getPassengerSegmentInfoList
public List<PassengerSegmentInfo> getPassengerSegmentInfoList()
-
getPriceInfoList
public List<PriceInfo> getPriceInfoList()
-
getBasePrice
public double getBasePrice()
-
setBasePrice
public void setBasePrice(double basePrice)
-
getTax
public double getTax()
-
setTax
public void setTax(double tax)
-
getTotalPrice
public double getTotalPrice()
-
getCurrency
public String getCurrency()
-
-