Package com.stripe.param
Class ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.Builder
java.lang.Object
com.stripe.param.ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.Builder
- Enclosing class:
- ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount
public static class ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.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.setAccountHolderName
(String accountHolderName) The name on the bank account.setAccountNumber
(String accountNumber) Required. The account number for the bank account.setBankCode
(String bankCode) Required. The numeric code for the bank account's bank.setBranchCode
(String branchCode) Required. The numeric code for the bank account's bank branch.setReference
(String reference)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAccountHolderName
public ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.Builder setAccountHolderName(String accountHolderName) The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details. -
setAccountNumber
public ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.Builder setAccountNumber(String accountNumber) Required. The account number for the bank account. -
setBankCode
public ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.Builder setBankCode(String bankCode) Required. The numeric code for the bank account's bank. -
setBranchCode
public ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.Builder setBranchCode(String branchCode) Required. The numeric code for the bank account's bank branch. -
putExtraParam
public ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.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.NzBankAccount.extraParams
for the field documentation. -
putAllExtraParam
public ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.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.NzBankAccount.extraParams
for the field documentation. -
setReference
public ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.Builder setReference(String reference) -
setSuffix
public ConfirmationTokenCreateParams.PaymentMethodData.NzBankAccount.Builder setSuffix(String suffix)
-