Class OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder
java.lang.Object
com.stripe.param.v2.moneymanagement.OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder
- Enclosing class:
- OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount
public static class OutboundSetupIntentUpdateParams.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
(EmptyParam accountNumber) Required. The account number or IBAN of the bank account.setAccountNumber
(String accountNumber) Required. The account number or IBAN of the bank account.setBankAccountType
(OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.BankAccountType bankAccountType) Closed Enum.setBranchNumber
(EmptyParam branchNumber) The branch number of the bank account, if present.setBranchNumber
(String branchNumber) The branch number of the bank account, if present.setCountry
(EmptyParam country) Required. The country code of the bank account.setCountry
(String country) Required. The country code of the bank account.setRoutingNumber
(EmptyParam routingNumber) The routing number of the bank account, if present.setRoutingNumber
(String routingNumber) The routing number of the bank account, if present.setSwiftCode
(EmptyParam swiftCode) The swift code 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 OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setAccountNumber(String accountNumber) Required. The account number or IBAN of the bank account. -
setAccountNumber
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setAccountNumber(EmptyParam accountNumber) Required. The account number or IBAN of the bank account. -
setBankAccountType
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setBankAccountType(OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.BankAccountType bankAccountType) Closed Enum. The type of the bank account (checking or savings). -
setBranchNumber
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setBranchNumber(String branchNumber) The branch number of the bank account, if present. -
setBranchNumber
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setBranchNumber(EmptyParam branchNumber) The branch number of the bank account, if present. -
setCountry
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setCountry(String country) Required. The country code of the bank account. -
setCountry
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setCountry(EmptyParam country) Required. The country code of the bank account. -
putExtraParam
public OutboundSetupIntentUpdateParams.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. SeeOutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.extraParams
for the field documentation. -
putAllExtraParam
public OutboundSetupIntentUpdateParams.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. SeeOutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.extraParams
for the field documentation. -
setRoutingNumber
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setRoutingNumber(String routingNumber) The routing number of the bank account, if present. -
setRoutingNumber
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setRoutingNumber(EmptyParam routingNumber) The routing number of the bank account, if present. -
setSwiftCode
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setSwiftCode(String swiftCode) The swift code of the bank account, if present. -
setSwiftCode
public OutboundSetupIntentUpdateParams.PayoutMethodData.BankAccount.Builder setSwiftCode(EmptyParam swiftCode) The swift code of the bank account, if present.
-