Class MessagingPayload
- java.lang.Object
-
- com.restfb.types.webhook.messaging.MessagingPayload
-
public class MessagingPayload extends Object
-
-
Constructor Summary
Constructors Constructor Description MessagingPayload()
-
Method Summary
-
-
-
Constructor Detail
-
MessagingPayload
public MessagingPayload()
-
-
Method Detail
-
isLike
public boolean isLike()
The user may send a like and this method can be used to discover the three know versions of the sticker- Returns:
true
if the user sent a like (thumb up sticker),false
otherwise
-
getStickerId
public String getStickerId()
-
setStickerId
public void setStickerId(String stickerId)
-
getCoordinates
public CoordinatesItem getCoordinates()
-
setCoordinates
public void setCoordinates(CoordinatesItem coordinates)
-
getTemplateType
public String getTemplateType()
-
setTemplateType
public void setTemplateType(String templateType)
-
getButtons
public List<ButtonItem> getButtons()
-
setButtons
public void setButtons(List<ButtonItem> buttons)
-
getElements
public List<ElementItem> getElements()
-
setElements
public void setElements(List<ElementItem> elements)
-
getRecipientName
public String getRecipientName()
-
setRecipientName
public void setRecipientName(String recipientName)
-
getOrderNumber
public String getOrderNumber()
-
setOrderNumber
public void setOrderNumber(String orderNumber)
-
getCurrency
public String getCurrency()
-
setCurrency
public void setCurrency(String currency)
-
getPaymentMethod
public String getPaymentMethod()
-
setPaymentMethod
public void setPaymentMethod(String paymentMethod)
-
getOrderUrl
public String getOrderUrl()
-
setOrderUrl
public void setOrderUrl(String orderUrl)
-
getTimestamp
public Long getTimestamp()
-
setTimestamp
public void setTimestamp(Long timestamp)
-
getAddress
public AddressItem getAddress()
-
setAddress
public void setAddress(AddressItem address)
-
getSummary
public SummaryItem getSummary()
-
setSummary
public void setSummary(SummaryItem summary)
-
getAdjustmentItems
public List<AdjustmentItem> getAdjustmentItems()
-
setAdjustmentItems
public void setAdjustmentItems(List<AdjustmentItem> adjustmentItems)
-
getIntroMessage
public String getIntroMessage()
-
setIntroMessage
public void setIntroMessage(String introMessage)
-
getThemeColor
public String getThemeColor()
-
setThemeColor
public void setThemeColor(String themeColor)
-
getUpdateType
public String getUpdateType()
-
setUpdateType
public void setUpdateType(String updateType)
-
getPnrNumber
public String getPnrNumber()
-
setPnrNumber
public void setPnrNumber(String pnrNumber)
-
getPassengerInfoItems
public List<PassengerInfoItem> getPassengerInfoItems()
-
setPassengerInfoItems
public void setPassengerInfoItems(List<PassengerInfoItem> passengerInfoItems)
-
getFlightInfoItems
public List<FlightInfoItem> getFlightInfoItems()
-
setFlightInfoItems
public void setFlightInfoItems(List<FlightInfoItem> flightInfoItems)
-
getPassengerSegmentInfoItems
public List<PassengerSegmentInfoItem> getPassengerSegmentInfoItems()
-
setPassengerSegmentInfoItems
public void setPassengerSegmentInfoItems(List<PassengerSegmentInfoItem> passengerSegmentInfoItems)
-
getPriceInfoItems
public List<PriceInfoItem> getPriceInfoItems()
-
setPriceInfoItems
public void setPriceInfoItems(List<PriceInfoItem> priceInfoItems)
-
getBasePrice
public Double getBasePrice()
-
setBasePrice
public void setBasePrice(Double basePrice)
-
getTotalPrice
public Double getTotalPrice()
-
setTotalPrice
public void setTotalPrice(Double totalPrice)
-
getUpdateFlightInfo
public FlightInfoItem getUpdateFlightInfo()
-
setUpdateFlightInfo
public void setUpdateFlightInfo(FlightInfoItem updateFlightInfo)
-
getCheckinUrl
public String getCheckinUrl()
-
setCheckinUrl
public void setCheckinUrl(String checkinUrl)
-
getBoardingPassItems
public List<BoardingPassItem> getBoardingPassItems()
-
setBoardingPassItems
public void setBoardingPassItems(List<BoardingPassItem> boardingPassItems)
-
getProduct
public ProductTemplateItem getProduct()
-
setProduct
public void setProduct(ProductTemplateItem product)
-
getFallback
public String getFallback()
-
setFallback
public void setFallback(String fallback)
-
-