Package com.stripe.param
Class InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
- java.lang.Object
-
- com.stripe.param.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
-
- Enclosing class:
- InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions
public static class InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions
build()
Finalize and obtain parameter instance from this builder.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
setAcssDebit(EmptyParam acssDebit)
If paying byacss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
setAcssDebit(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit acssDebit)
If paying byacss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
setBancontact(EmptyParam bancontact)
If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
setBancontact(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact bancontact)
If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
setCard(EmptyParam card)
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
setCard(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card card)
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
-
-
-
Method Detail
-
build
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions build()
Finalize and obtain parameter instance from this builder.
-
setAcssDebit
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setAcssDebit(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.AcssDebit acssDebit)
If paying byacss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
-
setAcssDebit
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setAcssDebit(EmptyParam acssDebit)
If paying byacss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
-
setBancontact
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setBancontact(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Bancontact bancontact)
If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
-
setBancontact
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setBancontact(EmptyParam bancontact)
If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
-
setCard
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setCard(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Card card)
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
-
setCard
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setCard(EmptyParam card)
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
-
putExtraParam
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.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. SeeInvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.extraParams
for the field documentation.
-
putAllExtraParam
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.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. SeeInvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.extraParams
for the field documentation.
-
-