Class OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder
java.lang.Object
com.stripe.param.v2.moneymanagement.OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder
- Enclosing class:
- OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount
public static class OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder
extends Object
-
Constructor Summary
Constructors -
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.setAccountNumber
(String accountNumber) Required. The account number or IBAN of the bank account.setBankAccountType
(OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.BankAccountType bankAccountType) Closed Enum.setBranchNumber
(String branchNumber) The branch number of the bank account, if present.setCountry
(String country) Required. The country code of the bank account.setRoutingNumber
(String routingNumber) The routing number of the bank account, if present.setSwiftCode
(String swiftCode) The swift code of the bank account, if present.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccountNumber
public OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder setAccountNumber(String accountNumber) Required. The account number or IBAN of the bank account. -
setBankAccountType
public OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder setBankAccountType(OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.BankAccountType bankAccountType) Closed Enum. The type of the bank account (checking or savings). -
setBranchNumber
public OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder setBranchNumber(String branchNumber) The branch number of the bank account, if present. -
setCountry
public OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder setCountry(String country) Required. The country code of the bank account. -
putExtraParam
public OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.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. SeeOutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.extraParams
for the field documentation. -
putAllExtraParam
public OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.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. SeeOutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.extraParams
for the field documentation. -
setRoutingNumber
public OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder setRoutingNumber(String routingNumber) The routing number of the bank account, if present. -
setSwiftCode
public OutboundSetupIntentCreateParams.PayoutMethodData.BankAccount.Builder setSwiftCode(String swiftCode) The swift code of the bank account, if present.
-