Class MessagingPayload
java.lang.Object
com.restfb.types.webhook.messaging.MessagingPayload
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTax()
getTitle()
Title of the attachment.getUrl()
boolean
isLike()
The user may send a like and this method can be used to discover the three know versions of the stickervoid
setAddress
(AddressItem address) void
setAdjustmentItems
(List<AdjustmentItem> adjustmentItems) void
setBasePrice
(Double basePrice) void
setBoardingPassItems
(List<BoardingPassItem> boardingPassItems) void
setButtons
(List<ButtonItem> buttons) void
setCheckinUrl
(String checkinUrl) void
setCoordinates
(CoordinatesItem coordinates) void
setCurrency
(String currency) void
setElements
(List<ElementItem> elements) void
setFallback
(String fallback) void
setFlightInfoItems
(List<FlightInfoItem> flightInfoItems) void
setIntroMessage
(String introMessage) void
void
setOrderNumber
(String orderNumber) void
setOrderUrl
(String orderUrl) void
setPassengerInfoItems
(List<PassengerInfoItem> passengerInfoItems) void
setPassengerSegmentInfoItems
(List<PassengerSegmentInfoItem> passengerSegmentInfoItems) void
setPaymentMethod
(String paymentMethod) void
setPnrNumber
(String pnrNumber) void
setPriceInfoItems
(List<PriceInfoItem> priceInfoItems) void
setProduct
(ProductTemplateItem product) void
setRecipientName
(String recipientName) void
setStickerId
(String stickerId) void
setSummary
(SummaryItem summary) void
void
setTemplateType
(String templateType) void
setThemeColor
(String themeColor) void
setTimestamp
(Long timestamp) void
Title of the attachment.void
setTotalPrice
(Double totalPrice) void
setUpdateFlightInfo
(FlightInfoItem updateFlightInfo) void
setUpdateType
(String updateType) void
toString()
-
Constructor Details
-
MessagingPayload
public MessagingPayload()
-
-
Method Details
-
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
-
toString
-
getUrl
-
setUrl
-
getStickerId
-
setStickerId
-
getCoordinates
-
setCoordinates
-
getTemplateType
-
setTemplateType
-
getButtons
-
setButtons
-
getElements
-
setElements
-
getRecipientName
-
setRecipientName
-
getOrderNumber
-
setOrderNumber
-
getCurrency
-
setCurrency
-
getPaymentMethod
-
setPaymentMethod
-
getOrderUrl
-
setOrderUrl
-
getTimestamp
-
setTimestamp
-
getAddress
-
setAddress
-
getSummary
-
setSummary
-
getAdjustmentItems
-
setAdjustmentItems
-
getIntroMessage
-
setIntroMessage
-
getLocale
-
setLocale
-
getThemeColor
-
setThemeColor
-
getUpdateType
-
setUpdateType
-
getPnrNumber
-
setPnrNumber
-
getPassengerInfoItems
-
setPassengerInfoItems
-
getFlightInfoItems
-
setFlightInfoItems
-
getPassengerSegmentInfoItems
-
setPassengerSegmentInfoItems
-
getPriceInfoItems
-
setPriceInfoItems
-
getBasePrice
-
setBasePrice
-
getTax
-
setTax
-
getTotalPrice
-
setTotalPrice
-
getUpdateFlightInfo
-
setUpdateFlightInfo
-
getCheckinUrl
-
setCheckinUrl
-
getBoardingPassItems
-
setBoardingPassItems
-
getProduct
-
setProduct
-
getFallback
-
setFallback
-
getTitle
Title of the attachment. Applicable to attachment type: fallback -
setTitle
Title of the attachment. Applicable to attachment type: fallback
-