Package com.stripe.param
Class SetupIntentCreateParams.PaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.SetupIntentCreateParams.PaymentMethodOptions.Builder
- Enclosing class:
- SetupIntentCreateParams.PaymentMethodOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.If this is aacss_debit
SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.If this is ablik
PaymentMethod, this hash contains details about the BLIK payment method.Configuration for any card setup attempted on this SetupIntent.If this is alink
PaymentMethod, this sub-hash contains details about the Link payment method options.If this is asepa_debit
SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.If this is aus_bank_account
SetupIntent, this sub-hash contains details about the US bank account payment method options.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAcssDebit
public SetupIntentCreateParams.PaymentMethodOptions.Builder setAcssDebit(SetupIntentCreateParams.PaymentMethodOptions.AcssDebit acssDebit) If this is aacss_debit
SetupIntent, this sub-hash contains details about the ACSS Debit payment method options. -
setBlik
public SetupIntentCreateParams.PaymentMethodOptions.Builder setBlik(SetupIntentCreateParams.PaymentMethodOptions.Blik blik) If this is ablik
PaymentMethod, this hash contains details about the BLIK payment method. -
setCard
public SetupIntentCreateParams.PaymentMethodOptions.Builder setCard(SetupIntentCreateParams.PaymentMethodOptions.Card card) Configuration for any card setup attempted on this SetupIntent. -
putExtraParam
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. SeeSetupIntentCreateParams.PaymentMethodOptions.extraParams
for the field documentation. -
putAllExtraParam
public SetupIntentCreateParams.PaymentMethodOptions.Builder putAllExtraParam(Map<String, 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. SeeSetupIntentCreateParams.PaymentMethodOptions.extraParams
for the field documentation. -
setLink
public SetupIntentCreateParams.PaymentMethodOptions.Builder setLink(SetupIntentCreateParams.PaymentMethodOptions.Link link) If this is alink
PaymentMethod, this sub-hash contains details about the Link payment method options. -
setSepaDebit
public SetupIntentCreateParams.PaymentMethodOptions.Builder setSepaDebit(SetupIntentCreateParams.PaymentMethodOptions.SepaDebit sepaDebit) If this is asepa_debit
SetupIntent, this sub-hash contains details about the SEPA Debit payment method options. -
setUsBankAccount
public SetupIntentCreateParams.PaymentMethodOptions.Builder setUsBankAccount(SetupIntentCreateParams.PaymentMethodOptions.UsBankAccount usBankAccount) If this is aus_bank_account
SetupIntent, this sub-hash contains details about the US bank account payment method options.
-