Class PaymentIntent.AutomaticPaymentMethods

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

public static class PaymentIntent.AutomaticPaymentMethods extends StripeObject
Portion of the amount that corresponds to a tip.
  • Constructor Details

    • AutomaticPaymentMethods

      public AutomaticPaymentMethods()
  • Method Details

    • getAllowRedirects

      public String getAllowRedirects()
      Controls whether this PaymentIntent 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 PaymentIntent, you may be required to provide a return_url to redirect customers back to your site after they authenticate or complete the payment.

      One of always, or never.

    • getEnabled

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

      public void setAllowRedirects(String allowRedirects)
      Controls whether this PaymentIntent 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 PaymentIntent, you may be required to provide a return_url to redirect customers back to your site after they authenticate or complete the payment.

      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