Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder
- java.lang.Object
-
- com.stripe.param.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder
-
- Enclosing class:
- PaymentIntentUpdateParams.PaymentMethodOptions.Card
public static class PaymentIntentUpdateParams.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 PaymentIntentUpdateParams.PaymentMethodOptions.Cardbuild()Finalize and obtain parameter instance from this builder.PaymentIntentUpdateParams.PaymentMethodOptions.Card.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.PaymentIntentUpdateParams.PaymentMethodOptions.Card.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.PaymentIntentUpdateParams.PaymentMethodOptions.Card.BuildersetCvcToken(EmptyParam cvcToken)A single-usecvc_updateToken that represents a card CVC value.PaymentIntentUpdateParams.PaymentMethodOptions.Card.BuildersetCvcToken(java.lang.String cvcToken)A single-usecvc_updateToken that represents a card CVC value.PaymentIntentUpdateParams.PaymentMethodOptions.Card.BuildersetInstallments(PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments installments)Installment configuration for payments attempted on this PaymentIntent (Mexico Only).PaymentIntentUpdateParams.PaymentMethodOptions.Card.BuildersetMoto(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.PaymentIntentUpdateParams.PaymentMethodOptions.Card.BuildersetNetwork(PaymentIntentUpdateParams.PaymentMethodOptions.Card.Network network)Selected network to process this PaymentIntent on.PaymentIntentUpdateParams.PaymentMethodOptions.Card.BuildersetRequestThreeDSecure(PaymentIntentUpdateParams.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 PaymentIntentUpdateParams.PaymentMethodOptions.Card build()
Finalize and obtain parameter instance from this builder.
-
setCvcToken
public PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder setCvcToken(java.lang.String cvcToken)
A single-usecvc_updateToken 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.
-
setCvcToken
public PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder setCvcToken(EmptyParam cvcToken)
A single-usecvc_updateToken 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 PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentMethodOptions.Card.extraParamsfor the field documentation.
-
putAllExtraParam
public PaymentIntentUpdateParams.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. SeePaymentIntentUpdateParams.PaymentMethodOptions.Card.extraParamsfor the field documentation.
-
setInstallments
public PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder setInstallments(PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments installments)
Installment configuration for payments attempted on this PaymentIntent (Mexico Only).For more information, see the installments integration guide.
-
setMoto
public PaymentIntentUpdateParams.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 PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder setNetwork(PaymentIntentUpdateParams.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 PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder setRequestThreeDSecure(PaymentIntentUpdateParams.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:automaticorany. 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.
-
-