Class BankAccountInfo
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.BankAccountInfo
-
public class BankAccountInfo extends Object
BankAccountInfo
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_IDENTIFICATIONstatic StringJSON_PROPERTY_ACCOUNT_TYPEstatic StringJSON_PROPERTY_BANK_NAMEstatic StringJSON_PROPERTY_COUNTRY_CODEstatic StringJSON_PROPERTY_TRUSTED_SOURCE
-
Constructor Summary
Constructors Constructor Description BankAccountInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BankAccountInfoaccountIdentification(BankAccountInfoAccountIdentification accountIdentification)accountIdentificationBankAccountInfoaccountType(String accountType)Deprecated.since Legal Entity Management API v2BankAccountInfobankName(String bankName)The name of the banking institution where the bank account is held.BankAccountInfocountryCode(String countryCode)The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered.booleanequals(Object o)Return true if this BankAccountInfo object is equal to o.static BankAccountInfofromJson(String jsonString)Create an instance of BankAccountInfo given an JSON stringBankAccountInfoAccountIdentificationgetAccountIdentification()accountIdentificationStringgetAccountType()Deprecated.since Legal Entity Management API v2StringgetBankName()The name of the banking institution where the bank account is held.StringgetCountryCode()The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered.BooleangetTrustedSource()Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).inthashCode()voidsetAccountIdentification(BankAccountInfoAccountIdentification accountIdentification)accountIdentificationvoidsetAccountType(String accountType)Deprecated.since Legal Entity Management API v2voidsetBankName(String bankName)The name of the banking institution where the bank account is held.voidsetCountryCode(String countryCode)The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered.voidsetTrustedSource(Boolean trustedSource)Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).StringtoJson()Convert an instance of BankAccountInfo to an JSON stringStringtoString()BankAccountInfotrustedSource(Boolean trustedSource)Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_IDENTIFICATION
public static final String JSON_PROPERTY_ACCOUNT_IDENTIFICATION
- 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_COUNTRY_CODE
public static final String JSON_PROPERTY_COUNTRY_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRUSTED_SOURCE
public static final String JSON_PROPERTY_TRUSTED_SOURCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountIdentification
public BankAccountInfo accountIdentification(BankAccountInfoAccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-- Returns:
- the current
BankAccountInfoinstance, allowing for method chaining
-
getAccountIdentification
public BankAccountInfoAccountIdentification getAccountIdentification()
accountIdentification- Returns:
- accountIdentification
-
setAccountIdentification
public void setAccountIdentification(BankAccountInfoAccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-
-
accountType
@Deprecated public BankAccountInfo accountType(String accountType)
Deprecated.since Legal Entity Management API v2The type of bank account.- Parameters:
accountType-- Returns:
- the current
BankAccountInfoinstance, allowing for method chaining
-
getAccountType
@Deprecated public String getAccountType()
Deprecated.since Legal Entity Management API v2The type of bank account.- Returns:
- accountType
-
setAccountType
@Deprecated public void setAccountType(String accountType)
Deprecated.since Legal Entity Management API v2The type of bank account.- Parameters:
accountType-
-
bankName
public BankAccountInfo bankName(String bankName)
The name of the banking institution where the bank account is held.- Parameters:
bankName-- Returns:
- the current
BankAccountInfoinstance, allowing for method chaining
-
getBankName
public String getBankName()
The name of the banking institution where the bank account is held.- Returns:
- bankName
-
setBankName
public void setBankName(String bankName)
The name of the banking institution where the bank account is held.- Parameters:
bankName-
-
countryCode
public BankAccountInfo countryCode(String countryCode)
The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**.- Parameters:
countryCode-- Returns:
- the current
BankAccountInfoinstance, allowing for method chaining
-
getCountryCode
public String getCountryCode()
The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**.- Parameters:
countryCode-
-
trustedSource
public BankAccountInfo trustedSource(Boolean trustedSource)
Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).- Parameters:
trustedSource-- Returns:
- the current
BankAccountInfoinstance, allowing for method chaining
-
getTrustedSource
public Boolean getTrustedSource()
Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).- Returns:
- trustedSource
-
setTrustedSource
public void setTrustedSource(Boolean trustedSource)
Identifies if the bank account was created through [instant bank verification](https://docs.adyen.com/release-notes/platforms-and-financial-products#releaseNote=2023-05-08-hosted-onboarding).- Parameters:
trustedSource-
-
equals
public boolean equals(Object o)
Return true if this BankAccountInfo object is equal to o.
-
fromJson
public static BankAccountInfo fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BankAccountInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountInfo
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BankAccountInfo
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankAccountInfo to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-