Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodData.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentMethodData.Builder
- Enclosing class:
- PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodData.Builder setAcssDebit(PaymentIntentConfirmParams.PaymentMethodData.AcssDebit acssDebit) If this is anacss_debitPaymentMethod, this hash contains details about the ACSS Debit payment method. -
setAffirm
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAffirm(PaymentIntentConfirmParams.PaymentMethodData.Affirm affirm) If this is anaffirmPaymentMethod, this hash contains details about the Affirm payment method. -
setAfterpayClearpay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAfterpayClearpay(PaymentIntentConfirmParams.PaymentMethodData.AfterpayClearpay afterpayClearpay) If this is anAfterpayClearpayPaymentMethod, this hash contains details about the AfterpayClearpay payment method. -
setAlipay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAlipay(PaymentIntentConfirmParams.PaymentMethodData.Alipay alipay) If this is anAlipayPaymentMethod, this hash contains details about the Alipay payment method. -
setAllowRedisplay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAllowRedisplay(PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodData.Builder setAlma(PaymentIntentConfirmParams.PaymentMethodData.Alma alma) If this is a Alma PaymentMethod, this hash contains details about the Alma payment method. -
setAmazonPay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAmazonPay(PaymentIntentConfirmParams.PaymentMethodData.AmazonPay amazonPay) If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method. -
setAuBecsDebit
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAuBecsDebit(PaymentIntentConfirmParams.PaymentMethodData.AuBecsDebit auBecsDebit) If this is anau_becs_debitPaymentMethod, this hash contains details about the bank account. -
setBacsDebit
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBacsDebit(PaymentIntentConfirmParams.PaymentMethodData.BacsDebit bacsDebit) If this is abacs_debitPaymentMethod, this hash contains details about the Bacs Direct Debit bank account. -
setBancontact
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBancontact(PaymentIntentConfirmParams.PaymentMethodData.Bancontact bancontact) If this is abancontactPaymentMethod, this hash contains details about the Bancontact payment method. -
setBillie
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBillie(PaymentIntentConfirmParams.PaymentMethodData.Billie billie) If this is abilliePaymentMethod, this hash contains details about the Billie payment method. -
setBillingDetails
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBillingDetails(PaymentIntentConfirmParams.PaymentMethodData.BillingDetails billingDetails) Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. -
setBlik
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBlik(PaymentIntentConfirmParams.PaymentMethodData.Blik blik) If this is ablikPaymentMethod, this hash contains details about the BLIK payment method. -
setBoleto
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBoleto(PaymentIntentConfirmParams.PaymentMethodData.Boleto boleto) If this is aboletoPaymentMethod, this hash contains details about the Boleto payment method. -
setCashapp
public PaymentIntentConfirmParams.PaymentMethodData.Builder setCashapp(PaymentIntentConfirmParams.PaymentMethodData.Cashapp cashapp) If this is acashappPaymentMethod, this hash contains details about the Cash App Pay payment method. -
setCrypto
public PaymentIntentConfirmParams.PaymentMethodData.Builder setCrypto(PaymentIntentConfirmParams.PaymentMethodData.Crypto crypto) If this is a Crypto PaymentMethod, this hash contains details about the Crypto payment method. -
setCustomerBalance
public PaymentIntentConfirmParams.PaymentMethodData.Builder setCustomerBalance(PaymentIntentConfirmParams.PaymentMethodData.CustomerBalance customerBalance) If this is acustomer_balancePaymentMethod, this hash contains details about the CustomerBalance payment method. -
setEps
public PaymentIntentConfirmParams.PaymentMethodData.Builder setEps(PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodData.extraParamsfor the field documentation. -
putAllExtraParam
public PaymentIntentConfirmParams.PaymentMethodData.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.PaymentMethodData.extraParamsfor the field documentation. -
setFpx
public PaymentIntentConfirmParams.PaymentMethodData.Builder setFpx(PaymentIntentConfirmParams.PaymentMethodData.Fpx fpx) If this is anfpxPaymentMethod, this hash contains details about the FPX payment method. -
setGiropay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setGiropay(PaymentIntentConfirmParams.PaymentMethodData.Giropay giropay) If this is agiropayPaymentMethod, this hash contains details about the Giropay payment method. -
setGopay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setGopay(PaymentIntentConfirmParams.PaymentMethodData.Gopay gopay) If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method. -
setGrabpay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setGrabpay(PaymentIntentConfirmParams.PaymentMethodData.Grabpay grabpay) If this is agrabpayPaymentMethod, this hash contains details about the GrabPay payment method. -
setIdBankTransfer
public PaymentIntentConfirmParams.PaymentMethodData.Builder setIdBankTransfer(PaymentIntentConfirmParams.PaymentMethodData.IdBankTransfer idBankTransfer) If this is anIdBankTransferPaymentMethod, this hash contains details about the IdBankTransfer payment method. -
setIdeal
public PaymentIntentConfirmParams.PaymentMethodData.Builder setIdeal(PaymentIntentConfirmParams.PaymentMethodData.Ideal ideal) If this is anidealPaymentMethod, this hash contains details about the iDEAL payment method. -
setInteracPresent
public PaymentIntentConfirmParams.PaymentMethodData.Builder setInteracPresent(PaymentIntentConfirmParams.PaymentMethodData.InteracPresent interacPresent) If this is aninterac_presentPaymentMethod, this hash contains details about the Interac Present payment method. -
setKakaoPay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setKakaoPay(PaymentIntentConfirmParams.PaymentMethodData.KakaoPay kakaoPay) If this is akakao_payPaymentMethod, this hash contains details about the Kakao Pay payment method. -
setKlarna
public PaymentIntentConfirmParams.PaymentMethodData.Builder setKlarna(PaymentIntentConfirmParams.PaymentMethodData.Klarna klarna) If this is aklarnaPaymentMethod, this hash contains details about the Klarna payment method. -
setKonbini
public PaymentIntentConfirmParams.PaymentMethodData.Builder setKonbini(PaymentIntentConfirmParams.PaymentMethodData.Konbini konbini) If this is akonbiniPaymentMethod, this hash contains details about the Konbini payment method. -
setKrCard
public PaymentIntentConfirmParams.PaymentMethodData.Builder setKrCard(PaymentIntentConfirmParams.PaymentMethodData.KrCard krCard) If this is akr_cardPaymentMethod, this hash contains details about the Korean Card payment method. -
setLink
public PaymentIntentConfirmParams.PaymentMethodData.Builder setLink(PaymentIntentConfirmParams.PaymentMethodData.Link link) If this is anLinkPaymentMethod, this hash contains details about the Link payment method. -
setMbWay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setMbWay(PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodData.metadatafor the field documentation. -
setMobilepay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setMobilepay(PaymentIntentConfirmParams.PaymentMethodData.Mobilepay mobilepay) If this is amobilepayPaymentMethod, this hash contains details about the MobilePay payment method. -
setMultibanco
public PaymentIntentConfirmParams.PaymentMethodData.Builder setMultibanco(PaymentIntentConfirmParams.PaymentMethodData.Multibanco multibanco) If this is amultibancoPaymentMethod, this hash contains details about the Multibanco payment method. -
setNzBankAccount
public PaymentIntentConfirmParams.PaymentMethodData.Builder setNzBankAccount(PaymentIntentConfirmParams.PaymentMethodData.NzBankAccount nzBankAccount) If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method. -
setOxxo
public PaymentIntentConfirmParams.PaymentMethodData.Builder setOxxo(PaymentIntentConfirmParams.PaymentMethodData.Oxxo oxxo) If this is anoxxoPaymentMethod, this hash contains details about the OXXO payment method. -
setP24
public PaymentIntentConfirmParams.PaymentMethodData.Builder setP24(PaymentIntentConfirmParams.PaymentMethodData.P24 p24) If this is ap24PaymentMethod, this hash contains details about the P24 payment method. -
setPayByBank
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPayByBank(PaymentIntentConfirmParams.PaymentMethodData.PayByBank payByBank) If this is apay_by_bankPaymentMethod, this hash contains details about the PayByBank payment method. -
setPayco
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPayco(PaymentIntentConfirmParams.PaymentMethodData.Payco payco) If this is apaycoPaymentMethod, this hash contains details about the PAYCO payment method. -
setPaynow
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPaynow(PaymentIntentConfirmParams.PaymentMethodData.Paynow paynow) If this is apaynowPaymentMethod, this hash contains details about the PayNow payment method. -
setPaypal
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPaypal(PaymentIntentConfirmParams.PaymentMethodData.Paypal paypal) If this is apaypalPaymentMethod, this hash contains details about the PayPal payment method. -
setPaypay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPaypay(PaymentIntentConfirmParams.PaymentMethodData.Paypay paypay) If this is apaypayPaymentMethod, this hash contains details about the PayPay payment method. -
setPayto
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPayto(PaymentIntentConfirmParams.PaymentMethodData.Payto payto) If this is apaytoPaymentMethod, this hash contains details about the PayTo payment method. -
setPix
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPix(PaymentIntentConfirmParams.PaymentMethodData.Pix pix) If this is apixPaymentMethod, this hash contains details about the Pix payment method. -
setPromptpay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPromptpay(PaymentIntentConfirmParams.PaymentMethodData.Promptpay promptpay) If this is apromptpayPaymentMethod, this hash contains details about the PromptPay payment method. -
setQris
public PaymentIntentConfirmParams.PaymentMethodData.Builder setQris(PaymentIntentConfirmParams.PaymentMethodData.Qris qris) If this is aqrisPaymentMethod, this hash contains details about the QRIS payment method. -
setRadarOptions
public PaymentIntentConfirmParams.PaymentMethodData.Builder setRadarOptions(PaymentIntentConfirmParams.PaymentMethodData.RadarOptions radarOptions) Options to configure Radar. See Radar Session for more information. -
setRechnung
public PaymentIntentConfirmParams.PaymentMethodData.Builder setRechnung(PaymentIntentConfirmParams.PaymentMethodData.Rechnung rechnung) If this is arechnungPaymentMethod, this hash contains details about the Rechnung payment method. -
setRevolutPay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setRevolutPay(PaymentIntentConfirmParams.PaymentMethodData.RevolutPay revolutPay) If this is arevolut_payPaymentMethod, this hash contains details about the Revolut Pay payment method. -
setSamsungPay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSamsungPay(PaymentIntentConfirmParams.PaymentMethodData.SamsungPay samsungPay) If this is asamsung_payPaymentMethod, this hash contains details about the SamsungPay payment method. -
setSatispay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSatispay(PaymentIntentConfirmParams.PaymentMethodData.Satispay satispay) If this is asatispayPaymentMethod, this hash contains details about the Satispay payment method. -
setSepaDebit
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSepaDebit(PaymentIntentConfirmParams.PaymentMethodData.SepaDebit sepaDebit) If this is asepa_debitPaymentMethod, this hash contains details about the SEPA debit bank account. -
setShopeepay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setShopeepay(PaymentIntentConfirmParams.PaymentMethodData.Shopeepay shopeepay) If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method. -
setSofort
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSofort(PaymentIntentConfirmParams.PaymentMethodData.Sofort sofort) If this is asofortPaymentMethod, this hash contains details about the SOFORT payment method. -
setStripeBalance
public PaymentIntentConfirmParams.PaymentMethodData.Builder setStripeBalance(PaymentIntentConfirmParams.PaymentMethodData.StripeBalance stripeBalance) This hash contains details about the Stripe balance payment method. -
setSwish
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSwish(PaymentIntentConfirmParams.PaymentMethodData.Swish swish) If this is aswishPaymentMethod, this hash contains details about the Swish payment method. -
setTwint
public PaymentIntentConfirmParams.PaymentMethodData.Builder setTwint(PaymentIntentConfirmParams.PaymentMethodData.Twint twint) If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method. -
setType
public PaymentIntentConfirmParams.PaymentMethodData.Builder setType(PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodData.Builder setUsBankAccount(PaymentIntentConfirmParams.PaymentMethodData.UsBankAccount usBankAccount) If this is anus_bank_accountPaymentMethod, this hash contains details about the US bank account payment method. -
setWechatPay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setWechatPay(PaymentIntentConfirmParams.PaymentMethodData.WechatPay wechatPay) If this is anwechat_payPaymentMethod, this hash contains details about the wechat_pay payment method. -
setZip
public PaymentIntentConfirmParams.PaymentMethodData.Builder setZip(PaymentIntentConfirmParams.PaymentMethodData.Zip zip) If this is azipPaymentMethod, this hash contains details about the Zip payment method.
-