Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder
- java.lang.Object
-
- com.stripe.param.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder
-
- Enclosing class:
- PaymentIntentConfirmParams.PaymentMethodOptions.Card
public static class PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description PaymentIntentConfirmParams.PaymentMethodOptions.Card
build()
Finalize and obtain parameter instance from this builder.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder
setInstallments(PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments installments)
Installment configuration for payments attempted on this PaymentIntent (Mexico Only).PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder
setMoto(java.lang.Boolean moto)
When specified, this parameter indicates that a transaction will be marked as MOTO (Mail Order Telephone Order) and thus out of scope for SCA.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder
setNetwork(PaymentIntentConfirmParams.PaymentMethodOptions.Card.Network network)
Selected network to process this PaymentIntent on.PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder
setRequestThreeDSecure(PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodOptions.Card build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Card.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.Card.extraParams
for the field documentation.
-
setInstallments
public PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder setInstallments(PaymentIntentConfirmParams.PaymentMethodOptions.Card.Installments installments)
Installment configuration for payments attempted on this PaymentIntent (Mexico Only).For more information, see the installments integration guide.
-
setMoto
public PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder setMoto(java.lang.Boolean moto)
When specified, this parameter indicates that a transaction will be marked as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This parameter can only be provided during confirmation.
-
setNetwork
public PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder setNetwork(PaymentIntentConfirmParams.PaymentMethodOptions.Card.Network network)
Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time.
-
setRequestThreeDSecure
public PaymentIntentConfirmParams.PaymentMethodOptions.Card.Builder setRequestThreeDSecure(PaymentIntentConfirmParams.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.
-
-