Package com.restfb.types.send
Class PaymentSettings
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.PaymentSettings
-
- All Implemented Interfaces:
Serializable
public class PaymentSettings extends AbstractFacebookType
Represents the Messenger Profile Payment Settings- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaymentSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrivacyUrl()
The URL of the privacy policy for your bot.String
getPublicKey()
Your public key.List<String>
getTesters()
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 Detail
-
PaymentSettings
public PaymentSettings()
-
-
Method Detail
-
getPrivacyUrl
public String getPrivacyUrl()
The URL of the privacy policy for your bot. Required for buy button payments.
-
setPrivacyUrl
public void setPrivacyUrl(String privacyUrl)
The URL of the privacy policy for your bot. Required for buy button payments.
-
getPublicKey
public String getPublicKey()
Your public key. Used to encrypt all webview payments, and buy button implementations that use tokenized payments.
-
setPublicKey
public void setPublicKey(String publicKey)
Your public key. Used to encrypt all webview payments, and buy button implementations that use tokenized payments.
-
getTesters
public List<String> 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
public void setTesters(List<String> testers)
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.
-
-