Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
- Enclosing class:
- PaymentIntentConfirmParams.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.setAcssDebit(EmptyParam acssDebit) If this is aacss_debitPaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.If this is aacss_debitPaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.setAffirm(EmptyParam affirm) If this is anaffirmPaymentMethod, this sub-hash contains details about the Affirm payment method options.If this is anaffirmPaymentMethod, this sub-hash contains details about the Affirm payment method options.setAfterpayClearpay(EmptyParam afterpayClearpay) If this is aafterpay_clearpayPaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.setAfterpayClearpay(PaymentIntentConfirmParams.PaymentMethodOptions.AfterpayClearpay afterpayClearpay) If this is aafterpay_clearpayPaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.setAlipay(EmptyParam alipay) If this is aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options.If this is aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options.setAuBecsDebit(EmptyParam auBecsDebit) If this is aau_becs_debitPaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.If this is aau_becs_debitPaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.setBacsDebit(EmptyParam bacsDebit) If this is abacs_debitPaymentMethod, this sub-hash contains details about the BACS Debit payment method options.If this is abacs_debitPaymentMethod, this sub-hash contains details about the BACS Debit payment method options.setBancontact(EmptyParam bancontact) If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options.If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options.setBlik(EmptyParam blik) If this is ablikPaymentMethod, this sub-hash contains details about the BLIK payment method options.If this is ablikPaymentMethod, this sub-hash contains details about the BLIK payment method options.setBoleto(EmptyParam boleto) If this is aboletoPaymentMethod, this sub-hash contains details about the Boleto payment method options.If this is aboletoPaymentMethod, this sub-hash contains details about the Boleto payment method options.setCard(EmptyParam card) Configuration for any card payments attempted on this PaymentIntent.Configuration for any card payments attempted on this PaymentIntent.setCardPresent(EmptyParam cardPresent) If this is acard_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.If this is acard_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.setCashapp(EmptyParam cashapp) If this is acashappPaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.If this is acashappPaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.setCustomerBalance(EmptyParam customerBalance) If this is acustomer balancePaymentMethod, this sub-hash contains details about the customer balance payment method options.If this is acustomer balancePaymentMethod, this sub-hash contains details about the customer balance payment method options.setEps(EmptyParam eps) If this is aepsPaymentMethod, this sub-hash contains details about the EPS payment method options.If this is aepsPaymentMethod, this sub-hash contains details about the EPS payment method options.setFpx(EmptyParam fpx) If this is afpxPaymentMethod, this sub-hash contains details about the FPX payment method options.If this is afpxPaymentMethod, this sub-hash contains details about the FPX payment method options.setGiropay(EmptyParam giropay) If this is agiropayPaymentMethod, this sub-hash contains details about the Giropay payment method options.If this is agiropayPaymentMethod, this sub-hash contains details about the Giropay payment method options.setGrabpay(EmptyParam grabpay) If this is agrabpayPaymentMethod, this sub-hash contains details about the Grabpay payment method options.If this is agrabpayPaymentMethod, this sub-hash contains details about the Grabpay payment method options.setIdeal(EmptyParam ideal) If this is aidealPaymentMethod, this sub-hash contains details about the Ideal payment method options.If this is aidealPaymentMethod, this sub-hash contains details about the Ideal payment method options.setInteracPresent(EmptyParam interacPresent) If this is ainterac_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.If this is ainterac_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.setKlarna(EmptyParam klarna) If this is aklarnaPaymentMethod, this sub-hash contains details about the Klarna payment method options.If this is aklarnaPaymentMethod, this sub-hash contains details about the Klarna payment method options.setKonbini(EmptyParam konbini) If this is akonbiniPaymentMethod, this sub-hash contains details about the Konbini payment method options.If this is akonbiniPaymentMethod, this sub-hash contains details about the Konbini payment method options.setLink(EmptyParam link) If this is alinkPaymentMethod, this sub-hash contains details about the Link payment method options.If this is alinkPaymentMethod, this sub-hash contains details about the Link payment method options.setOxxo(EmptyParam oxxo) If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options.If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options.setP24(EmptyParam p24) If this is ap24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.If this is ap24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.setPaynow(EmptyParam paynow) If this is apaynowPaymentMethod, this sub-hash contains details about the PayNow payment method options.If this is apaynowPaymentMethod, this sub-hash contains details about the PayNow payment method options.setPaypal(EmptyParam paypal) If this is apaypalPaymentMethod, this sub-hash contains details about the PayPal payment method options.If this is apaypalPaymentMethod, this sub-hash contains details about the PayPal payment method options.setPix(EmptyParam pix) If this is apixPaymentMethod, this sub-hash contains details about the Pix payment method options.If this is apixPaymentMethod, this sub-hash contains details about the Pix payment method options.setPromptpay(EmptyParam promptpay) If this is apromptpayPaymentMethod, this sub-hash contains details about the PromptPay payment method options.If this is apromptpayPaymentMethod, this sub-hash contains details about the PromptPay payment method options.setRevolutPay(EmptyParam revolutPay) If this is arevolut_payPaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.If this is arevolut_payPaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.setSepaDebit(EmptyParam sepaDebit) If this is asepa_debitPaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.If this is asepa_debitPaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.setSofort(EmptyParam sofort) If this is asofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options.If this is asofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options.setSwish(EmptyParam swish) If this is aSwishPaymentMethod, this sub-hash contains details about the Swish payment method options.If this is aSwishPaymentMethod, this sub-hash contains details about the Swish payment method options.setUsBankAccount(EmptyParam usBankAccount) If this is aus_bank_accountPaymentMethod, this sub-hash contains details about the US bank account payment method options.If this is aus_bank_accountPaymentMethod, this sub-hash contains details about the US bank account payment method options.setWechatPay(EmptyParam wechatPay) If this is awechat_payPaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.If this is awechat_payPaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.setZip(EmptyParam zip) If this is azipPaymentMethod, this sub-hash contains details about the Zip payment method options.If this is azipPaymentMethod, this sub-hash contains details about the Zip payment method options.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAcssDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAcssDebit(PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit acssDebit) If this is aacss_debitPaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. -
setAcssDebit
If this is aacss_debitPaymentMethod, this sub-hash contains details about the ACSS Debit payment method options. -
setAffirm
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAffirm(PaymentIntentConfirmParams.PaymentMethodOptions.Affirm affirm) If this is anaffirmPaymentMethod, this sub-hash contains details about the Affirm payment method options. -
setAffirm
If this is anaffirmPaymentMethod, this sub-hash contains details about the Affirm payment method options. -
setAfterpayClearpay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAfterpayClearpay(PaymentIntentConfirmParams.PaymentMethodOptions.AfterpayClearpay afterpayClearpay) If this is aafterpay_clearpayPaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. -
setAfterpayClearpay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAfterpayClearpay(EmptyParam afterpayClearpay) If this is aafterpay_clearpayPaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options. -
setAlipay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAlipay(PaymentIntentConfirmParams.PaymentMethodOptions.Alipay alipay) If this is aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options. -
setAlipay
If this is aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options. -
setAuBecsDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAuBecsDebit(PaymentIntentConfirmParams.PaymentMethodOptions.AuBecsDebit auBecsDebit) If this is aau_becs_debitPaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. -
setAuBecsDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAuBecsDebit(EmptyParam auBecsDebit) If this is aau_becs_debitPaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. -
setBacsDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBacsDebit(PaymentIntentConfirmParams.PaymentMethodOptions.BacsDebit bacsDebit) If this is abacs_debitPaymentMethod, this sub-hash contains details about the BACS Debit payment method options. -
setBacsDebit
If this is abacs_debitPaymentMethod, this sub-hash contains details about the BACS Debit payment method options. -
setBancontact
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBancontact(PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact bancontact) If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options. -
setBancontact
If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options. -
setBlik
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBlik(PaymentIntentConfirmParams.PaymentMethodOptions.Blik blik) If this is ablikPaymentMethod, this sub-hash contains details about the BLIK payment method options. -
setBlik
If this is ablikPaymentMethod, this sub-hash contains details about the BLIK payment method options. -
setBoleto
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBoleto(PaymentIntentConfirmParams.PaymentMethodOptions.Boleto boleto) If this is aboletoPaymentMethod, this sub-hash contains details about the Boleto payment method options. -
setBoleto
If this is aboletoPaymentMethod, this sub-hash contains details about the Boleto payment method options. -
setCard
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCard(PaymentIntentConfirmParams.PaymentMethodOptions.Card card) Configuration for any card payments attempted on this PaymentIntent. -
setCard
Configuration for any card payments attempted on this PaymentIntent. -
setCardPresent
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCardPresent(PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent cardPresent) If this is acard_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options. -
setCardPresent
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCardPresent(EmptyParam cardPresent) If this is acard_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options. -
setCashapp
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCashapp(PaymentIntentConfirmParams.PaymentMethodOptions.Cashapp cashapp) If this is acashappPaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. -
setCashapp
If this is acashappPaymentMethod, this sub-hash contains details about the Cash App Pay payment method options. -
setCustomerBalance
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCustomerBalance(PaymentIntentConfirmParams.PaymentMethodOptions.CustomerBalance customerBalance) If this is acustomer balancePaymentMethod, this sub-hash contains details about the customer balance payment method options. -
setCustomerBalance
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCustomerBalance(EmptyParam customerBalance) If this is acustomer balancePaymentMethod, this sub-hash contains details about the customer balance payment method options. -
setEps
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setEps(PaymentIntentConfirmParams.PaymentMethodOptions.Eps eps) If this is aepsPaymentMethod, this sub-hash contains details about the EPS payment method options. -
setEps
If this is aepsPaymentMethod, this sub-hash contains details about the EPS payment method options. -
putExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodOptions.extraParamsfor the field documentation. -
setFpx
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setFpx(PaymentIntentConfirmParams.PaymentMethodOptions.Fpx fpx) If this is afpxPaymentMethod, this sub-hash contains details about the FPX payment method options. -
setFpx
If this is afpxPaymentMethod, this sub-hash contains details about the FPX payment method options. -
setGiropay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setGiropay(PaymentIntentConfirmParams.PaymentMethodOptions.Giropay giropay) If this is agiropayPaymentMethod, this sub-hash contains details about the Giropay payment method options. -
setGiropay
If this is agiropayPaymentMethod, this sub-hash contains details about the Giropay payment method options. -
setGrabpay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setGrabpay(PaymentIntentConfirmParams.PaymentMethodOptions.Grabpay grabpay) If this is agrabpayPaymentMethod, this sub-hash contains details about the Grabpay payment method options. -
setGrabpay
If this is agrabpayPaymentMethod, this sub-hash contains details about the Grabpay payment method options. -
setIdeal
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setIdeal(PaymentIntentConfirmParams.PaymentMethodOptions.Ideal ideal) If this is aidealPaymentMethod, this sub-hash contains details about the Ideal payment method options. -
setIdeal
If this is aidealPaymentMethod, this sub-hash contains details about the Ideal payment method options. -
setInteracPresent
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setInteracPresent(PaymentIntentConfirmParams.PaymentMethodOptions.InteracPresent interacPresent) If this is ainterac_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options. -
setInteracPresent
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setInteracPresent(EmptyParam interacPresent) If this is ainterac_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options. -
setKlarna
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setKlarna(PaymentIntentConfirmParams.PaymentMethodOptions.Klarna klarna) If this is aklarnaPaymentMethod, this sub-hash contains details about the Klarna payment method options. -
setKlarna
If this is aklarnaPaymentMethod, this sub-hash contains details about the Klarna payment method options. -
setKonbini
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setKonbini(PaymentIntentConfirmParams.PaymentMethodOptions.Konbini konbini) If this is akonbiniPaymentMethod, this sub-hash contains details about the Konbini payment method options. -
setKonbini
If this is akonbiniPaymentMethod, this sub-hash contains details about the Konbini payment method options. -
setLink
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setLink(PaymentIntentConfirmParams.PaymentMethodOptions.Link link) If this is alinkPaymentMethod, this sub-hash contains details about the Link payment method options. -
setLink
If this is alinkPaymentMethod, this sub-hash contains details about the Link payment method options. -
setOxxo
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setOxxo(PaymentIntentConfirmParams.PaymentMethodOptions.Oxxo oxxo) If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options. -
setOxxo
If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options. -
setP24
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setP24(PaymentIntentConfirmParams.PaymentMethodOptions.P24 p24) If this is ap24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. -
setP24
If this is ap24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. -
setPaynow
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setPaynow(PaymentIntentConfirmParams.PaymentMethodOptions.Paynow paynow) If this is apaynowPaymentMethod, this sub-hash contains details about the PayNow payment method options. -
setPaynow
If this is apaynowPaymentMethod, this sub-hash contains details about the PayNow payment method options. -
setPaypal
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setPaypal(PaymentIntentConfirmParams.PaymentMethodOptions.Paypal paypal) If this is apaypalPaymentMethod, this sub-hash contains details about the PayPal payment method options. -
setPaypal
If this is apaypalPaymentMethod, this sub-hash contains details about the PayPal payment method options. -
setPix
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setPix(PaymentIntentConfirmParams.PaymentMethodOptions.Pix pix) If this is apixPaymentMethod, this sub-hash contains details about the Pix payment method options. -
setPix
If this is apixPaymentMethod, this sub-hash contains details about the Pix payment method options. -
setPromptpay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setPromptpay(PaymentIntentConfirmParams.PaymentMethodOptions.Promptpay promptpay) If this is apromptpayPaymentMethod, this sub-hash contains details about the PromptPay payment method options. -
setPromptpay
If this is apromptpayPaymentMethod, this sub-hash contains details about the PromptPay payment method options. -
setRevolutPay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setRevolutPay(PaymentIntentConfirmParams.PaymentMethodOptions.RevolutPay revolutPay) If this is arevolut_payPaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. -
setRevolutPay
If this is arevolut_payPaymentMethod, this sub-hash contains details about the Revolut Pay payment method options. -
setSepaDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSepaDebit(PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit sepaDebit) If this is asepa_debitPaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. -
setSepaDebit
If this is asepa_debitPaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. -
setSofort
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSofort(PaymentIntentConfirmParams.PaymentMethodOptions.Sofort sofort) If this is asofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options. -
setSofort
If this is asofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options. -
setSwish
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSwish(PaymentIntentConfirmParams.PaymentMethodOptions.Swish swish) If this is aSwishPaymentMethod, this sub-hash contains details about the Swish payment method options. -
setSwish
If this is aSwishPaymentMethod, this sub-hash contains details about the Swish payment method options. -
setUsBankAccount
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setUsBankAccount(PaymentIntentConfirmParams.PaymentMethodOptions.UsBankAccount usBankAccount) If this is aus_bank_accountPaymentMethod, this sub-hash contains details about the US bank account payment method options. -
setUsBankAccount
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setUsBankAccount(EmptyParam usBankAccount) If this is aus_bank_accountPaymentMethod, this sub-hash contains details about the US bank account payment method options. -
setWechatPay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setWechatPay(PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay wechatPay) If this is awechat_payPaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. -
setWechatPay
If this is awechat_payPaymentMethod, this sub-hash contains details about the WeChat Pay payment method options. -
setZip
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setZip(PaymentIntentConfirmParams.PaymentMethodOptions.Zip zip) If this is azipPaymentMethod, this sub-hash contains details about the Zip payment method options. -
setZip
If this is azipPaymentMethod, this sub-hash contains details about the Zip payment method options.
-