public static class PaymentIntentUpdateParams.PaymentMethodOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 |
setAlipay(EmptyParam alipay)
If this is a
alipay PaymentMethod, this sub-hash contains details about the Alipay
payment method options. |
PaymentIntentUpdateParams.PaymentMethodOptions.Builder |
setAlipay(PaymentIntentUpdateParams.PaymentMethodOptions.Alipay alipay)
If this is a
alipay PaymentMethod, this sub-hash contains details about the Alipay
payment method options. |
PaymentIntentUpdateParams.PaymentMethodOptions.Builder |
setBancontact(EmptyParam bancontact)
If this is a
bancontact PaymentMethod, this sub-hash contains details about the
Bancontact payment method options. |
PaymentIntentUpdateParams.PaymentMethodOptions.Builder |
setBancontact(PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact bancontact)
If this is a
bancontact 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.
|
PaymentIntentUpdateParams.PaymentMethodOptions.Builder |
setOxxo(EmptyParam oxxo)
If this is a
oxxo PaymentMethod, this sub-hash contains details about the OXXO
payment method options. |
PaymentIntentUpdateParams.PaymentMethodOptions.Builder |
setOxxo(PaymentIntentUpdateParams.PaymentMethodOptions.Oxxo oxxo)
If this is a
oxxo PaymentMethod, this sub-hash contains details about the OXXO
payment method options. |
PaymentIntentUpdateParams.PaymentMethodOptions.Builder |
setSofort(EmptyParam sofort)
If this is a
sofort PaymentMethod, this sub-hash contains details about the SOFORT
payment method options. |
PaymentIntentUpdateParams.PaymentMethodOptions.Builder |
setSofort(PaymentIntentUpdateParams.PaymentMethodOptions.Sofort sofort)
If this is a
sofort PaymentMethod, this sub-hash contains details about the SOFORT
payment method options. |
public PaymentIntentUpdateParams.PaymentMethodOptions build()
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setAlipay(PaymentIntentUpdateParams.PaymentMethodOptions.Alipay alipay)
alipay
PaymentMethod, this sub-hash contains details about the Alipay
payment method options.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setAlipay(EmptyParam alipay)
alipay
PaymentMethod, this sub-hash contains details about the Alipay
payment method options.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setBancontact(PaymentIntentUpdateParams.PaymentMethodOptions.Bancontact bancontact)
bancontact
PaymentMethod, this sub-hash contains details about the
Bancontact payment method options.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setBancontact(EmptyParam bancontact)
bancontact
PaymentMethod, this sub-hash contains details about the
Bancontact payment method options.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setCard(PaymentIntentUpdateParams.PaymentMethodOptions.Card card)
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setCard(EmptyParam card)
public PaymentIntentUpdateParams.PaymentMethodOptions.Builder putExtraParam(java.lang.String key, java.lang.Object value)
PaymentIntentUpdateParams.PaymentMethodOptions.extraParams
for the field documentation.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
PaymentIntentUpdateParams.PaymentMethodOptions.extraParams
for the field
documentation.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setOxxo(PaymentIntentUpdateParams.PaymentMethodOptions.Oxxo oxxo)
oxxo
PaymentMethod, this sub-hash contains details about the OXXO
payment method options.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setOxxo(EmptyParam oxxo)
oxxo
PaymentMethod, this sub-hash contains details about the OXXO
payment method options.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setSofort(PaymentIntentUpdateParams.PaymentMethodOptions.Sofort sofort)
sofort
PaymentMethod, this sub-hash contains details about the SOFORT
payment method options.public PaymentIntentUpdateParams.PaymentMethodOptions.Builder setSofort(EmptyParam sofort)
sofort
PaymentMethod, this sub-hash contains details about the SOFORT
payment method options.