public static class BankAccount.Builder extends Object
BankAccount.| Constructor and Description |
|---|
Builder(String id,
String accountNumberSuffix,
String country,
String currency,
String accountType,
String holderName,
String primaryBankIdentificationNumber,
String status,
boolean creditable,
boolean debitable)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BankAccount.Builder |
accountNumberSuffix(String accountNumberSuffix)
Setter for accountNumberSuffix.
|
BankAccount.Builder |
accountType(String accountType)
Setter for accountType.
|
BankAccount.Builder |
bankName(String bankName)
Setter for bankName.
|
BankAccount |
build()
Builds a new
BankAccount object using the set fields. |
BankAccount.Builder |
country(String country)
Setter for country.
|
BankAccount.Builder |
creditable(boolean creditable)
Setter for creditable.
|
BankAccount.Builder |
currency(String currency)
Setter for currency.
|
BankAccount.Builder |
debitable(boolean debitable)
Setter for debitable.
|
BankAccount.Builder |
debitMandateReferenceId(String debitMandateReferenceId)
Setter for debitMandateReferenceId.
|
BankAccount.Builder |
fingerprint(String fingerprint)
Setter for fingerprint.
|
BankAccount.Builder |
holderName(String holderName)
Setter for holderName.
|
BankAccount.Builder |
id(String id)
Setter for id.
|
BankAccount.Builder |
locationId(String locationId)
Setter for locationId.
|
BankAccount.Builder |
primaryBankIdentificationNumber(String primaryBankIdentificationNumber)
Setter for primaryBankIdentificationNumber.
|
BankAccount.Builder |
referenceId(String referenceId)
Setter for referenceId.
|
BankAccount.Builder |
secondaryBankIdentificationNumber(String secondaryBankIdentificationNumber)
Setter for secondaryBankIdentificationNumber.
|
BankAccount.Builder |
status(String status)
Setter for status.
|
BankAccount.Builder |
version(Integer version)
Setter for version.
|
public Builder(String id, String accountNumberSuffix, String country, String currency, String accountType, String holderName, String primaryBankIdentificationNumber, String status, boolean creditable, boolean debitable)
id - String value for id.accountNumberSuffix - String value for accountNumberSuffix.country - String value for country.currency - String value for currency.accountType - String value for accountType.holderName - String value for holderName.primaryBankIdentificationNumber - String value for
primaryBankIdentificationNumber.status - String value for status.creditable - boolean value for creditable.debitable - boolean value for debitable.public BankAccount.Builder id(String id)
id - String value for id.public BankAccount.Builder accountNumberSuffix(String accountNumberSuffix)
accountNumberSuffix - String value for accountNumberSuffix.public BankAccount.Builder country(String country)
country - String value for country.public BankAccount.Builder currency(String currency)
currency - String value for currency.public BankAccount.Builder accountType(String accountType)
accountType - String value for accountType.public BankAccount.Builder holderName(String holderName)
holderName - String value for holderName.public BankAccount.Builder primaryBankIdentificationNumber(String primaryBankIdentificationNumber)
primaryBankIdentificationNumber - String value for
primaryBankIdentificationNumber.public BankAccount.Builder status(String status)
status - String value for status.public BankAccount.Builder creditable(boolean creditable)
creditable - boolean value for creditable.public BankAccount.Builder debitable(boolean debitable)
debitable - boolean value for debitable.public BankAccount.Builder secondaryBankIdentificationNumber(String secondaryBankIdentificationNumber)
secondaryBankIdentificationNumber - String value for
secondaryBankIdentificationNumber.public BankAccount.Builder debitMandateReferenceId(String debitMandateReferenceId)
debitMandateReferenceId - String value for debitMandateReferenceId.public BankAccount.Builder referenceId(String referenceId)
referenceId - String value for referenceId.public BankAccount.Builder locationId(String locationId)
locationId - String value for locationId.public BankAccount.Builder fingerprint(String fingerprint)
fingerprint - String value for fingerprint.public BankAccount.Builder version(Integer version)
version - Integer value for version.public BankAccount.Builder bankName(String bankName)
bankName - String value for bankName.public BankAccount build()
BankAccount object using the set fields.BankAccountCopyright © 2022. All rights reserved.