Package com.adyen.model.openbanking
Class AccountVerificationReportResponse
- java.lang.Object
-
- com.adyen.model.openbanking.AccountVerificationReportResponse
-
public class AccountVerificationReportResponse extends Object
AccountVerificationReportResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNTSstatic StringJSON_PROPERTY_COUNTRYstatic StringJSON_PROPERTY_ID
-
Constructor Summary
Constructors Constructor Description AccountVerificationReportResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountVerificationReportResponseaccounts(List<VerifiedAccount> accounts)A list of bank accounts with their respective information.AccountVerificationReportResponseaddAccountsItem(VerifiedAccount accountsItem)AccountVerificationReportResponsecountry(AccountVerificationCountry country)countrybooleanequals(Object o)Return true if this AccountVerificationReportResponse object is equal to o.static AccountVerificationReportResponsefromJson(String jsonString)Create an instance of AccountVerificationReportResponse given an JSON stringList<VerifiedAccount>getAccounts()A list of bank accounts with their respective information.AccountVerificationCountrygetCountry()Get countryStringgetId()The unique identifier for the specific report.inthashCode()AccountVerificationReportResponseid(String id)The unique identifier for the specific report.voidsetAccounts(List<VerifiedAccount> accounts)A list of bank accounts with their respective information.voidsetCountry(AccountVerificationCountry country)countryvoidsetId(String id)The unique identifier for the specific report.StringtoJson()Convert an instance of AccountVerificationReportResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNTS
public static final String JSON_PROPERTY_ACCOUNTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COUNTRY
public static final String JSON_PROPERTY_COUNTRY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
accounts
public AccountVerificationReportResponse accounts(List<VerifiedAccount> accounts)
A list of bank accounts with their respective information.- Parameters:
accounts- A list of bank accounts with their respective information.- Returns:
- the current
AccountVerificationReportResponseinstance, allowing for method chaining
-
addAccountsItem
public AccountVerificationReportResponse addAccountsItem(VerifiedAccount accountsItem)
-
getAccounts
public List<VerifiedAccount> getAccounts()
A list of bank accounts with their respective information.- Returns:
- accounts A list of bank accounts with their respective information.
-
setAccounts
public void setAccounts(List<VerifiedAccount> accounts)
A list of bank accounts with their respective information.- Parameters:
accounts- A list of bank accounts with their respective information.
-
country
public AccountVerificationReportResponse country(AccountVerificationCountry country)
country- Parameters:
country-- Returns:
- the current
AccountVerificationReportResponseinstance, allowing for method chaining
-
getCountry
public AccountVerificationCountry getCountry()
Get country- Returns:
- country
-
setCountry
public void setCountry(AccountVerificationCountry country)
country- Parameters:
country-
-
id
public AccountVerificationReportResponse id(String id)
The unique identifier for the specific report.- Parameters:
id- The unique identifier for the specific report.- Returns:
- the current
AccountVerificationReportResponseinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier for the specific report.- Returns:
- id The unique identifier for the specific report.
-
setId
public void setId(String id)
The unique identifier for the specific report.- Parameters:
id- The unique identifier for the specific report.
-
equals
public boolean equals(Object o)
Return true if this AccountVerificationReportResponse object is equal to o.
-
fromJson
public static AccountVerificationReportResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AccountVerificationReportResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountVerificationReportResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AccountVerificationReportResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AccountVerificationReportResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-