Package com.stripe.param
Class PaymentIntentCreateParams.AutomaticPaymentMethods.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.AutomaticPaymentMethods.Builder
- Enclosing class:
- PaymentIntentCreateParams.AutomaticPaymentMethods
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Controls whether this PaymentIntent will accept redirect-based payment methods.setEnabled
(Boolean enabled) Required. Whether this feature is enabled.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAllowRedirects
public PaymentIntentCreateParams.AutomaticPaymentMethods.Builder setAllowRedirects(PaymentIntentCreateParams.AutomaticPaymentMethods.AllowRedirects 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. -
setEnabled
Required. Whether this feature is enabled. -
putExtraParam
public PaymentIntentCreateParams.AutomaticPaymentMethods.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentIntentCreateParams.AutomaticPaymentMethods.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.AutomaticPaymentMethods.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentIntentCreateParams.AutomaticPaymentMethods.extraParams
for the field documentation.
-