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