Package com.stripe.param
Class PaymentMethodCreateParams.UsBankAccount.Builder
java.lang.Object
com.stripe.param.PaymentMethodCreateParams.UsBankAccount.Builder
- Enclosing class:
- PaymentMethodCreateParams.UsBankAccount
-
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
(PaymentMethodCreateParams.UsBankAccount.AccountHolderType accountHolderType) Account holder type: individual or company.setAccountNumber
(String accountNumber) Account number of the bank account.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 PaymentMethodCreateParams.UsBankAccount.Builder setAccountHolderType(PaymentMethodCreateParams.UsBankAccount.AccountHolderType accountHolderType) Account holder type: individual or company. -
setAccountNumber
Account number of the bank account. -
setAccountType
public PaymentMethodCreateParams.UsBankAccount.Builder setAccountType(PaymentMethodCreateParams.UsBankAccount.AccountType accountType) Account type: checkings or savings. Defaults to checking if omitted. -
putExtraParam
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. SeePaymentMethodCreateParams.UsBankAccount.extraParams
for the field documentation. -
putAllExtraParam
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. SeePaymentMethodCreateParams.UsBankAccount.extraParams
for the field documentation. -
setFinancialConnectionsAccount
public PaymentMethodCreateParams.UsBankAccount.Builder setFinancialConnectionsAccount(String financialConnectionsAccount) The ID of a Financial Connections Account to use as a payment method. -
setRoutingNumber
Routing number of the bank account.
-