Class BankAccountInfo


  • public class BankAccountInfo
    extends Object
    BankAccountInfo
    • Constructor Detail

      • BankAccountInfo

        public BankAccountInfo()
    • Method Detail

      • setAccountIdentification

        public void setAccountIdentification​(BankAccountInfoAccountIdentification accountIdentification)
        accountIdentification
        Parameters:
        accountIdentification -
      • getAccountType

        @Deprecated
        public String getAccountType()
        Deprecated.
        The type of bank account.
        Returns:
        accountType
      • setAccountType

        @Deprecated
        public void setAccountType​(String accountType)
        Deprecated.
        The type of bank account.
        Parameters:
        accountType -
      • 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 -
      • 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 -
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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