Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodOptions.Builder
- java.lang.Object
-
- com.stripe.param.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
-
- Enclosing class:
- PaymentIntentConfirmParams.PaymentMethodOptions
public static class PaymentIntentConfirmParams.PaymentMethodOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaymentIntentConfirmParams.PaymentMethodOptions
build()
Finalize and obtain parameter instance from this builder.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setAcssDebit(EmptyParam acssDebit)
If this is aacss_debit
PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setAcssDebit(PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit acssDebit)
If this is aacss_debit
PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setAfterpayClearpay(EmptyParam afterpayClearpay)
If this is aafterpay_clearpay
PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setAfterpayClearpay(PaymentIntentConfirmParams.PaymentMethodOptions.AfterpayClearpay afterpayClearpay)
If this is aafterpay_clearpay
PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setAlipay(EmptyParam alipay)
If this is aalipay
PaymentMethod, this sub-hash contains details about the Alipay payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setAlipay(PaymentIntentConfirmParams.PaymentMethodOptions.Alipay alipay)
If this is aalipay
PaymentMethod, this sub-hash contains details about the Alipay payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setBancontact(EmptyParam bancontact)
If this is abancontact
PaymentMethod, this sub-hash contains details about the Bancontact payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setBancontact(PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact bancontact)
If this is abancontact
PaymentMethod, this sub-hash contains details about the Bancontact payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setBoleto(EmptyParam boleto)
If this is aboleto
PaymentMethod, this sub-hash contains details about the Boleto payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setBoleto(PaymentIntentConfirmParams.PaymentMethodOptions.Boleto boleto)
If this is aboleto
PaymentMethod, this sub-hash contains details about the Boleto payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setCard(EmptyParam card)
Configuration for any card payments attempted on this PaymentIntent.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setCard(PaymentIntentConfirmParams.PaymentMethodOptions.Card card)
Configuration for any card payments attempted on this PaymentIntent.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setCardPresent(EmptyParam cardPresent)
If this is acard_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setCardPresent(PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent cardPresent)
If this is acard_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setIdeal(EmptyParam ideal)
If this is aideal
PaymentMethod, this sub-hash contains details about the Ideal payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setIdeal(PaymentIntentConfirmParams.PaymentMethodOptions.Ideal ideal)
If this is aideal
PaymentMethod, this sub-hash contains details about the Ideal payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setInteracPresent(EmptyParam interacPresent)
If this is ainterac_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setInteracPresent(PaymentIntentConfirmParams.PaymentMethodOptions.InteracPresent interacPresent)
If this is ainterac_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setKlarna(EmptyParam klarna)
If this is aklarna
PaymentMethod, this sub-hash contains details about the Klarna payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setKlarna(PaymentIntentConfirmParams.PaymentMethodOptions.Klarna klarna)
If this is aklarna
PaymentMethod, this sub-hash contains details about the Klarna payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setOxxo(EmptyParam oxxo)
If this is aoxxo
PaymentMethod, this sub-hash contains details about the OXXO payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setOxxo(PaymentIntentConfirmParams.PaymentMethodOptions.Oxxo oxxo)
If this is aoxxo
PaymentMethod, this sub-hash contains details about the OXXO payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setP24(EmptyParam p24)
If this is ap24
PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setP24(PaymentIntentConfirmParams.PaymentMethodOptions.P24 p24)
If this is ap24
PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setSepaDebit(EmptyParam sepaDebit)
If this is asepa_debit
PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setSepaDebit(PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit sepaDebit)
If this is asepa_debit
PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setSofort(EmptyParam sofort)
If this is asofort
PaymentMethod, this sub-hash contains details about the SOFORT payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setSofort(PaymentIntentConfirmParams.PaymentMethodOptions.Sofort sofort)
If this is asofort
PaymentMethod, this sub-hash contains details about the SOFORT payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setWechatPay(EmptyParam wechatPay)
If this is awechat_pay
PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.PaymentIntentConfirmParams.PaymentMethodOptions.Builder
setWechatPay(PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay wechatPay)
If this is awechat_pay
PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
-
-
-
Method Detail
-
build
public PaymentIntentConfirmParams.PaymentMethodOptions build()
Finalize and obtain parameter instance from this builder.
-
setAcssDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAcssDebit(PaymentIntentConfirmParams.PaymentMethodOptions.AcssDebit acssDebit)
If this is aacss_debit
PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
-
setAcssDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAcssDebit(EmptyParam acssDebit)
If this is aacss_debit
PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
-
setAfterpayClearpay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAfterpayClearpay(PaymentIntentConfirmParams.PaymentMethodOptions.AfterpayClearpay afterpayClearpay)
If this is aafterpay_clearpay
PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
-
setAfterpayClearpay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAfterpayClearpay(EmptyParam afterpayClearpay)
If this is aafterpay_clearpay
PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
-
setAlipay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAlipay(PaymentIntentConfirmParams.PaymentMethodOptions.Alipay alipay)
If this is aalipay
PaymentMethod, this sub-hash contains details about the Alipay payment method options.
-
setAlipay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAlipay(EmptyParam alipay)
If this is aalipay
PaymentMethod, this sub-hash contains details about the Alipay payment method options.
-
setBancontact
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBancontact(PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact bancontact)
If this is abancontact
PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
-
setBancontact
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBancontact(EmptyParam bancontact)
If this is abancontact
PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
-
setBoleto
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBoleto(PaymentIntentConfirmParams.PaymentMethodOptions.Boleto boleto)
If this is aboleto
PaymentMethod, this sub-hash contains details about the Boleto payment method options.
-
setBoleto
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBoleto(EmptyParam boleto)
If this is aboleto
PaymentMethod, this sub-hash contains details about the Boleto payment method options.
-
setCard
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCard(PaymentIntentConfirmParams.PaymentMethodOptions.Card card)
Configuration for any card payments attempted on this PaymentIntent.
-
setCard
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCard(EmptyParam card)
Configuration for any card payments attempted on this PaymentIntent.
-
setCardPresent
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCardPresent(PaymentIntentConfirmParams.PaymentMethodOptions.CardPresent cardPresent)
If this is acard_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.
-
setCardPresent
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCardPresent(EmptyParam cardPresent)
If this is acard_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.
-
putExtraParam
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder putExtraParam(java.lang.String key, java.lang.Object value)
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.PaymentMethodOptions.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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.PaymentMethodOptions.extraParams
for the field documentation.
-
setIdeal
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setIdeal(PaymentIntentConfirmParams.PaymentMethodOptions.Ideal ideal)
If this is aideal
PaymentMethod, this sub-hash contains details about the Ideal payment method options.
-
setIdeal
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setIdeal(EmptyParam ideal)
If this is aideal
PaymentMethod, this sub-hash contains details about the Ideal payment method options.
-
setInteracPresent
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setInteracPresent(PaymentIntentConfirmParams.PaymentMethodOptions.InteracPresent interacPresent)
If this is ainterac_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.
-
setInteracPresent
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setInteracPresent(EmptyParam interacPresent)
If this is ainterac_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.
-
setKlarna
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setKlarna(PaymentIntentConfirmParams.PaymentMethodOptions.Klarna klarna)
If this is aklarna
PaymentMethod, this sub-hash contains details about the Klarna payment method options.
-
setKlarna
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setKlarna(EmptyParam klarna)
If this is aklarna
PaymentMethod, this sub-hash contains details about the Klarna payment method options.
-
setOxxo
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setOxxo(PaymentIntentConfirmParams.PaymentMethodOptions.Oxxo oxxo)
If this is aoxxo
PaymentMethod, this sub-hash contains details about the OXXO payment method options.
-
setOxxo
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setOxxo(EmptyParam oxxo)
If this is aoxxo
PaymentMethod, this sub-hash contains details about the OXXO payment method options.
-
setP24
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setP24(PaymentIntentConfirmParams.PaymentMethodOptions.P24 p24)
If this is ap24
PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
-
setP24
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setP24(EmptyParam p24)
If this is ap24
PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
-
setSepaDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSepaDebit(PaymentIntentConfirmParams.PaymentMethodOptions.SepaDebit sepaDebit)
If this is asepa_debit
PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
-
setSepaDebit
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSepaDebit(EmptyParam sepaDebit)
If this is asepa_debit
PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
-
setSofort
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSofort(PaymentIntentConfirmParams.PaymentMethodOptions.Sofort sofort)
If this is asofort
PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
-
setSofort
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSofort(EmptyParam sofort)
If this is asofort
PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
-
setWechatPay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setWechatPay(PaymentIntentConfirmParams.PaymentMethodOptions.WechatPay wechatPay)
If this is awechat_pay
PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
-
setWechatPay
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setWechatPay(EmptyParam wechatPay)
If this is awechat_pay
PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
-
-