Package com.stripe.param
Class InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder
java.lang.Object
com.stripe.param.InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder
- Enclosing class:
- InvoiceCreateParams.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
(InvoiceCreateParams.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
(InvoiceCreateParams.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 InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder setAcssDebit(InvoiceCreateParams.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 InvoiceCreateParams.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 InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder setBancontact(InvoiceCreateParams.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 InvoiceCreateParams.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 InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder setCard(InvoiceCreateParams.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 InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder setCustomerBalance(InvoiceCreateParams.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 InvoiceCreateParams.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 InvoiceCreateParams.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. SeeInvoiceCreateParams.PaymentSettings.PaymentMethodOptions.extraParams
for the field documentation. -
putAllExtraParam
public InvoiceCreateParams.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. SeeInvoiceCreateParams.PaymentSettings.PaymentMethodOptions.extraParams
for the field documentation. -
setKonbini
public InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder setKonbini(InvoiceCreateParams.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 InvoiceCreateParams.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 InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder setSepaDebit(InvoiceCreateParams.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 InvoiceCreateParams.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 InvoiceCreateParams.PaymentSettings.PaymentMethodOptions.Builder setUsBankAccount(InvoiceCreateParams.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 InvoiceCreateParams.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.
-