Package com.stripe.param
Class ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.Builder
java.lang.Object
com.stripe.param.ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.Builder
- Enclosing class:
- ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount
public static class ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.Builder
extends Object
-
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.setAccountHolderType
(ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType accountHolderType) Account holder type: individual or company.setAccountNumber
(String accountNumber) Account number of the bank account.setAccountType
(ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.AccountType accountType) Account type: checkings or savings.setFinancialConnectionsAccount
(String financialConnectionsAccount) The ID of a Financial Connections Account to use as a payment method.setRoutingNumber
(String routingNumber) Routing number of the bank account.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccountHolderType
public ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.Builder setAccountHolderType(ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.AccountHolderType accountHolderType) Account holder type: individual or company. -
setAccountNumber
public ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.Builder setAccountNumber(String accountNumber) Account number of the bank account. -
setAccountType
public ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.Builder setAccountType(ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.AccountType accountType) Account type: checkings or savings. Defaults to checking if omitted. -
putExtraParam
public ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.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. SeeConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.extraParams
for the field documentation. -
putAllExtraParam
public ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.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. SeeConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.extraParams
for the field documentation. -
setFinancialConnectionsAccount
public ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.Builder setFinancialConnectionsAccount(String financialConnectionsAccount) The ID of a Financial Connections Account to use as a payment method. -
setRoutingNumber
public ConfirmationTokenCreateParams.PaymentMethodData.UsBankAccount.Builder setRoutingNumber(String routingNumber) Routing number of the bank account.
-