public static class PaymentIntentConfirmParams.PaymentMethodOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PaymentIntentConfirmParams.PaymentMethodOptions |
build()
Finalize and obtain parameter instance from this builder.
|
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.
|
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
setAlipay(EmptyParam alipay)
If this is a
alipay PaymentMethod, this sub-hash contains details about the Alipay
payment method options. |
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
setAlipay(PaymentIntentConfirmParams.PaymentMethodOptions.Alipay alipay)
If this is a
alipay PaymentMethod, this sub-hash contains details about the Alipay
payment method options. |
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
setBancontact(EmptyParam bancontact)
If this is a
bancontact PaymentMethod, this sub-hash contains details about the
Bancontact payment method options. |
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
setBancontact(PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact bancontact)
If this is a
bancontact PaymentMethod, this sub-hash contains details about the
Bancontact payment method options. |
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
setCard(EmptyParam card)
Configuration for any card payments attempted on this PaymentIntent.
|
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
setCard(PaymentIntentConfirmParams.PaymentMethodOptions.Card card)
Configuration for any card payments attempted on this PaymentIntent.
|
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
setSofort(EmptyParam sofort)
If this is a
sofort PaymentMethod, this sub-hash contains details about the SOFORT
payment method options. |
PaymentIntentConfirmParams.PaymentMethodOptions.Builder |
setSofort(PaymentIntentConfirmParams.PaymentMethodOptions.Sofort sofort)
If this is a
sofort PaymentMethod, this sub-hash contains details about the SOFORT
payment method options. |
public PaymentIntentConfirmParams.PaymentMethodOptions build()
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAlipay(PaymentIntentConfirmParams.PaymentMethodOptions.Alipay alipay)
alipay
PaymentMethod, this sub-hash contains details about the Alipay
payment method options.public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setAlipay(EmptyParam alipay)
alipay
PaymentMethod, this sub-hash contains details about the Alipay
payment method options.public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBancontact(PaymentIntentConfirmParams.PaymentMethodOptions.Bancontact bancontact)
bancontact
PaymentMethod, this sub-hash contains details about the
Bancontact payment method options.public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setBancontact(EmptyParam bancontact)
bancontact
PaymentMethod, this sub-hash contains details about the
Bancontact payment method options.public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCard(PaymentIntentConfirmParams.PaymentMethodOptions.Card card)
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setCard(EmptyParam card)
public PaymentIntentConfirmParams.PaymentMethodOptions.Builder putExtraParam(java.lang.String key, java.lang.Object value)
PaymentIntentConfirmParams.PaymentMethodOptions.extraParams
for the field documentation.public PaymentIntentConfirmParams.PaymentMethodOptions.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
PaymentIntentConfirmParams.PaymentMethodOptions.extraParams
for the field
documentation.public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSofort(PaymentIntentConfirmParams.PaymentMethodOptions.Sofort sofort)
sofort
PaymentMethod, this sub-hash contains details about the SOFORT
payment method options.public PaymentIntentConfirmParams.PaymentMethodOptions.Builder setSofort(EmptyParam sofort)
sofort
PaymentMethod, this sub-hash contains details about the SOFORT
payment method options.