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.PaymentMethodOptionsbuild()Finalize and obtain parameter instance from this builder.PaymentIntentUpdateParams.PaymentMethodOptions.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.PaymentIntentUpdateParams.PaymentMethodOptions.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetAcssDebit(EmptyParam acssDebit)If this is aacss_debitPaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetAcssDebit(PaymentIntentUpdateParams.PaymentMethodOptions.AcssDebit acssDebit)If this is aacss_debitPaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetAfterpayClearpay(EmptyParam afterpayClearpay)If this is aafterpay_clearpayPaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetAfterpayClearpay(PaymentIntentUpdateParams.PaymentMethodOptions.AfterpayClearpay afterpayClearpay)If this is aafterpay_clearpayPaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetAlipay(EmptyParam alipay)If this is aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetAlipay(PaymentIntentUpdateParams.PaymentMethodOptions.Alipay alipay)If this is aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetBancontact(EmptyParam bancontact)If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetBancontact(PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact bancontact)If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetCard(EmptyParam card)Configuration for any card payments attempted on this PaymentIntent.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetCard(PaymentIntentUpdateParams.PaymentMethodOptions.Card card)Configuration for any card payments attempted on this PaymentIntent.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetCardPresent(EmptyParam cardPresent)If this is acard_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetCardPresent(PaymentIntentUpdateParams.PaymentMethodOptions.CardPresent cardPresent)If this is acard_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetOxxo(EmptyParam oxxo)If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetOxxo(PaymentIntentUpdateParams.PaymentMethodOptions.Oxxo oxxo)If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetP24(EmptyParam p24)If this is ap24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetP24(PaymentIntentUpdateParams.PaymentMethodOptions.P24 p24)If this is ap24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetSepaDebit(EmptyParam sepaDebit)If this is asepa_debitPaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetSepaDebit(PaymentIntentUpdateParams.PaymentMethodOptions.SepaDebit sepaDebit)If this is asepa_debitPaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetSofort(EmptyParam sofort)If this is asofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options.PaymentIntentUpdateParams.PaymentMethodOptions.BuildersetSofort(PaymentIntentUpdateParams.PaymentMethodOptions.Sofort sofort)If this is asofortPaymentMethod, this sub-hash contains details about the SOFORT 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_debitPaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
-
setAcssDebit
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setAcssDebit(EmptyParam acssDebit)
If this is aacss_debitPaymentMethod, 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_clearpayPaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
-
setAfterpayClearpay
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setAfterpayClearpay(EmptyParam afterpayClearpay)
If this is aafterpay_clearpayPaymentMethod, 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 aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options.
-
setAlipay
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setAlipay(EmptyParam alipay)
If this is aalipayPaymentMethod, this sub-hash contains details about the Alipay payment method options.
-
setBancontact
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setBancontact(PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact bancontact)
If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact payment method options.
-
setBancontact
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setBancontact(EmptyParam bancontact)
If this is abancontactPaymentMethod, this sub-hash contains details about the Bancontact 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_presentPaymentMethod, this sub-hash contains details about the Card Present payment method options.
-
setCardPresent
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setCardPresent(EmptyParam cardPresent)
If this is acard_presentPaymentMethod, 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.extraParamsfor 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.extraParamsfor the field documentation.
-
setOxxo
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setOxxo(PaymentIntentUpdateParams.PaymentMethodOptions.Oxxo oxxo)
If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options.
-
setOxxo
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setOxxo(EmptyParam oxxo)
If this is aoxxoPaymentMethod, this sub-hash contains details about the OXXO payment method options.
-
setP24
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setP24(PaymentIntentUpdateParams.PaymentMethodOptions.P24 p24)
If this is ap24PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
-
setP24
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setP24(EmptyParam p24)
If this is ap24PaymentMethod, 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_debitPaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
-
setSepaDebit
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setSepaDebit(EmptyParam sepaDebit)
If this is asepa_debitPaymentIntent, 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 asofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options.
-
setSofort
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setSofort(EmptyParam sofort)
If this is asofortPaymentMethod, this sub-hash contains details about the SOFORT payment method options.
-
-