Package com.stripe.model
Class PaymentIntent.AutomaticPaymentMethods
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.AutomaticPaymentMethods
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent
Portion of the amount that corresponds to a tip.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Controls whether this PaymentIntent will accept redirect-based payment methods.Automatically calculates compatible payment methods.int
hashCode()
void
setAllowRedirects
(String allowRedirects) Controls whether this PaymentIntent will accept redirect-based payment methods.void
setEnabled
(Boolean enabled) Automatically calculates compatible payment methods.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AutomaticPaymentMethods
public AutomaticPaymentMethods()
-
-
Method Details
-
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
, ornever
. -
getEnabled
Automatically calculates compatible payment methods. -
setAllowRedirects
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
, ornever
. -
setEnabled
Automatically calculates compatible payment methods. -
equals
-
canEqual
-
hashCode
public int hashCode()
-