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