Package com.stripe.param
Class PaymentIntentUpdateParams.PaymentMethodData.Builder
- java.lang.Object
-
- com.stripe.param.PaymentIntentUpdateParams.PaymentMethodData.Builder
-
- Enclosing class:
- PaymentIntentUpdateParams.PaymentMethodData
public static class PaymentIntentUpdateParams.PaymentMethodData.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
setAcssDebit(PaymentIntentUpdateParams.PaymentMethodData.AcssDebit acssDebit)
If this is anacss_debit
PaymentMethod, this hash contains details about the ACSS Debit payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setAfterpayClearpay(PaymentIntentUpdateParams.PaymentMethodData.AfterpayClearpay afterpayClearpay)
If this is anAfterpayClearpay
PaymentMethod, this hash contains details about the AfterpayClearpay payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setAlipay(PaymentIntentUpdateParams.PaymentMethodData.Alipay alipay)
If this is anAlipay
PaymentMethod, this hash contains details about the Alipay payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setAuBecsDebit(PaymentIntentUpdateParams.PaymentMethodData.AuBecsDebit auBecsDebit)
If this is anau_becs_debit
PaymentMethod, this hash contains details about the bank account.PaymentIntentUpdateParams.PaymentMethodData.Builder
setBacsDebit(PaymentIntentUpdateParams.PaymentMethodData.BacsDebit bacsDebit)
If this is abacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.PaymentIntentUpdateParams.PaymentMethodData.Builder
setBancontact(PaymentIntentUpdateParams.PaymentMethodData.Bancontact bancontact)
If this is abancontact
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
setBoleto(PaymentIntentUpdateParams.PaymentMethodData.Boleto boleto)
If this is aboleto
PaymentMethod, this hash contains details about the Boleto payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setEps(PaymentIntentUpdateParams.PaymentMethodData.Eps eps)
If this is aneps
PaymentMethod, this hash contains details about the EPS payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setFpx(PaymentIntentUpdateParams.PaymentMethodData.Fpx fpx)
If this is anfpx
PaymentMethod, this hash contains details about the FPX payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setGiropay(PaymentIntentUpdateParams.PaymentMethodData.Giropay giropay)
If this is agiropay
PaymentMethod, this hash contains details about the Giropay payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setGrabpay(PaymentIntentUpdateParams.PaymentMethodData.Grabpay grabpay)
If this is agrabpay
PaymentMethod, this hash contains details about the GrabPay payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setIdeal(PaymentIntentUpdateParams.PaymentMethodData.Ideal ideal)
If this is anideal
PaymentMethod, this hash contains details about the iDEAL payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setInteracPresent(PaymentIntentUpdateParams.PaymentMethodData.InteracPresent interacPresent)
If this is aninterac_present
PaymentMethod, this hash contains details about the Interac Present payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setKlarna(PaymentIntentUpdateParams.PaymentMethodData.Klarna klarna)
If this is aklarna
PaymentMethod, this hash contains details about the Klarna payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setOxxo(PaymentIntentUpdateParams.PaymentMethodData.Oxxo oxxo)
If this is anoxxo
PaymentMethod, this hash contains details about the OXXO payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setP24(PaymentIntentUpdateParams.PaymentMethodData.P24 p24)
If this is ap24
PaymentMethod, this hash contains details about the P24 payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setSepaDebit(PaymentIntentUpdateParams.PaymentMethodData.SepaDebit sepaDebit)
If this is asepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account.PaymentIntentUpdateParams.PaymentMethodData.Builder
setSofort(PaymentIntentUpdateParams.PaymentMethodData.Sofort sofort)
If this is asofort
PaymentMethod, this hash contains details about the SOFORT payment method.PaymentIntentUpdateParams.PaymentMethodData.Builder
setType(PaymentIntentUpdateParams.PaymentMethodData.Type type)
The type of the PaymentMethod.PaymentIntentUpdateParams.PaymentMethodData.Builder
setWechatPay(PaymentIntentUpdateParams.PaymentMethodData.WechatPay wechatPay)
If this is anwechat_pay
PaymentMethod, this hash contains details about the wechat_pay payment method.
-
-
-
Method Detail
-
build
public PaymentIntentUpdateParams.PaymentMethodData build()
Finalize and obtain parameter instance from this builder.
-
setAcssDebit
public PaymentIntentUpdateParams.PaymentMethodData.Builder setAcssDebit(PaymentIntentUpdateParams.PaymentMethodData.AcssDebit acssDebit)
If this is anacss_debit
PaymentMethod, this hash contains details about the ACSS Debit payment method.
-
setAfterpayClearpay
public PaymentIntentUpdateParams.PaymentMethodData.Builder setAfterpayClearpay(PaymentIntentUpdateParams.PaymentMethodData.AfterpayClearpay afterpayClearpay)
If this is anAfterpayClearpay
PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
-
setAlipay
public PaymentIntentUpdateParams.PaymentMethodData.Builder setAlipay(PaymentIntentUpdateParams.PaymentMethodData.Alipay alipay)
If this is anAlipay
PaymentMethod, this hash contains details about the Alipay payment method.
-
setAuBecsDebit
public PaymentIntentUpdateParams.PaymentMethodData.Builder setAuBecsDebit(PaymentIntentUpdateParams.PaymentMethodData.AuBecsDebit auBecsDebit)
If this is anau_becs_debit
PaymentMethod, this hash contains details about the bank account.
-
setBacsDebit
public PaymentIntentUpdateParams.PaymentMethodData.Builder setBacsDebit(PaymentIntentUpdateParams.PaymentMethodData.BacsDebit bacsDebit)
If this is abacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
-
setBancontact
public PaymentIntentUpdateParams.PaymentMethodData.Builder setBancontact(PaymentIntentUpdateParams.PaymentMethodData.Bancontact bancontact)
If this is abancontact
PaymentMethod, this hash contains details about the Bancontact payment method.
-
setBillingDetails
public 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.
-
setBoleto
public PaymentIntentUpdateParams.PaymentMethodData.Builder setBoleto(PaymentIntentUpdateParams.PaymentMethodData.Boleto boleto)
If this is aboleto
PaymentMethod, this hash contains details about the Boleto payment method.
-
setEps
public PaymentIntentUpdateParams.PaymentMethodData.Builder setEps(PaymentIntentUpdateParams.PaymentMethodData.Eps eps)
If this is aneps
PaymentMethod, this hash contains details about the EPS payment method.
-
putExtraParam
public PaymentIntentUpdateParams.PaymentMethodData.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.PaymentMethodData.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentIntentUpdateParams.PaymentMethodData.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.PaymentMethodData.extraParams
for the field documentation.
-
setFpx
public PaymentIntentUpdateParams.PaymentMethodData.Builder setFpx(PaymentIntentUpdateParams.PaymentMethodData.Fpx fpx)
If this is anfpx
PaymentMethod, this hash contains details about the FPX payment method.
-
setGiropay
public PaymentIntentUpdateParams.PaymentMethodData.Builder setGiropay(PaymentIntentUpdateParams.PaymentMethodData.Giropay giropay)
If this is agiropay
PaymentMethod, this hash contains details about the Giropay payment method.
-
setGrabpay
public PaymentIntentUpdateParams.PaymentMethodData.Builder setGrabpay(PaymentIntentUpdateParams.PaymentMethodData.Grabpay grabpay)
If this is agrabpay
PaymentMethod, this hash contains details about the GrabPay payment method.
-
setIdeal
public PaymentIntentUpdateParams.PaymentMethodData.Builder setIdeal(PaymentIntentUpdateParams.PaymentMethodData.Ideal ideal)
If this is anideal
PaymentMethod, this hash contains details about the iDEAL payment method.
-
setInteracPresent
public PaymentIntentUpdateParams.PaymentMethodData.Builder setInteracPresent(PaymentIntentUpdateParams.PaymentMethodData.InteracPresent interacPresent)
If this is aninterac_present
PaymentMethod, this hash contains details about the Interac Present payment method.
-
setKlarna
public PaymentIntentUpdateParams.PaymentMethodData.Builder setKlarna(PaymentIntentUpdateParams.PaymentMethodData.Klarna klarna)
If this is aklarna
PaymentMethod, this hash contains details about the Klarna payment method.
-
putMetadata
public PaymentIntentUpdateParams.PaymentMethodData.Builder putMetadata(java.lang.String key, java.lang.String value)
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentIntentUpdateParams.PaymentMethodData.metadata
for the field documentation.
-
putAllMetadata
public PaymentIntentUpdateParams.PaymentMethodData.Builder putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeePaymentIntentUpdateParams.PaymentMethodData.metadata
for the field documentation.
-
setOxxo
public PaymentIntentUpdateParams.PaymentMethodData.Builder setOxxo(PaymentIntentUpdateParams.PaymentMethodData.Oxxo oxxo)
If this is anoxxo
PaymentMethod, this hash contains details about the OXXO payment method.
-
setP24
public PaymentIntentUpdateParams.PaymentMethodData.Builder setP24(PaymentIntentUpdateParams.PaymentMethodData.P24 p24)
If this is ap24
PaymentMethod, this hash contains details about the P24 payment method.
-
setSepaDebit
public PaymentIntentUpdateParams.PaymentMethodData.Builder setSepaDebit(PaymentIntentUpdateParams.PaymentMethodData.SepaDebit sepaDebit)
If this is asepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account.
-
setSofort
public PaymentIntentUpdateParams.PaymentMethodData.Builder setSofort(PaymentIntentUpdateParams.PaymentMethodData.Sofort sofort)
If this is asofort
PaymentMethod, this hash contains details about the SOFORT payment method.
-
setType
public PaymentIntentUpdateParams.PaymentMethodData.Builder setType(PaymentIntentUpdateParams.PaymentMethodData.Type type)
The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
-
setWechatPay
public PaymentIntentUpdateParams.PaymentMethodData.Builder setWechatPay(PaymentIntentUpdateParams.PaymentMethodData.WechatPay wechatPay)
If this is anwechat_pay
PaymentMethod, this hash contains details about the wechat_pay payment method.
-
-