public static class PaymentIntentUpdateParams.PaymentMethodData.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PaymentIntentUpdateParams.PaymentMethodData |
build()
Finalize and obtain parameter instance from this builder.
|
PaymentIntentUpdateParams.PaymentMethodData.Builder |
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.
|
PaymentIntentUpdateParams.PaymentMethodData.Builder |
putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map.
|
PaymentIntentUpdateParams.PaymentMethodData.Builder |
putExtraParam(java.lang.String key,
java.lang.Object value)
Add a key/value pair to `extraParams` map.
|
PaymentIntentUpdateParams.PaymentMethodData.Builder |
putMetadata(java.lang.String key,
java.lang.String value)
Add a key/value pair to `metadata` map.
|
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setAlipay(PaymentIntentUpdateParams.PaymentMethodData.Alipay alipay)
If this is an
Alipay PaymentMethod, this hash contains details about the Alipay
payment method. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setAuBecsDebit(PaymentIntentUpdateParams.PaymentMethodData.AuBecsDebit auBecsDebit)
If this is an
au_becs_debit PaymentMethod, this hash contains details about the
bank account. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setBacsDebit(PaymentIntentUpdateParams.PaymentMethodData.BacsDebit bacsDebit)
If this is a
bacs_debit PaymentMethod, this hash contains details about the Bacs
Direct Debit bank account. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setBancontact(PaymentIntentUpdateParams.PaymentMethodData.Bancontact bancontact)
If this is a
bancontact PaymentMethod, this hash contains details about the
Bancontact payment method. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setBillingDetails(PaymentIntentUpdateParams.PaymentMethodData.BillingDetails billingDetails)
Billing information associated with the PaymentMethod that may be used or required by
particular types of payment methods.
|
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setEps(PaymentIntentUpdateParams.PaymentMethodData.Eps eps)
If this is an
eps PaymentMethod, this hash contains details about the EPS payment
method. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setFpx(PaymentIntentUpdateParams.PaymentMethodData.Fpx fpx)
If this is an
fpx PaymentMethod, this hash contains details about the FPX payment
method. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setGiropay(PaymentIntentUpdateParams.PaymentMethodData.Giropay giropay)
If this is a
giropay PaymentMethod, this hash contains details about the Giropay
payment method. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setIdeal(PaymentIntentUpdateParams.PaymentMethodData.Ideal ideal)
If this is an
ideal PaymentMethod, this hash contains details about the iDEAL
payment method. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setInteracPresent(PaymentIntentUpdateParams.PaymentMethodData.InteracPresent interacPresent)
If this is an
interac_present PaymentMethod, this hash contains details about the
Interac Present payment method. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setP24(PaymentIntentUpdateParams.PaymentMethodData.P24 p24)
If this is a
p24 PaymentMethod, this hash contains details about the P24 payment
method. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setSepaDebit(PaymentIntentUpdateParams.PaymentMethodData.SepaDebit sepaDebit)
If this is a
sepa_debit PaymentMethod, this hash contains details about the SEPA
debit bank account. |
PaymentIntentUpdateParams.PaymentMethodData.Builder |
setType(PaymentIntentUpdateParams.PaymentMethodData.Type type)
The type of the PaymentMethod.
|
public PaymentIntentUpdateParams.PaymentMethodData build()
public PaymentIntentUpdateParams.PaymentMethodData.Builder setAlipay(PaymentIntentUpdateParams.PaymentMethodData.Alipay alipay)
Alipay
PaymentMethod, this hash contains details about the Alipay
payment method.public PaymentIntentUpdateParams.PaymentMethodData.Builder setAuBecsDebit(PaymentIntentUpdateParams.PaymentMethodData.AuBecsDebit auBecsDebit)
au_becs_debit
PaymentMethod, this hash contains details about the
bank account.public PaymentIntentUpdateParams.PaymentMethodData.Builder setBacsDebit(PaymentIntentUpdateParams.PaymentMethodData.BacsDebit bacsDebit)
bacs_debit
PaymentMethod, this hash contains details about the Bacs
Direct Debit bank account.public PaymentIntentUpdateParams.PaymentMethodData.Builder setBancontact(PaymentIntentUpdateParams.PaymentMethodData.Bancontact bancontact)
bancontact
PaymentMethod, this hash contains details about the
Bancontact payment method.public PaymentIntentUpdateParams.PaymentMethodData.Builder setBillingDetails(PaymentIntentUpdateParams.PaymentMethodData.BillingDetails billingDetails)
public PaymentIntentUpdateParams.PaymentMethodData.Builder setEps(PaymentIntentUpdateParams.PaymentMethodData.Eps eps)
eps
PaymentMethod, this hash contains details about the EPS payment
method.public PaymentIntentUpdateParams.PaymentMethodData.Builder putExtraParam(java.lang.String key, java.lang.Object value)
PaymentIntentUpdateParams.PaymentMethodData.extraParams
for the field documentation.public PaymentIntentUpdateParams.PaymentMethodData.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
PaymentIntentUpdateParams.PaymentMethodData.extraParams
for the field
documentation.public PaymentIntentUpdateParams.PaymentMethodData.Builder setFpx(PaymentIntentUpdateParams.PaymentMethodData.Fpx fpx)
fpx
PaymentMethod, this hash contains details about the FPX payment
method.public PaymentIntentUpdateParams.PaymentMethodData.Builder setGiropay(PaymentIntentUpdateParams.PaymentMethodData.Giropay giropay)
giropay
PaymentMethod, this hash contains details about the Giropay
payment method.public PaymentIntentUpdateParams.PaymentMethodData.Builder setIdeal(PaymentIntentUpdateParams.PaymentMethodData.Ideal ideal)
ideal
PaymentMethod, this hash contains details about the iDEAL
payment method.public PaymentIntentUpdateParams.PaymentMethodData.Builder setInteracPresent(PaymentIntentUpdateParams.PaymentMethodData.InteracPresent interacPresent)
interac_present
PaymentMethod, this hash contains details about the
Interac Present payment method.public PaymentIntentUpdateParams.PaymentMethodData.Builder putMetadata(java.lang.String key, java.lang.String value)
PaymentIntentUpdateParams.PaymentMethodData.metadata
for the field documentation.public PaymentIntentUpdateParams.PaymentMethodData.Builder putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
PaymentIntentUpdateParams.PaymentMethodData.metadata
for the field
documentation.public PaymentIntentUpdateParams.PaymentMethodData.Builder setP24(PaymentIntentUpdateParams.PaymentMethodData.P24 p24)
p24
PaymentMethod, this hash contains details about the P24 payment
method.public PaymentIntentUpdateParams.PaymentMethodData.Builder setSepaDebit(PaymentIntentUpdateParams.PaymentMethodData.SepaDebit sepaDebit)
sepa_debit
PaymentMethod, this hash contains details about the SEPA
debit bank account.public PaymentIntentUpdateParams.PaymentMethodData.Builder setType(PaymentIntentUpdateParams.PaymentMethodData.Type type)