Package com.stripe.param
Class SetupIntentCreateParams.PaymentMethodOptions.Card.Builder
- java.lang.Object
-
- com.stripe.param.SetupIntentCreateParams.PaymentMethodOptions.Card.Builder
-
- Enclosing class:
- SetupIntentCreateParams.PaymentMethodOptions.Card
public static class SetupIntentCreateParams.PaymentMethodOptions.Card.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetupIntentCreateParams.PaymentMethodOptions.Card
build()
Finalize and obtain parameter instance from this builder.SetupIntentCreateParams.PaymentMethodOptions.Card.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.SetupIntentCreateParams.PaymentMethodOptions.Card.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.SetupIntentCreateParams.PaymentMethodOptions.Card.Builder
setMoto(java.lang.Boolean moto)
When specified, this parameter signals that a card has been collected as MOTO (Mail Order Telephone Order) and thus out of scope for SCA.SetupIntentCreateParams.PaymentMethodOptions.Card.Builder
setRequestThreeDSecure(SetupIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure requestThreeDSecure)
We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements.
-
-
-
Method Detail
-
build
public SetupIntentCreateParams.PaymentMethodOptions.Card build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public SetupIntentCreateParams.PaymentMethodOptions.Card.Builder putExtraParam(java.lang.String key, java.lang.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. SeeSetupIntentCreateParams.PaymentMethodOptions.Card.extraParams
for the field documentation.
-
putAllExtraParam
public SetupIntentCreateParams.PaymentMethodOptions.Card.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeeSetupIntentCreateParams.PaymentMethodOptions.Card.extraParams
for the field documentation.
-
setMoto
public SetupIntentCreateParams.PaymentMethodOptions.Card.Builder setMoto(java.lang.Boolean moto)
When specified, this parameter signals that a card has been collected as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This parameter can only be provided during confirmation.
-
setRequestThreeDSecure
public SetupIntentCreateParams.PaymentMethodOptions.Card.Builder setRequestThreeDSecure(SetupIntentCreateParams.PaymentMethodOptions.Card.RequestThreeDSecure requestThreeDSecure)
We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include:automatic
orany
. If not provided, defaults toautomatic
. Read our guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and our SCA Engine.
-
-