Class PaymentIntentCreateParams.AutomaticPaymentMethods

java.lang.Object
com.stripe.param.PaymentIntentCreateParams.AutomaticPaymentMethods
Enclosing class:
PaymentIntentCreateParams

public static class PaymentIntentCreateParams.AutomaticPaymentMethods extends Object
Required. The total amount of tax on the transaction represented in the smallest currency unit. Required for L2 rates. An integer greater than or equal to 0.

This field is mutually exclusive with the amount_details[line_items][#][tax][total_tax_amount] field.

  • Method Details

    • builder

    • 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.

    • 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.
    • 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