Class SetupIntentCreateParams.AutomaticPaymentMethods

Enclosing class:

public static class SetupIntentCreateParams.AutomaticPaymentMethods extends Object
  • Method Details

    • builder

    • getAllowRedirects

      Controls whether this SetupIntent will accept redirect-based payment methods.

      Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To confirm this SetupIntent, you may be required to provide a return_url to redirect customers back to your site after they authenticate or complete the setup.

    • getEnabled

      public Boolean getEnabled()
      Required. Whether this feature is enabled.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.