Package com.stripe.param
Class SetupIntentConfirmParams.PaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.SetupIntentConfirmParams.PaymentMethodOptions.Builder
- Enclosing class:
- SetupIntentConfirmParams.PaymentMethodOptions
-
Constructor Summary
-
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 aamazon_pay
SetupIntent, this sub-hash contains details about the AmazonPay payment method options.If this is abacs_debit
SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.Configuration for any card setup attempted on this SetupIntent.If this is acard_present
PaymentMethod, this sub-hash contains details about the card-present payment method options.If this is alink
PaymentMethod, this sub-hash contains details about the Link payment method options.If this is apaypal
PaymentMethod, this sub-hash contains details about the PayPal 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 SetupIntentConfirmParams.PaymentMethodOptions.Builder setAcssDebit(SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit acssDebit) If this is aacss_debit
SetupIntent, this sub-hash contains details about the ACSS Debit payment method options. -
setAmazonPay
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setAmazonPay(SetupIntentConfirmParams.PaymentMethodOptions.AmazonPay amazonPay) If this is aamazon_pay
SetupIntent, this sub-hash contains details about the AmazonPay payment method options. -
setBacsDebit
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setBacsDebit(SetupIntentConfirmParams.PaymentMethodOptions.BacsDebit bacsDebit) If this is abacs_debit
SetupIntent, this sub-hash contains details about the Bacs Debit payment method options. -
setCard
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setCard(SetupIntentConfirmParams.PaymentMethodOptions.Card card) Configuration for any card setup attempted on this SetupIntent. -
setCardPresent
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setCardPresent(SetupIntentConfirmParams.PaymentMethodOptions.CardPresent cardPresent) If this is acard_present
PaymentMethod, this sub-hash contains details about the card-present payment method options. -
putExtraParam
public SetupIntentConfirmParams.PaymentMethodOptions.Builder putExtraParam(String key, 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. SeeSetupIntentConfirmParams.PaymentMethodOptions.extraParams
for the field documentation. -
putAllExtraParam
public SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodOptions.extraParams
for the field documentation. -
setLink
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setLink(SetupIntentConfirmParams.PaymentMethodOptions.Link link) If this is alink
PaymentMethod, this sub-hash contains details about the Link payment method options. -
setPaypal
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setPaypal(SetupIntentConfirmParams.PaymentMethodOptions.Paypal paypal) If this is apaypal
PaymentMethod, this sub-hash contains details about the PayPal payment method options. -
setSepaDebit
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setSepaDebit(SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit sepaDebit) If this is asepa_debit
SetupIntent, this sub-hash contains details about the SEPA Debit payment method options. -
setUsBankAccount
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setUsBankAccount(SetupIntentConfirmParams.PaymentMethodOptions.UsBankAccount usBankAccount) If this is aus_bank_account
SetupIntent, this sub-hash contains details about the US bank account payment method options.
-