public static class SetupIntentCreateParams.PaymentMethodOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SetupIntentCreateParams.PaymentMethodOptions |
build()
Finalize and obtain parameter instance from this builder.
|
SetupIntentCreateParams.PaymentMethodOptions.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.
|
SetupIntentCreateParams.PaymentMethodOptions.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
SetupIntentCreateParams.PaymentMethodOptions.Builder |
setCard(SetupIntentCreateParams.PaymentMethodOptions.Card card)
Configuration for any card setup attempted on this SetupIntent.
|
public SetupIntentCreateParams.PaymentMethodOptions build()
public SetupIntentCreateParams.PaymentMethodOptions.Builder setCard(SetupIntentCreateParams.PaymentMethodOptions.Card card)
public SetupIntentCreateParams.PaymentMethodOptions.Builder putExtraParam(java.lang.String key, java.lang.Object value)
SetupIntentCreateParams.PaymentMethodOptions.extraParams
for the field documentation.public SetupIntentCreateParams.PaymentMethodOptions.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
SetupIntentCreateParams.PaymentMethodOptions.extraParams
for the field
documentation.