Package com.stripe.param
Class SetupIntentUpdateParams.PaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.SetupIntentUpdateParams.PaymentMethodOptions.Builder
- Enclosing class:
- SetupIntentUpdateParams.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_debitSetupIntent, this sub-hash contains details about the ACSS Debit payment method options.If this is aamazon_paySetupIntent, this sub-hash contains details about the AmazonPay payment method options.If this is abacs_debitSetupIntent, this sub-hash contains details about the Bacs Debit payment method options.If this is abizumSetupIntent, this sub-hash contains details about the Bizum payment method options.If this is ablikPaymentMethod, this hash contains details about the BLIK payment method.Configuration for any card setup attempted on this SetupIntent.If this is acard_presentPaymentMethod, this sub-hash contains details about the card-present payment method options.If this is aklarnaPaymentMethod, this hash contains details about the Klarna payment method options.If this is alinkPaymentMethod, this sub-hash contains details about the Link payment method options (Link is also known as Onelink in the UK).If this is apaypalPaymentMethod, this sub-hash contains details about the PayPal payment method options.If this is apaytoSetupIntent, this sub-hash contains details about the PayTo payment method options.If this is apixSetupIntent, this sub-hash contains details about the Pix payment method options.If this is asepa_debitSetupIntent, this sub-hash contains details about the SEPA Debit payment method options.If this is aupiSetupIntent, this sub-hash contains details about the UPI payment method options.If this is aus_bank_accountSetupIntent, 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 SetupIntentUpdateParams.PaymentMethodOptions.Builder setAcssDebit(SetupIntentUpdateParams.PaymentMethodOptions.AcssDebit acssDebit) If this is aacss_debitSetupIntent, this sub-hash contains details about the ACSS Debit payment method options. -
setAmazonPay
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setAmazonPay(SetupIntentUpdateParams.PaymentMethodOptions.AmazonPay amazonPay) If this is aamazon_paySetupIntent, this sub-hash contains details about the AmazonPay payment method options. -
setBacsDebit
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setBacsDebit(SetupIntentUpdateParams.PaymentMethodOptions.BacsDebit bacsDebit) If this is abacs_debitSetupIntent, this sub-hash contains details about the Bacs Debit payment method options. -
setBizum
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setBizum(SetupIntentUpdateParams.PaymentMethodOptions.Bizum bizum) If this is abizumSetupIntent, this sub-hash contains details about the Bizum payment method options. -
setBlik
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setBlik(SetupIntentUpdateParams.PaymentMethodOptions.Blik blik) If this is ablikPaymentMethod, this hash contains details about the BLIK payment method. -
setCard
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setCard(SetupIntentUpdateParams.PaymentMethodOptions.Card card) Configuration for any card setup attempted on this SetupIntent. -
setCardPresent
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setCardPresent(SetupIntentUpdateParams.PaymentMethodOptions.CardPresent cardPresent) If this is acard_presentPaymentMethod, this sub-hash contains details about the card-present payment method options. -
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. SeeSetupIntentUpdateParams.PaymentMethodOptions.extraParamsfor the field documentation. -
putAllExtraParam
public SetupIntentUpdateParams.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. SeeSetupIntentUpdateParams.PaymentMethodOptions.extraParamsfor the field documentation. -
setKlarna
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setKlarna(SetupIntentUpdateParams.PaymentMethodOptions.Klarna klarna) If this is aklarnaPaymentMethod, this hash contains details about the Klarna payment method options. -
setLink
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setLink(SetupIntentUpdateParams.PaymentMethodOptions.Link link) If this is alinkPaymentMethod, this sub-hash contains details about the Link payment method options (Link is also known as Onelink in the UK). -
setPaypal
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setPaypal(SetupIntentUpdateParams.PaymentMethodOptions.Paypal paypal) If this is apaypalPaymentMethod, this sub-hash contains details about the PayPal payment method options. -
setPayto
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setPayto(SetupIntentUpdateParams.PaymentMethodOptions.Payto payto) If this is apaytoSetupIntent, this sub-hash contains details about the PayTo payment method options. -
setPix
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setPix(SetupIntentUpdateParams.PaymentMethodOptions.Pix pix) If this is apixSetupIntent, this sub-hash contains details about the Pix payment method options. -
setSepaDebit
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setSepaDebit(SetupIntentUpdateParams.PaymentMethodOptions.SepaDebit sepaDebit) If this is asepa_debitSetupIntent, this sub-hash contains details about the SEPA Debit payment method options. -
setUpi
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setUpi(SetupIntentUpdateParams.PaymentMethodOptions.Upi upi) If this is aupiSetupIntent, this sub-hash contains details about the UPI payment method options. -
setUsBankAccount
public SetupIntentUpdateParams.PaymentMethodOptions.Builder setUsBankAccount(SetupIntentUpdateParams.PaymentMethodOptions.UsBankAccount usBankAccount) If this is aus_bank_accountSetupIntent, this sub-hash contains details about the US bank account payment method options.
-