Package com.stripe.param
Class SetupIntentConfirmParams.PaymentMethodData.Builder
java.lang.Object
com.stripe.param.SetupIntentConfirmParams.PaymentMethodData.Builder
- Enclosing class:
- SetupIntentConfirmParams.PaymentMethodData
-
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.putAllMetadata(Map<String, String> map) Add all map key/value pairs to `metadata` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.putMetadata(String key, String value) Add a key/value pair to `metadata` map.If this is anacss_debitPaymentMethod, this hash contains details about the ACSS Debit payment method.If this is anaffirmPaymentMethod, this hash contains details about the Affirm payment method.If this is anAfterpayClearpayPaymentMethod, this hash contains details about the AfterpayClearpay payment method.If this is anAlipayPaymentMethod, this hash contains details about the Alipay payment method.This field indicates whether this payment method can be shown again to its customer in a checkout flow.If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.If this is anau_becs_debitPaymentMethod, this hash contains details about the bank account.If this is abacs_debitPaymentMethod, this hash contains details about the Bacs Direct Debit bank account.If this is abancontactPaymentMethod, this hash contains details about the Bancontact payment method.If this is abilliePaymentMethod, this hash contains details about the Billie payment method.Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.If this is ablikPaymentMethod, this hash contains details about the BLIK payment method.If this is aboletoPaymentMethod, this hash contains details about the Boleto payment method.If this is acashappPaymentMethod, this hash contains details about the Cash App Pay payment method.If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method.If this is acustomer_balancePaymentMethod, this hash contains details about the CustomerBalance payment method.If this is anepsPaymentMethod, this hash contains details about the EPS payment method.If this is anfpxPaymentMethod, this hash contains details about the FPX payment method.If this is agiropayPaymentMethod, this hash contains details about the Giropay payment method.If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.If this is agrabpayPaymentMethod, this hash contains details about the GrabPay payment method.If this is anIdBankTransferPaymentMethod, this hash contains details about the IdBankTransfer payment method.If this is anidealPaymentMethod, this hash contains details about the iDEAL payment method.If this is aninterac_presentPaymentMethod, this hash contains details about the Interac Present payment method.If this is akakao_payPaymentMethod, this hash contains details about the Kakao Pay payment method.If this is aklarnaPaymentMethod, this hash contains details about the Klarna payment method.If this is akonbiniPaymentMethod, this hash contains details about the Konbini payment method.If this is akr_cardPaymentMethod, this hash contains details about the Korean Card payment method.If this is anLinkPaymentMethod, this hash contains details about the Link payment method.If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.If this is amobilepayPaymentMethod, this hash contains details about the MobilePay payment method.If this is amultibancoPaymentMethod, this hash contains details about the Multibanco payment method.If this is anaver_payPaymentMethod, this hash contains details about the Naver Pay payment method.If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.If this is anoxxoPaymentMethod, this hash contains details about the OXXO payment method.If this is ap24PaymentMethod, this hash contains details about the P24 payment method.If this is apay_by_bankPaymentMethod, this hash contains details about the PayByBank payment method.If this is apaycoPaymentMethod, this hash contains details about the PAYCO payment method.If this is apaynowPaymentMethod, this hash contains details about the PayNow payment method.If this is apaypalPaymentMethod, this hash contains details about the PayPal payment method.If this is apaypayPaymentMethod, this hash contains details about the PayPay payment method.If this is apaytoPaymentMethod, this hash contains details about the PayTo payment method.If this is apixPaymentMethod, this hash contains details about the Pix payment method.If this is apromptpayPaymentMethod, this hash contains details about the PromptPay payment method.If this is aqrisPaymentMethod, this hash contains details about the QRIS payment method.Options to configure Radar.If this is arechnungPaymentMethod, this hash contains details about the Rechnung payment method.If this is arevolut_payPaymentMethod, this hash contains details about the Revolut Pay payment method.If this is asamsung_payPaymentMethod, this hash contains details about the SamsungPay payment method.If this is asatispayPaymentMethod, this hash contains details about the Satispay payment method.If this is asepa_debitPaymentMethod, this hash contains details about the SEPA debit bank account.If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.If this is asofortPaymentMethod, this hash contains details about the SOFORT payment method.This hash contains details about the Stripe balance payment method.If this is aswishPaymentMethod, this hash contains details about the Swish payment method.If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.Required. The type of the PaymentMethod.If this is anus_bank_accountPaymentMethod, this hash contains details about the US bank account payment method.If this is anwechat_payPaymentMethod, this hash contains details about the wechat_pay payment method.If this is azipPaymentMethod, this hash contains details about the Zip payment method.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAcssDebit
public SetupIntentConfirmParams.PaymentMethodData.Builder setAcssDebit(SetupIntentConfirmParams.PaymentMethodData.AcssDebit acssDebit) If this is anacss_debitPaymentMethod, this hash contains details about the ACSS Debit payment method. -
setAffirm
public SetupIntentConfirmParams.PaymentMethodData.Builder setAffirm(SetupIntentConfirmParams.PaymentMethodData.Affirm affirm) If this is anaffirmPaymentMethod, this hash contains details about the Affirm payment method. -
setAfterpayClearpay
public SetupIntentConfirmParams.PaymentMethodData.Builder setAfterpayClearpay(SetupIntentConfirmParams.PaymentMethodData.AfterpayClearpay afterpayClearpay) If this is anAfterpayClearpayPaymentMethod, this hash contains details about the AfterpayClearpay payment method. -
setAlipay
public SetupIntentConfirmParams.PaymentMethodData.Builder setAlipay(SetupIntentConfirmParams.PaymentMethodData.Alipay alipay) If this is anAlipayPaymentMethod, this hash contains details about the Alipay payment method. -
setAllowRedisplay
public SetupIntentConfirmParams.PaymentMethodData.Builder setAllowRedisplay(SetupIntentConfirmParams.PaymentMethodData.AllowRedisplay allowRedisplay) This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow. The field defaults tounspecified. -
setAlma
public SetupIntentConfirmParams.PaymentMethodData.Builder setAlma(SetupIntentConfirmParams.PaymentMethodData.Alma alma) If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. -
setAmazonPay
public SetupIntentConfirmParams.PaymentMethodData.Builder setAmazonPay(SetupIntentConfirmParams.PaymentMethodData.AmazonPay amazonPay) If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. -
setAuBecsDebit
public SetupIntentConfirmParams.PaymentMethodData.Builder setAuBecsDebit(SetupIntentConfirmParams.PaymentMethodData.AuBecsDebit auBecsDebit) If this is anau_becs_debitPaymentMethod, this hash contains details about the bank account. -
setBacsDebit
public SetupIntentConfirmParams.PaymentMethodData.Builder setBacsDebit(SetupIntentConfirmParams.PaymentMethodData.BacsDebit bacsDebit) If this is abacs_debitPaymentMethod, this hash contains details about the Bacs Direct Debit bank account. -
setBancontact
public SetupIntentConfirmParams.PaymentMethodData.Builder setBancontact(SetupIntentConfirmParams.PaymentMethodData.Bancontact bancontact) If this is abancontactPaymentMethod, this hash contains details about the Bancontact payment method. -
setBillie
public SetupIntentConfirmParams.PaymentMethodData.Builder setBillie(SetupIntentConfirmParams.PaymentMethodData.Billie billie) If this is abilliePaymentMethod, this hash contains details about the Billie payment method. -
setBillingDetails
public SetupIntentConfirmParams.PaymentMethodData.Builder setBillingDetails(SetupIntentConfirmParams.PaymentMethodData.BillingDetails billingDetails) Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. -
setBlik
public SetupIntentConfirmParams.PaymentMethodData.Builder setBlik(SetupIntentConfirmParams.PaymentMethodData.Blik blik) If this is ablikPaymentMethod, this hash contains details about the BLIK payment method. -
setBoleto
public SetupIntentConfirmParams.PaymentMethodData.Builder setBoleto(SetupIntentConfirmParams.PaymentMethodData.Boleto boleto) If this is aboletoPaymentMethod, this hash contains details about the Boleto payment method. -
setCashapp
public SetupIntentConfirmParams.PaymentMethodData.Builder setCashapp(SetupIntentConfirmParams.PaymentMethodData.Cashapp cashapp) If this is acashappPaymentMethod, this hash contains details about the Cash App Pay payment method. -
setCrypto
public SetupIntentConfirmParams.PaymentMethodData.Builder setCrypto(SetupIntentConfirmParams.PaymentMethodData.Crypto crypto) If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. -
setCustomerBalance
public SetupIntentConfirmParams.PaymentMethodData.Builder setCustomerBalance(SetupIntentConfirmParams.PaymentMethodData.CustomerBalance customerBalance) If this is acustomer_balancePaymentMethod, this hash contains details about the CustomerBalance payment method. -
setEps
public SetupIntentConfirmParams.PaymentMethodData.Builder setEps(SetupIntentConfirmParams.PaymentMethodData.Eps eps) If this is anepsPaymentMethod, this hash contains details about the EPS payment method. -
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. SeeSetupIntentConfirmParams.PaymentMethodData.extraParamsfor the field documentation. -
putAllExtraParam
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.PaymentMethodData.extraParamsfor the field documentation. -
setFpx
public SetupIntentConfirmParams.PaymentMethodData.Builder setFpx(SetupIntentConfirmParams.PaymentMethodData.Fpx fpx) If this is anfpxPaymentMethod, this hash contains details about the FPX payment method. -
setGiropay
public SetupIntentConfirmParams.PaymentMethodData.Builder setGiropay(SetupIntentConfirmParams.PaymentMethodData.Giropay giropay) If this is agiropayPaymentMethod, this hash contains details about the Giropay payment method. -
setGopay
public SetupIntentConfirmParams.PaymentMethodData.Builder setGopay(SetupIntentConfirmParams.PaymentMethodData.Gopay gopay) If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. -
setGrabpay
public SetupIntentConfirmParams.PaymentMethodData.Builder setGrabpay(SetupIntentConfirmParams.PaymentMethodData.Grabpay grabpay) If this is agrabpayPaymentMethod, this hash contains details about the GrabPay payment method. -
setIdBankTransfer
public SetupIntentConfirmParams.PaymentMethodData.Builder setIdBankTransfer(SetupIntentConfirmParams.PaymentMethodData.IdBankTransfer idBankTransfer) If this is anIdBankTransferPaymentMethod, this hash contains details about the IdBankTransfer payment method. -
setIdeal
public SetupIntentConfirmParams.PaymentMethodData.Builder setIdeal(SetupIntentConfirmParams.PaymentMethodData.Ideal ideal) If this is anidealPaymentMethod, this hash contains details about the iDEAL payment method. -
setInteracPresent
public SetupIntentConfirmParams.PaymentMethodData.Builder setInteracPresent(SetupIntentConfirmParams.PaymentMethodData.InteracPresent interacPresent) If this is aninterac_presentPaymentMethod, this hash contains details about the Interac Present payment method. -
setKakaoPay
public SetupIntentConfirmParams.PaymentMethodData.Builder setKakaoPay(SetupIntentConfirmParams.PaymentMethodData.KakaoPay kakaoPay) If this is akakao_payPaymentMethod, this hash contains details about the Kakao Pay payment method. -
setKlarna
public SetupIntentConfirmParams.PaymentMethodData.Builder setKlarna(SetupIntentConfirmParams.PaymentMethodData.Klarna klarna) If this is aklarnaPaymentMethod, this hash contains details about the Klarna payment method. -
setKonbini
public SetupIntentConfirmParams.PaymentMethodData.Builder setKonbini(SetupIntentConfirmParams.PaymentMethodData.Konbini konbini) If this is akonbiniPaymentMethod, this hash contains details about the Konbini payment method. -
setKrCard
public SetupIntentConfirmParams.PaymentMethodData.Builder setKrCard(SetupIntentConfirmParams.PaymentMethodData.KrCard krCard) If this is akr_cardPaymentMethod, this hash contains details about the Korean Card payment method. -
setLink
public SetupIntentConfirmParams.PaymentMethodData.Builder setLink(SetupIntentConfirmParams.PaymentMethodData.Link link) If this is anLinkPaymentMethod, this hash contains details about the Link payment method. -
setMbWay
public SetupIntentConfirmParams.PaymentMethodData.Builder setMbWay(SetupIntentConfirmParams.PaymentMethodData.MbWay mbWay) If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method. -
putMetadata
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSetupIntentConfirmParams.PaymentMethodData.metadatafor the field documentation. -
putAllMetadata
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSetupIntentConfirmParams.PaymentMethodData.metadatafor the field documentation. -
setMobilepay
public SetupIntentConfirmParams.PaymentMethodData.Builder setMobilepay(SetupIntentConfirmParams.PaymentMethodData.Mobilepay mobilepay) If this is amobilepayPaymentMethod, this hash contains details about the MobilePay payment method. -
setMultibanco
public SetupIntentConfirmParams.PaymentMethodData.Builder setMultibanco(SetupIntentConfirmParams.PaymentMethodData.Multibanco multibanco) If this is amultibancoPaymentMethod, this hash contains details about the Multibanco payment method. -
setNzBankAccount
public SetupIntentConfirmParams.PaymentMethodData.Builder setNzBankAccount(SetupIntentConfirmParams.PaymentMethodData.NzBankAccount nzBankAccount) If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. -
setOxxo
public SetupIntentConfirmParams.PaymentMethodData.Builder setOxxo(SetupIntentConfirmParams.PaymentMethodData.Oxxo oxxo) If this is anoxxoPaymentMethod, this hash contains details about the OXXO payment method. -
setP24
public SetupIntentConfirmParams.PaymentMethodData.Builder setP24(SetupIntentConfirmParams.PaymentMethodData.P24 p24) If this is ap24PaymentMethod, this hash contains details about the P24 payment method. -
setPayByBank
public SetupIntentConfirmParams.PaymentMethodData.Builder setPayByBank(SetupIntentConfirmParams.PaymentMethodData.PayByBank payByBank) If this is apay_by_bankPaymentMethod, this hash contains details about the PayByBank payment method. -
setPayco
public SetupIntentConfirmParams.PaymentMethodData.Builder setPayco(SetupIntentConfirmParams.PaymentMethodData.Payco payco) If this is apaycoPaymentMethod, this hash contains details about the PAYCO payment method. -
setPaynow
public SetupIntentConfirmParams.PaymentMethodData.Builder setPaynow(SetupIntentConfirmParams.PaymentMethodData.Paynow paynow) If this is apaynowPaymentMethod, this hash contains details about the PayNow payment method. -
setPaypal
public SetupIntentConfirmParams.PaymentMethodData.Builder setPaypal(SetupIntentConfirmParams.PaymentMethodData.Paypal paypal) If this is apaypalPaymentMethod, this hash contains details about the PayPal payment method. -
setPaypay
public SetupIntentConfirmParams.PaymentMethodData.Builder setPaypay(SetupIntentConfirmParams.PaymentMethodData.Paypay paypay) If this is apaypayPaymentMethod, this hash contains details about the PayPay payment method. -
setPayto
public SetupIntentConfirmParams.PaymentMethodData.Builder setPayto(SetupIntentConfirmParams.PaymentMethodData.Payto payto) If this is apaytoPaymentMethod, this hash contains details about the PayTo payment method. -
setPix
public SetupIntentConfirmParams.PaymentMethodData.Builder setPix(SetupIntentConfirmParams.PaymentMethodData.Pix pix) If this is apixPaymentMethod, this hash contains details about the Pix payment method. -
setPromptpay
public SetupIntentConfirmParams.PaymentMethodData.Builder setPromptpay(SetupIntentConfirmParams.PaymentMethodData.Promptpay promptpay) If this is apromptpayPaymentMethod, this hash contains details about the PromptPay payment method. -
setQris
public SetupIntentConfirmParams.PaymentMethodData.Builder setQris(SetupIntentConfirmParams.PaymentMethodData.Qris qris) If this is aqrisPaymentMethod, this hash contains details about the QRIS payment method. -
setRadarOptions
public SetupIntentConfirmParams.PaymentMethodData.Builder setRadarOptions(SetupIntentConfirmParams.PaymentMethodData.RadarOptions radarOptions) Options to configure Radar. See Radar Session for more information. -
setRechnung
public SetupIntentConfirmParams.PaymentMethodData.Builder setRechnung(SetupIntentConfirmParams.PaymentMethodData.Rechnung rechnung) If this is arechnungPaymentMethod, this hash contains details about the Rechnung payment method. -
setRevolutPay
public SetupIntentConfirmParams.PaymentMethodData.Builder setRevolutPay(SetupIntentConfirmParams.PaymentMethodData.RevolutPay revolutPay) If this is arevolut_payPaymentMethod, this hash contains details about the Revolut Pay payment method. -
setSamsungPay
public SetupIntentConfirmParams.PaymentMethodData.Builder setSamsungPay(SetupIntentConfirmParams.PaymentMethodData.SamsungPay samsungPay) If this is asamsung_payPaymentMethod, this hash contains details about the SamsungPay payment method. -
setSatispay
public SetupIntentConfirmParams.PaymentMethodData.Builder setSatispay(SetupIntentConfirmParams.PaymentMethodData.Satispay satispay) If this is asatispayPaymentMethod, this hash contains details about the Satispay payment method. -
setSepaDebit
public SetupIntentConfirmParams.PaymentMethodData.Builder setSepaDebit(SetupIntentConfirmParams.PaymentMethodData.SepaDebit sepaDebit) If this is asepa_debitPaymentMethod, this hash contains details about the SEPA debit bank account. -
setShopeepay
public SetupIntentConfirmParams.PaymentMethodData.Builder setShopeepay(SetupIntentConfirmParams.PaymentMethodData.Shopeepay shopeepay) If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. -
setSofort
public SetupIntentConfirmParams.PaymentMethodData.Builder setSofort(SetupIntentConfirmParams.PaymentMethodData.Sofort sofort) If this is asofortPaymentMethod, this hash contains details about the SOFORT payment method. -
setStripeBalance
public SetupIntentConfirmParams.PaymentMethodData.Builder setStripeBalance(SetupIntentConfirmParams.PaymentMethodData.StripeBalance stripeBalance) This hash contains details about the Stripe balance payment method. -
setSwish
public SetupIntentConfirmParams.PaymentMethodData.Builder setSwish(SetupIntentConfirmParams.PaymentMethodData.Swish swish) If this is aswishPaymentMethod, this hash contains details about the Swish payment method. -
setTwint
public SetupIntentConfirmParams.PaymentMethodData.Builder setTwint(SetupIntentConfirmParams.PaymentMethodData.Twint twint) If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. -
setType
public SetupIntentConfirmParams.PaymentMethodData.Builder setType(SetupIntentConfirmParams.PaymentMethodData.Type type) Required. The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. -
setUsBankAccount
public SetupIntentConfirmParams.PaymentMethodData.Builder setUsBankAccount(SetupIntentConfirmParams.PaymentMethodData.UsBankAccount usBankAccount) If this is anus_bank_accountPaymentMethod, this hash contains details about the US bank account payment method. -
setWechatPay
public SetupIntentConfirmParams.PaymentMethodData.Builder setWechatPay(SetupIntentConfirmParams.PaymentMethodData.WechatPay wechatPay) If this is anwechat_payPaymentMethod, this hash contains details about the wechat_pay payment method. -
setZip
public SetupIntentConfirmParams.PaymentMethodData.Builder setZip(SetupIntentConfirmParams.PaymentMethodData.Zip zip) If this is azipPaymentMethod, this hash contains details about the Zip payment method.
-