Package com.adyen.model.openbanking
Class VerifiedAccount
- java.lang.Object
-
- com.adyen.model.openbanking.VerifiedAccount
-
public class VerifiedAccount extends Object
VerifiedAccount
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_IDstatic StringJSON_PROPERTY_ACCOUNT_NAMEstatic StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_ACCOUNT_TYPEstatic StringJSON_PROPERTY_BANK_NAMEstatic StringJSON_PROPERTY_CURRENCYstatic StringJSON_PROPERTY_IDENTIFIERSstatic StringJSON_PROPERTY_PARTIES
-
Constructor Summary
Constructors Constructor Description VerifiedAccount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VerifiedAccountaccountId(String accountId)The unique identifier for the bank account.VerifiedAccountaccountName(String accountName)The name of the bank account.VerifiedAccountaccountNumber(String accountNumber)The account number of the bank account.VerifiedAccountaccountType(AccountType accountType)accountTypeVerifiedAccountaddPartiesItem(AccountParty partiesItem)VerifiedAccountbankName(String bankName)The name of the banking institution where the bank account is held.VerifiedAccountcurrency(String currency)The currency of the funds in the bank account.booleanequals(Object o)Return true if this VerifiedAccount object is equal to o.static VerifiedAccountfromJson(String jsonString)Create an instance of VerifiedAccount given an JSON stringStringgetAccountId()The unique identifier for the bank account.StringgetAccountName()The name of the bank account.StringgetAccountNumber()The account number of the bank account.AccountTypegetAccountType()Get accountTypeStringgetBankName()The name of the banking institution where the bank account is held.StringgetCurrency()The currency of the funds in the bank account.AccountIdentifiersgetIdentifiers()Get identifiersList<AccountParty>getParties()Contains details of all parties associated with the report.inthashCode()VerifiedAccountidentifiers(AccountIdentifiers identifiers)identifiersVerifiedAccountparties(List<AccountParty> parties)Contains details of all parties associated with the report.voidsetAccountId(String accountId)The unique identifier for the bank account.voidsetAccountName(String accountName)The name of the bank account.voidsetAccountNumber(String accountNumber)The account number of the bank account.voidsetAccountType(AccountType accountType)accountTypevoidsetBankName(String bankName)The name of the banking institution where the bank account is held.voidsetCurrency(String currency)The currency of the funds in the bank account.voidsetIdentifiers(AccountIdentifiers identifiers)identifiersvoidsetParties(List<AccountParty> parties)Contains details of all parties associated with the report.StringtoJson()Convert an instance of VerifiedAccount to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_ID
public static final String JSON_PROPERTY_ACCOUNT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_NAME
public static final String JSON_PROPERTY_ACCOUNT_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_TYPE
public static final String JSON_PROPERTY_ACCOUNT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_NAME
public static final String JSON_PROPERTY_BANK_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENCY
public static final String JSON_PROPERTY_CURRENCY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IDENTIFIERS
public static final String JSON_PROPERTY_IDENTIFIERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PARTIES
public static final String JSON_PROPERTY_PARTIES
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountId
public VerifiedAccount accountId(String accountId)
The unique identifier for the bank account.- Parameters:
accountId- The unique identifier for the bank account.- Returns:
- the current
VerifiedAccountinstance, allowing for method chaining
-
getAccountId
public String getAccountId()
The unique identifier for the bank account.- Returns:
- accountId The unique identifier for the bank account.
-
setAccountId
public void setAccountId(String accountId)
The unique identifier for the bank account.- Parameters:
accountId- The unique identifier for the bank account.
-
accountName
public VerifiedAccount accountName(String accountName)
The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.- Parameters:
accountName- The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.- Returns:
- the current
VerifiedAccountinstance, allowing for method chaining
-
getAccountName
public String getAccountName()
The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.- Returns:
- accountName The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.
-
setAccountName
public void setAccountName(String accountName)
The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.- Parameters:
accountName- The name of the bank account. This name is assigned by the banking institution, and it describes the type of bank account.
-
accountNumber
public VerifiedAccount accountNumber(String accountNumber)
The account number of the bank account.- Parameters:
accountNumber- The account number of the bank account.- Returns:
- the current
VerifiedAccountinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The account number of the bank account.- Returns:
- accountNumber The account number of the bank account.
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The account number of the bank account.- Parameters:
accountNumber- The account number of the bank account.
-
accountType
public VerifiedAccount accountType(AccountType accountType)
accountType- Parameters:
accountType-- Returns:
- the current
VerifiedAccountinstance, allowing for method chaining
-
getAccountType
public AccountType getAccountType()
Get accountType- Returns:
- accountType
-
setAccountType
public void setAccountType(AccountType accountType)
accountType- Parameters:
accountType-
-
bankName
public VerifiedAccount bankName(String bankName)
The name of the banking institution where the bank account is held.- Parameters:
bankName- The name of the banking institution where the bank account is held.- Returns:
- the current
VerifiedAccountinstance, allowing for method chaining
-
getBankName
public String getBankName()
The name of the banking institution where the bank account is held.- Returns:
- bankName The name of the banking institution where the bank account is held.
-
setBankName
public void setBankName(String bankName)
The name of the banking institution where the bank account is held.- Parameters:
bankName- The name of the banking institution where the bank account is held.
-
currency
public VerifiedAccount currency(String currency)
The currency of the funds in the bank account.- Parameters:
currency- The currency of the funds in the bank account.- Returns:
- the current
VerifiedAccountinstance, allowing for method chaining
-
getCurrency
public String getCurrency()
The currency of the funds in the bank account.- Returns:
- currency The currency of the funds in the bank account.
-
setCurrency
public void setCurrency(String currency)
The currency of the funds in the bank account.- Parameters:
currency- The currency of the funds in the bank account.
-
identifiers
public VerifiedAccount identifiers(AccountIdentifiers identifiers)
identifiers- Parameters:
identifiers-- Returns:
- the current
VerifiedAccountinstance, allowing for method chaining
-
getIdentifiers
public AccountIdentifiers getIdentifiers()
Get identifiers- Returns:
- identifiers
-
setIdentifiers
public void setIdentifiers(AccountIdentifiers identifiers)
identifiers- Parameters:
identifiers-
-
parties
public VerifiedAccount parties(List<AccountParty> parties)
Contains details of all parties associated with the report.- Parameters:
parties- Contains details of all parties associated with the report.- Returns:
- the current
VerifiedAccountinstance, allowing for method chaining
-
addPartiesItem
public VerifiedAccount addPartiesItem(AccountParty partiesItem)
-
getParties
public List<AccountParty> getParties()
Contains details of all parties associated with the report.- Returns:
- parties Contains details of all parties associated with the report.
-
setParties
public void setParties(List<AccountParty> parties)
Contains details of all parties associated with the report.- Parameters:
parties- Contains details of all parties associated with the report.
-
equals
public boolean equals(Object o)
Return true if this VerifiedAccount object is equal to o.
-
fromJson
public static VerifiedAccount fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of VerifiedAccount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VerifiedAccount
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to VerifiedAccount
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of VerifiedAccount to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-