Package com.stripe.param
Class PaymentIntentCreateParams.PaymentMethodData.NzBankAccount.Builder
java.lang.Object
com.stripe.param.PaymentIntentCreateParams.PaymentMethodData.NzBankAccount.Builder
- Enclosing class:
- PaymentIntentCreateParams.PaymentMethodData.NzBankAccount
public static class PaymentIntentCreateParams.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 PaymentIntentCreateParams.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 PaymentIntentCreateParams.PaymentMethodData.NzBankAccount.Builder setAccountNumber(String accountNumber) Required. The account number for the bank account. -
setBankCode
public PaymentIntentCreateParams.PaymentMethodData.NzBankAccount.Builder setBankCode(String bankCode) Required. The numeric code for the bank account's bank. -
setBranchCode
public PaymentIntentCreateParams.PaymentMethodData.NzBankAccount.Builder setBranchCode(String branchCode) Required. The numeric code for the bank account's bank branch. -
putExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentMethodData.NzBankAccount.extraParams
for the field documentation. -
putAllExtraParam
public PaymentIntentCreateParams.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. SeePaymentIntentCreateParams.PaymentMethodData.NzBankAccount.extraParams
for the field documentation. -
setReference
public PaymentIntentCreateParams.PaymentMethodData.NzBankAccount.Builder setReference(String reference) -
setSuffix
-