Class 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<StringgetTesters()
        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.