Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodOptions.Card
- java.lang.Object
-
- com.stripe.param.PaymentIntentUpdateParams.PaymentMethodOptions.Card
-
- Enclosing class:
- PaymentIntentUpdateParams.PaymentMethodOptions
public static class PaymentIntentUpdateParams.PaymentMethodOptions.Card extends java.lang.Object
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.Boleto.extraParams
for the field documentation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder
static class
PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments
static class
PaymentIntentUpdateParams.PaymentMethodOptions.Card.Network
Type of installment plan, one offixed_count
.static class
PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure
static class
PaymentIntentUpdateParams.PaymentMethodOptions.Card.SetupFutureUsage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder
builder()
java.lang.Object
getCvcToken()
A single-usecvc_update
Token that represents a card CVC value.java.util.Map<java.lang.String,java.lang.Object>
getExtraParams()
Map of extra parameters for custom features not available in this client library.PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments
getInstallments()
Installment configuration for payments attempted on this PaymentIntent (Mexico Only).java.lang.Boolean
getMoto()
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.Network
getNetwork()
Selected network to process this PaymentIntent on.PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure
getRequestThreeDSecure()
We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements.ApiRequestParams.EnumParam
getSetupFutureUsage()
Indicates that you intend to make future payments with this PaymentIntent's payment method.
-
-
-
Method Detail
-
builder
public static PaymentIntentUpdateParams.PaymentMethodOptions.Card.Builder builder()
-
getCvcToken
public java.lang.Object getCvcToken()
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.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getInstallments
public PaymentIntentUpdateParams.PaymentMethodOptions.Card.Installments getInstallments()
Installment configuration for payments attempted on this PaymentIntent (Mexico Only).For more information, see the installments integration guide.
-
getMoto
public java.lang.Boolean getMoto()
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.
-
getNetwork
public PaymentIntentUpdateParams.PaymentMethodOptions.Card.Network getNetwork()
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.
-
getRequestThreeDSecure
public PaymentIntentUpdateParams.PaymentMethodOptions.Card.RequestThreeDSecure getRequestThreeDSecure()
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.
-
getSetupFutureUsage
public ApiRequestParams.EnumParam getSetupFutureUsage()
Indicates that you intend to make future payments with this PaymentIntent's payment method.Providing this parameter will attach the payment method to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.
When processing card payments, Stripe also uses
setup_future_usage
to dynamically optimize your payment flow and comply with regional legislation and network rules, such as SCA.If
setup_future_usage
is already set and you are performing a request using a publishable key, you may only update the value fromon_session
tooff_session
.
-
-