Package com.restfb.types.send
Class PaymentSettings
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.send.PaymentSettings
- All Implemented Interfaces:
Serializable
Represents the Messenger
Profile Payment Settings
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe URL of the privacy policy for your bot.Your public key.A list of IDs for people that will test payments in your bot.void
setPrivacyUrl
(String privacyUrl) The URL of the privacy policy for your bot.void
setPublicKey
(String publicKey) Your public key.void
setTesters
(List<String> testers) A list of IDs for people that will test payments in your bot.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
PaymentSettings
public PaymentSettings()
-
-
Method Details
-
getPrivacyUrl
The URL of the privacy policy for your bot. Required for buy button payments. -
setPrivacyUrl
The URL of the privacy policy for your bot. Required for buy button payments. -
getPublicKey
Your public key. Used to encrypt all webview payments, and buy button implementations that use tokenized payments. -
setPublicKey
Your public key. Used to encrypt all webview payments, and buy button implementations that use tokenized payments. -
getTesters
A list of IDs for people that will test payments in your bot. These people will send a mock payment when they tap the buy button. -
setTesters
A list of IDs for people that will test payments in your bot. These people will send a mock payment when they tap the buy button.
-