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
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
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
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.
-
-
-
Method Detail
-
build
public PaymentIntentUpdateParams.PaymentMethodOptions build()
Finalize and obtain parameter instance from this builder.
-
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.
-
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.
-
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.
-
-