Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodData.Builder
java.lang.Object
com.stripe.param.PaymentIntentConfirmParams.PaymentMethodData.Builder
- Enclosing class:
- PaymentIntentConfirmParams.PaymentMethodData
-
Constructor Summary
-
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_debit
PaymentMethod, this hash contains details about the ACSS Debit payment method.If this is anaffirm
PaymentMethod, this hash contains details about the Affirm payment method.If this is anAfterpayClearpay
PaymentMethod, this hash contains details about the AfterpayClearpay payment method.If this is anAlipay
PaymentMethod, 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 AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.If this is anau_becs_debit
PaymentMethod, this hash contains details about the bank account.If this is abacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.If this is abancontact
PaymentMethod, this hash contains details about the Bancontact payment method.Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.If this is ablik
PaymentMethod, this hash contains details about the BLIK payment method.If this is aboleto
PaymentMethod, this hash contains details about the Boleto payment method.If this is acashapp
PaymentMethod, this hash contains details about the Cash App Pay payment method.If this is acustomer_balance
PaymentMethod, this hash contains details about the CustomerBalance payment method.If this is aneps
PaymentMethod, this hash contains details about the EPS payment method.If this is anfpx
PaymentMethod, this hash contains details about the FPX payment method.If this is agiropay
PaymentMethod, this hash contains details about the Giropay payment method.If this is agrabpay
PaymentMethod, this hash contains details about the GrabPay payment method.If this is anideal
PaymentMethod, this hash contains details about the iDEAL payment method.If this is aninterac_present
PaymentMethod, this hash contains details about the Interac Present payment method.If this is aklarna
PaymentMethod, this hash contains details about the Klarna payment method.If this is akonbini
PaymentMethod, this hash contains details about the Konbini payment method.If this is anLink
PaymentMethod, this hash contains details about the Link payment method.If this is amobilepay
PaymentMethod, this hash contains details about the MobilePay payment method.If this is amultibanco
PaymentMethod, this hash contains details about the Multibanco payment method.If this is anoxxo
PaymentMethod, this hash contains details about the OXXO payment method.If this is ap24
PaymentMethod, this hash contains details about the P24 payment method.If this is apaynow
PaymentMethod, this hash contains details about the PayNow payment method.If this is apaypal
PaymentMethod, this hash contains details about the PayPal payment method.If this is apix
PaymentMethod, this hash contains details about the Pix payment method.If this is apromptpay
PaymentMethod, this hash contains details about the PromptPay payment method.Options to configure Radar.If this is aRevolut Pay
PaymentMethod, this hash contains details about the Revolut Pay payment method.If this is asepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account.If this is asofort
PaymentMethod, this hash contains details about the SOFORT payment method.If this is aswish
PaymentMethod, 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_account
PaymentMethod, this hash contains details about the US bank account payment method.If this is anwechat_pay
PaymentMethod, this hash contains details about the wechat_pay payment method.If this is azip
PaymentMethod, 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_debit
PaymentMethod, this hash contains details about the ACSS Debit payment method. -
setAffirm
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAffirm(PaymentIntentConfirmParams.PaymentMethodData.Affirm affirm) If this is anaffirm
PaymentMethod, this hash contains details about the Affirm payment method. -
setAfterpayClearpay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAfterpayClearpay(PaymentIntentConfirmParams.PaymentMethodData.AfterpayClearpay afterpayClearpay) If this is anAfterpayClearpay
PaymentMethod, this hash contains details about the AfterpayClearpay payment method. -
setAlipay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAlipay(PaymentIntentConfirmParams.PaymentMethodData.Alipay alipay) If this is anAlipay
PaymentMethod, 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
. -
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_debit
PaymentMethod, this hash contains details about the bank account. -
setBacsDebit
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBacsDebit(PaymentIntentConfirmParams.PaymentMethodData.BacsDebit bacsDebit) If this is abacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. -
setBancontact
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBancontact(PaymentIntentConfirmParams.PaymentMethodData.Bancontact bancontact) If this is abancontact
PaymentMethod, this hash contains details about the Bancontact 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 ablik
PaymentMethod, this hash contains details about the BLIK payment method. -
setBoleto
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBoleto(PaymentIntentConfirmParams.PaymentMethodData.Boleto boleto) If this is aboleto
PaymentMethod, this hash contains details about the Boleto payment method. -
setCashapp
public PaymentIntentConfirmParams.PaymentMethodData.Builder setCashapp(PaymentIntentConfirmParams.PaymentMethodData.Cashapp cashapp) If this is acashapp
PaymentMethod, this hash contains details about the Cash App Pay payment method. -
setCustomerBalance
public PaymentIntentConfirmParams.PaymentMethodData.Builder setCustomerBalance(PaymentIntentConfirmParams.PaymentMethodData.CustomerBalance customerBalance) If this is acustomer_balance
PaymentMethod, this hash contains details about the CustomerBalance payment method. -
setEps
public PaymentIntentConfirmParams.PaymentMethodData.Builder setEps(PaymentIntentConfirmParams.PaymentMethodData.Eps eps) If this is aneps
PaymentMethod, 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.extraParams
for 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.extraParams
for the field documentation. -
setFpx
public PaymentIntentConfirmParams.PaymentMethodData.Builder setFpx(PaymentIntentConfirmParams.PaymentMethodData.Fpx fpx) If this is anfpx
PaymentMethod, this hash contains details about the FPX payment method. -
setGiropay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setGiropay(PaymentIntentConfirmParams.PaymentMethodData.Giropay giropay) If this is agiropay
PaymentMethod, this hash contains details about the Giropay payment method. -
setGrabpay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setGrabpay(PaymentIntentConfirmParams.PaymentMethodData.Grabpay grabpay) If this is agrabpay
PaymentMethod, this hash contains details about the GrabPay payment method. -
setIdeal
public PaymentIntentConfirmParams.PaymentMethodData.Builder setIdeal(PaymentIntentConfirmParams.PaymentMethodData.Ideal ideal) If this is anideal
PaymentMethod, this hash contains details about the iDEAL payment method. -
setInteracPresent
public PaymentIntentConfirmParams.PaymentMethodData.Builder setInteracPresent(PaymentIntentConfirmParams.PaymentMethodData.InteracPresent interacPresent) If this is aninterac_present
PaymentMethod, this hash contains details about the Interac Present payment method. -
setKlarna
public PaymentIntentConfirmParams.PaymentMethodData.Builder setKlarna(PaymentIntentConfirmParams.PaymentMethodData.Klarna klarna) If this is aklarna
PaymentMethod, this hash contains details about the Klarna payment method. -
setKonbini
public PaymentIntentConfirmParams.PaymentMethodData.Builder setKonbini(PaymentIntentConfirmParams.PaymentMethodData.Konbini konbini) If this is akonbini
PaymentMethod, this hash contains details about the Konbini payment method. -
setLink
public PaymentIntentConfirmParams.PaymentMethodData.Builder setLink(PaymentIntentConfirmParams.PaymentMethodData.Link link) If this is anLink
PaymentMethod, this hash contains details about the Link 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.metadata
for 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.metadata
for the field documentation. -
setMobilepay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setMobilepay(PaymentIntentConfirmParams.PaymentMethodData.Mobilepay mobilepay) If this is amobilepay
PaymentMethod, this hash contains details about the MobilePay payment method. -
setMultibanco
public PaymentIntentConfirmParams.PaymentMethodData.Builder setMultibanco(PaymentIntentConfirmParams.PaymentMethodData.Multibanco multibanco) If this is amultibanco
PaymentMethod, this hash contains details about the Multibanco payment method. -
setOxxo
public PaymentIntentConfirmParams.PaymentMethodData.Builder setOxxo(PaymentIntentConfirmParams.PaymentMethodData.Oxxo oxxo) If this is anoxxo
PaymentMethod, this hash contains details about the OXXO payment method. -
setP24
public PaymentIntentConfirmParams.PaymentMethodData.Builder setP24(PaymentIntentConfirmParams.PaymentMethodData.P24 p24) If this is ap24
PaymentMethod, this hash contains details about the P24 payment method. -
setPaynow
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPaynow(PaymentIntentConfirmParams.PaymentMethodData.Paynow paynow) If this is apaynow
PaymentMethod, this hash contains details about the PayNow payment method. -
setPaypal
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPaypal(PaymentIntentConfirmParams.PaymentMethodData.Paypal paypal) If this is apaypal
PaymentMethod, this hash contains details about the PayPal payment method. -
setPix
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPix(PaymentIntentConfirmParams.PaymentMethodData.Pix pix) If this is apix
PaymentMethod, this hash contains details about the Pix payment method. -
setPromptpay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setPromptpay(PaymentIntentConfirmParams.PaymentMethodData.Promptpay promptpay) If this is apromptpay
PaymentMethod, this hash contains details about the PromptPay payment method. -
setRadarOptions
public PaymentIntentConfirmParams.PaymentMethodData.Builder setRadarOptions(PaymentIntentConfirmParams.PaymentMethodData.RadarOptions radarOptions) Options to configure Radar. See Radar Session for more information. -
setRevolutPay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setRevolutPay(PaymentIntentConfirmParams.PaymentMethodData.RevolutPay revolutPay) If this is aRevolut Pay
PaymentMethod, this hash contains details about the Revolut Pay payment method. -
setSepaDebit
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSepaDebit(PaymentIntentConfirmParams.PaymentMethodData.SepaDebit sepaDebit) If this is asepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account. -
setSofort
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSofort(PaymentIntentConfirmParams.PaymentMethodData.Sofort sofort) If this is asofort
PaymentMethod, this hash contains details about the SOFORT payment method. -
setSwish
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSwish(PaymentIntentConfirmParams.PaymentMethodData.Swish swish) If this is aswish
PaymentMethod, 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_account
PaymentMethod, 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_pay
PaymentMethod, this hash contains details about the wechat_pay payment method. -
setZip
public PaymentIntentConfirmParams.PaymentMethodData.Builder setZip(PaymentIntentConfirmParams.PaymentMethodData.Zip zip) If this is azip
PaymentMethod, this hash contains details about the Zip payment method.
-