Package com.stripe.param
Class SetupIntentConfirmParams.PaymentMethodOptions.Builder
- java.lang.Object
-
- com.stripe.param.SetupIntentConfirmParams.PaymentMethodOptions.Builder
-
- Enclosing class:
- SetupIntentConfirmParams.PaymentMethodOptions
public static class SetupIntentConfirmParams.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 SetupIntentConfirmParams.PaymentMethodOptions
build()
Finalize and obtain parameter instance from this builder.SetupIntentConfirmParams.PaymentMethodOptions.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.SetupIntentConfirmParams.PaymentMethodOptions.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.SetupIntentConfirmParams.PaymentMethodOptions.Builder
setAcssDebit(SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit acssDebit)
If this is aacss_debit
SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.SetupIntentConfirmParams.PaymentMethodOptions.Builder
setCard(SetupIntentConfirmParams.PaymentMethodOptions.Card card)
Configuration for any card setup attempted on this SetupIntent.SetupIntentConfirmParams.PaymentMethodOptions.Builder
setSepaDebit(SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit sepaDebit)
If this is asepa_debit
SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
-
-
-
Method Detail
-
build
public SetupIntentConfirmParams.PaymentMethodOptions build()
Finalize and obtain parameter instance from this builder.
-
setAcssDebit
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setAcssDebit(SetupIntentConfirmParams.PaymentMethodOptions.AcssDebit acssDebit)
If this is aacss_debit
SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
-
setCard
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setCard(SetupIntentConfirmParams.PaymentMethodOptions.Card card)
Configuration for any card setup attempted on this SetupIntent.
-
putExtraParam
public SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodOptions.extraParams
for the field documentation.
-
putAllExtraParam
public SetupIntentConfirmParams.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. SeeSetupIntentConfirmParams.PaymentMethodOptions.extraParams
for the field documentation.
-
setSepaDebit
public SetupIntentConfirmParams.PaymentMethodOptions.Builder setSepaDebit(SetupIntentConfirmParams.PaymentMethodOptions.SepaDebit sepaDebit)
If this is asepa_debit
SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
-
-