Class Settings.SettingsBuilder

  • Enclosing class:
    Settings

    public static class Settings.SettingsBuilder
    extends java.lang.Object
    • Method Detail

      • successUrl

        public Settings.SettingsBuilder successUrl​(java.lang.String successUrl)
        <= 255 characters The URL to redirect the customer to, if the payment is successful. For payment methods with a redirect, this value overrides the default success redirect URL configured on your account.
        Returns:
        this.
      • failureUrl

        public Settings.SettingsBuilder failureUrl​(java.lang.String failureUrl)
        <= 255 characters The URL to redirect the customer to, if the payment is unsuccessful. For payment methods with a redirect, this value overrides the default failure redirect URL configured on your account.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object