Class SetupIntent.AutomaticPaymentMethods

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.SetupIntent.AutomaticPaymentMethods
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
SetupIntent

public static class SetupIntent.AutomaticPaymentMethods extends StripeObject
  • Constructor Details

    • AutomaticPaymentMethods

      public AutomaticPaymentMethods()
  • Method Details

    • getAllowRedirects

      public String 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.

      One of always, or never.

    • getEnabled

      public Boolean getEnabled()
      Automatically calculates compatible payment methods.
    • setAllowRedirects

      public void setAllowRedirects(String allowRedirects)
      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.

      One of always, or never.

    • setEnabled

      public void setEnabled(Boolean enabled)
      Automatically calculates compatible payment methods.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object