Class PaymentSettings

java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.send.PaymentSettings
All Implemented Interfaces:
Serializable

public class PaymentSettings
extends AbstractFacebookType
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • 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.