- Enclosing class:
Nested Class SummaryModifier and TypeClassDescription
Method SummaryModifier and TypeMethodDescription
builder()Controls whether this PaymentIntent will accept redirect-based payment methods.Required. Whether this feature is enabled.Map of extra parameters for custom features not available in this client library.
builderpublic static PaymentIntentCreateParams.AutomaticPaymentMethods.Builder builder()
getAllowRedirectspublic PaymentIntentCreateParams.AutomaticPaymentMethods.AllowRedirects 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_urlto redirect customers back to your site after they authenticate or complete the payment.
getEnabledpublic Boolean getEnabled()Required. Whether this feature is enabled.
getExtraParamsMap of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's
@SerializedNamevalue. 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.