Package com.stripe.param
Class PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder
- java.lang.Object
-
- com.stripe.param.PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder
-
- Enclosing class:
- PaymentIntentCreateParams.PaymentMethodOptions.Card
public static class PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodOptions.Card
build()
Finalize and obtain parameter instance from this builder.PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder
setCvcToken(java.lang.String cvcToken)
A single-usecvc_update
Token that represents a card CVC value.PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder
setInstallments(PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments installments)
Installment configuration for payments attempted on this PaymentIntent (Mexico Only).PaymentIntentCreateParams.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.PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder
setNetwork(PaymentIntentCreateParams.PaymentMethodOptions.Card.Network network)
Selected network to process this PaymentIntent on.PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder
setRequestThreeDSecure(PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodOptions.Card build()
Finalize and obtain parameter instance from this builder.
-
setCvcToken
public PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder setCvcToken(java.lang.String cvcToken)
A single-usecvc_update
Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation.
-
putExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentMethodOptions.Card.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentMethodOptions.Card.extraParams
for the field documentation.
-
setInstallments
public PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder setInstallments(PaymentIntentCreateParams.PaymentMethodOptions.Card.Installments installments)
Installment configuration for payments attempted on this PaymentIntent (Mexico Only).For more information, see the installments integration guide.
-
setMoto
public PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder setNetwork(PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodOptions.Card.Builder setRequestThreeDSecure(PaymentIntentCreateParams.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.
-
-