Class PaymentItem
- java.lang.Object
-
- com.restfb.types.webhook.messaging.PaymentItem
-
- All Implemented Interfaces:
InnerMessagingItem
public class PaymentItem extends Object implements InnerMessagingItem
Represents the Payment Callback
-
-
Constructor Summary
Constructors Constructor Description PaymentItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Amount
getAmount()
Total amount of transaction.String
getPayload()
Metadata defined in the Buy Button.PaymentCredential
getPaymentCredential()
Payment credentials.ReuqestedUserInfo
getRequestedUserInfo()
Information that was requested from the user by the Buy Button.void
setAmount(Amount amount)
Total amount of transaction.void
setPayload(String payload)
Metadata defined in the Buy Button.void
setPaymentCredential(PaymentCredential paymentCredential)
Payment credentials.void
setRequestedUserInfo(ReuqestedUserInfo requestedUserInfo)
Information that was requested from the user by the Buy Button.String
toString()
-
-
-
Constructor Detail
-
PaymentItem
public PaymentItem()
-
-
Method Detail
-
getPayload
public String getPayload()
Metadata defined in the Buy Button.
-
setPayload
public void setPayload(String payload)
Metadata defined in the Buy Button.
-
getRequestedUserInfo
public ReuqestedUserInfo getRequestedUserInfo()
Information that was requested from the user by the Buy Button.
-
setRequestedUserInfo
public void setRequestedUserInfo(ReuqestedUserInfo requestedUserInfo)
Information that was requested from the user by the Buy Button.
-
getPaymentCredential
public PaymentCredential getPaymentCredential()
Payment credentials.
-
setPaymentCredential
public void setPaymentCredential(PaymentCredential paymentCredential)
Payment credentials.
-
-