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.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.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 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 agrabpayPaymentMethod, this hash contains details about the GrabPay 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 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 anLinkPaymentMethod, this hash contains details about the Link 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 apaynowPaymentMethod, this hash contains details about the PayNow 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.Options to configure Radar.If this is asepa_debitPaymentMethod, this hash contains details about the SEPA debit bank account.If this is asofortPaymentMethod, this hash contains details about the SOFORT payment method.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.
-
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. -
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. -
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. -
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. -
setGrabpay
public SetupIntentConfirmParams.PaymentMethodData.Builder setGrabpay(SetupIntentConfirmParams.PaymentMethodData.Grabpay grabpay) If this is agrabpayPaymentMethod, this hash contains details about the GrabPay 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. -
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. -
setLink
public SetupIntentConfirmParams.PaymentMethodData.Builder setLink(SetupIntentConfirmParams.PaymentMethodData.Link link) If this is anLinkPaymentMethod, 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. 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. -
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. -
setPaynow
public SetupIntentConfirmParams.PaymentMethodData.Builder setPaynow(SetupIntentConfirmParams.PaymentMethodData.Paynow paynow) If this is apaynowPaymentMethod, this hash contains details about the PayNow 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. -
setRadarOptions
public SetupIntentConfirmParams.PaymentMethodData.Builder setRadarOptions(SetupIntentConfirmParams.PaymentMethodData.RadarOptions radarOptions) Options to configure Radar. See Radar Session for more information. -
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. -
setSofort
public SetupIntentConfirmParams.PaymentMethodData.Builder setSofort(SetupIntentConfirmParams.PaymentMethodData.Sofort sofort) If this is asofortPaymentMethod, this hash contains details about the SOFORT payment method. -
setType
public SetupIntentConfirmParams.PaymentMethodData.Builder setType(SetupIntentConfirmParams.PaymentMethodData.Type type) 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.
-