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