Package com.stripe.param
Class InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder
- Enclosing class:
- InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.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.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
(EmptyParam bancontact) If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.If paying bybancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.setCard
(EmptyParam card) If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.setCustomerBalance
(EmptyParam customerBalance) If paying bycustomer_balance
, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.setCustomerBalance
(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance customerBalance) If paying bycustomer_balance
, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.setKonbini
(EmptyParam konbini) If paying bykonbini
, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.If paying bykonbini
, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.setSepaDebit
(EmptyParam sepaDebit) If paying bysepa_debit
, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.If paying bysepa_debit
, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.setUsBankAccount
(EmptyParam usBankAccount) If paying byus_bank_account
, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.setUsBankAccount
(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount usBankAccount) If paying byus_bank_account
, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
If paying bycard
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent. -
setCustomerBalance
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setCustomerBalance(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.CustomerBalance customerBalance) If paying bycustomer_balance
, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent. -
setCustomerBalance
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setCustomerBalance(EmptyParam customerBalance) If paying bycustomer_balance
, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent. -
putExtraParam
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder putExtraParam(String key, 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(Map<String, 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. -
setKonbini
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setKonbini(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Konbini konbini) If paying bykonbini
, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent. -
setKonbini
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setKonbini(EmptyParam konbini) If paying bykonbini
, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent. -
setSepaDebit
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setSepaDebit(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.SepaDebit sepaDebit) If paying bysepa_debit
, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent. -
setSepaDebit
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setSepaDebit(EmptyParam sepaDebit) If paying bysepa_debit
, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent. -
setUsBankAccount
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setUsBankAccount(InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.UsBankAccount usBankAccount) If paying byus_bank_account
, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent. -
setUsBankAccount
public InvoiceUpdateParams.PaymentSettings.PaymentMethodOptions.Builder setUsBankAccount(EmptyParam usBankAccount) If paying byus_bank_account
, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
-