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