Package com.stripe.param
Class PaymentIntentConfirmParams.PaymentMethodData.Builder
- java.lang.Object
-
- com.stripe.param.PaymentIntentConfirmParams.PaymentMethodData.Builder
-
- Enclosing class:
- PaymentIntentConfirmParams.PaymentMethodData
public static class PaymentIntentConfirmParams.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 PaymentIntentConfirmParams.PaymentMethodData
build()
Finalize and obtain parameter instance from this builder.PaymentIntentConfirmParams.PaymentMethodData.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PaymentIntentConfirmParams.PaymentMethodData.Builder
putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map.PaymentIntentConfirmParams.PaymentMethodData.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PaymentIntentConfirmParams.PaymentMethodData.Builder
putMetadata(java.lang.String key, java.lang.String value)
Add a key/value pair to `metadata` map.PaymentIntentConfirmParams.PaymentMethodData.Builder
setAfterpayClearpay(PaymentIntentConfirmParams.PaymentMethodData.AfterpayClearpay afterpayClearpay)
If this is anAfterpayClearpay
PaymentMethod, this hash contains details about the AfterpayClearpay payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setAlipay(PaymentIntentConfirmParams.PaymentMethodData.Alipay alipay)
If this is anAlipay
PaymentMethod, this hash contains details about the Alipay payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setAuBecsDebit(PaymentIntentConfirmParams.PaymentMethodData.AuBecsDebit auBecsDebit)
If this is anau_becs_debit
PaymentMethod, this hash contains details about the bank account.PaymentIntentConfirmParams.PaymentMethodData.Builder
setBacsDebit(PaymentIntentConfirmParams.PaymentMethodData.BacsDebit bacsDebit)
If this is abacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.PaymentIntentConfirmParams.PaymentMethodData.Builder
setBancontact(PaymentIntentConfirmParams.PaymentMethodData.Bancontact bancontact)
If this is abancontact
PaymentMethod, this hash contains details about the Bancontact payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setBillingDetails(PaymentIntentConfirmParams.PaymentMethodData.BillingDetails billingDetails)
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.PaymentIntentConfirmParams.PaymentMethodData.Builder
setEps(PaymentIntentConfirmParams.PaymentMethodData.Eps eps)
If this is aneps
PaymentMethod, this hash contains details about the EPS payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setFpx(PaymentIntentConfirmParams.PaymentMethodData.Fpx fpx)
If this is anfpx
PaymentMethod, this hash contains details about the FPX payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setGiropay(PaymentIntentConfirmParams.PaymentMethodData.Giropay giropay)
If this is agiropay
PaymentMethod, this hash contains details about the Giropay payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setGrabpay(PaymentIntentConfirmParams.PaymentMethodData.Grabpay grabpay)
If this is agrabpay
PaymentMethod, this hash contains details about the GrabPay payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setIdeal(PaymentIntentConfirmParams.PaymentMethodData.Ideal ideal)
If this is anideal
PaymentMethod, this hash contains details about the iDEAL payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setInteracPresent(PaymentIntentConfirmParams.PaymentMethodData.InteracPresent interacPresent)
If this is aninterac_present
PaymentMethod, this hash contains details about the Interac Present payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setOxxo(PaymentIntentConfirmParams.PaymentMethodData.Oxxo oxxo)
If this is anoxxo
PaymentMethod, this hash contains details about the OXXO payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setP24(PaymentIntentConfirmParams.PaymentMethodData.P24 p24)
If this is ap24
PaymentMethod, this hash contains details about the P24 payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setSepaDebit(PaymentIntentConfirmParams.PaymentMethodData.SepaDebit sepaDebit)
If this is asepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account.PaymentIntentConfirmParams.PaymentMethodData.Builder
setSofort(PaymentIntentConfirmParams.PaymentMethodData.Sofort sofort)
If this is asofort
PaymentMethod, this hash contains details about the SOFORT payment method.PaymentIntentConfirmParams.PaymentMethodData.Builder
setType(PaymentIntentConfirmParams.PaymentMethodData.Type type)
The type of the PaymentMethod.
-
-
-
Method Detail
-
build
public PaymentIntentConfirmParams.PaymentMethodData build()
Finalize and obtain parameter instance from this builder.
-
setAfterpayClearpay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAfterpayClearpay(PaymentIntentConfirmParams.PaymentMethodData.AfterpayClearpay afterpayClearpay)
If this is anAfterpayClearpay
PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
-
setAlipay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAlipay(PaymentIntentConfirmParams.PaymentMethodData.Alipay alipay)
If this is anAlipay
PaymentMethod, this hash contains details about the Alipay payment method.
-
setAuBecsDebit
public PaymentIntentConfirmParams.PaymentMethodData.Builder setAuBecsDebit(PaymentIntentConfirmParams.PaymentMethodData.AuBecsDebit auBecsDebit)
If this is anau_becs_debit
PaymentMethod, this hash contains details about the bank account.
-
setBacsDebit
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBacsDebit(PaymentIntentConfirmParams.PaymentMethodData.BacsDebit bacsDebit)
If this is abacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
-
setBancontact
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBancontact(PaymentIntentConfirmParams.PaymentMethodData.Bancontact bancontact)
If this is abancontact
PaymentMethod, this hash contains details about the Bancontact payment method.
-
setBillingDetails
public PaymentIntentConfirmParams.PaymentMethodData.Builder setBillingDetails(PaymentIntentConfirmParams.PaymentMethodData.BillingDetails billingDetails)
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
-
setEps
public PaymentIntentConfirmParams.PaymentMethodData.Builder setEps(PaymentIntentConfirmParams.PaymentMethodData.Eps eps)
If this is aneps
PaymentMethod, this hash contains details about the EPS payment method.
-
putExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodData.extraParams
for the field documentation.
-
putAllExtraParam
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodData.extraParams
for the field documentation.
-
setFpx
public PaymentIntentConfirmParams.PaymentMethodData.Builder setFpx(PaymentIntentConfirmParams.PaymentMethodData.Fpx fpx)
If this is anfpx
PaymentMethod, this hash contains details about the FPX payment method.
-
setGiropay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setGiropay(PaymentIntentConfirmParams.PaymentMethodData.Giropay giropay)
If this is agiropay
PaymentMethod, this hash contains details about the Giropay payment method.
-
setGrabpay
public PaymentIntentConfirmParams.PaymentMethodData.Builder setGrabpay(PaymentIntentConfirmParams.PaymentMethodData.Grabpay grabpay)
If this is agrabpay
PaymentMethod, this hash contains details about the GrabPay payment method.
-
setIdeal
public PaymentIntentConfirmParams.PaymentMethodData.Builder setIdeal(PaymentIntentConfirmParams.PaymentMethodData.Ideal ideal)
If this is anideal
PaymentMethod, this hash contains details about the iDEAL payment method.
-
setInteracPresent
public PaymentIntentConfirmParams.PaymentMethodData.Builder setInteracPresent(PaymentIntentConfirmParams.PaymentMethodData.InteracPresent interacPresent)
If this is aninterac_present
PaymentMethod, this hash contains details about the Interac Present payment method.
-
putMetadata
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodData.metadata
for the field documentation.
-
putAllMetadata
public PaymentIntentConfirmParams.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. SeePaymentIntentConfirmParams.PaymentMethodData.metadata
for the field documentation.
-
setOxxo
public PaymentIntentConfirmParams.PaymentMethodData.Builder setOxxo(PaymentIntentConfirmParams.PaymentMethodData.Oxxo oxxo)
If this is anoxxo
PaymentMethod, this hash contains details about the OXXO payment method.
-
setP24
public PaymentIntentConfirmParams.PaymentMethodData.Builder setP24(PaymentIntentConfirmParams.PaymentMethodData.P24 p24)
If this is ap24
PaymentMethod, this hash contains details about the P24 payment method.
-
setSepaDebit
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSepaDebit(PaymentIntentConfirmParams.PaymentMethodData.SepaDebit sepaDebit)
If this is asepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account.
-
setSofort
public PaymentIntentConfirmParams.PaymentMethodData.Builder setSofort(PaymentIntentConfirmParams.PaymentMethodData.Sofort sofort)
If this is asofort
PaymentMethod, this hash contains details about the SOFORT payment method.
-
setType
public PaymentIntentConfirmParams.PaymentMethodData.Builder setType(PaymentIntentConfirmParams.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.
-
-