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