Class BankAccountDetail


  • public class BankAccountDetail
    extends Object
    BankAccountDetail
    • Constructor Detail

      • BankAccountDetail

        public BankAccountDetail()
    • Method Detail

      • getAccountNumber

        public String getAccountNumber()
        The bank account number (without separators). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        accountNumber
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
      • getAccountType

        public String getAccountType()
        The type of bank account. Only applicable to bank accounts held in the USA. The permitted values are: `checking`, `savings`. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        accountType
      • setAccountType

        public void setAccountType​(String accountType)
      • getBankAccountName

        public String getBankAccountName()
        The name of the bank account.
        Returns:
        bankAccountName
      • setBankAccountName

        public void setBankAccountName​(String bankAccountName)
      • getBankAccountReference

        public String getBankAccountReference()
        Merchant reference to the bank account.
        Returns:
        bankAccountReference
      • setBankAccountReference

        public void setBankAccountReference​(String bankAccountReference)
      • getBankAccountUUID

        public String getBankAccountUUID()
        The unique identifier (UUID) of the Bank Account. >If, during an account holder create or update request, this field is left blank (but other fields provided), a new Bank Account will be created with a procedurally-generated UUID. >If, during an account holder create request, a UUID is provided, the creation of the Bank Account will fail while the creation of the account holder will continue. >If, during an account holder update request, a UUID that is not correlated with an existing Bank Account is provided, the update of the account holder will fail. >If, during an account holder update request, a UUID that is correlated with an existing Bank Account is provided, the existing Bank Account will be updated.
        Returns:
        bankAccountUUID
      • setBankAccountUUID

        public void setBankAccountUUID​(String bankAccountUUID)
      • getBankBicSwift

        public String getBankBicSwift()
        The bank identifier code. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        bankBicSwift
      • setBankBicSwift

        public void setBankBicSwift​(String bankBicSwift)
      • getBankCity

        public String getBankCity()
        The city in which the bank branch is located. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        bankCity
      • setBankCity

        public void setBankCity​(String bankCity)
      • getBankCode

        public String getBankCode()
        The bank code of the banking institution with which the bank account is registered. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        bankCode
      • setBankCode

        public void setBankCode​(String bankCode)
      • getBankName

        public String getBankName()
        The name of the banking institution with which the bank account is held. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        bankName
      • setBankName

        public void setBankName​(String bankName)
      • getBranchCode

        public String getBranchCode()
        The branch code of the branch under which the bank account is registered. The value to be specified in this parameter depends on the country of the bank account: * United States - Routing number * United Kingdom - Sort code * Germany - Bankleitzahl >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        branchCode
      • setBranchCode

        public void setBranchCode​(String branchCode)
      • getCheckCode

        public String getCheckCode()
        The check code of the bank account. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        checkCode
      • setCheckCode

        public void setCheckCode​(String checkCode)
      • getCountryCode

        public String getCountryCode()
        The two-letter country code in which the bank account is registered. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(String countryCode)
      • getCurrencyCode

        public String getCurrencyCode()
        The currency in which the bank account deals. >The permitted currency codes are defined in ISO-4217 (e.g. 'EUR').
        Returns:
        currencyCode
      • setCurrencyCode

        public void setCurrencyCode​(String currencyCode)
      • getIban

        public String getIban()
        The international bank account number. >The IBAN standard is defined in ISO-13616. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        iban
      • setIban

        public void setIban​(String iban)
      • getOwnerCity

        public String getOwnerCity()
        The city of residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        ownerCity
      • setOwnerCity

        public void setOwnerCity​(String ownerCity)
      • getOwnerCountryCode

        public String getOwnerCountryCode()
        The country code of the country of residence of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        ownerCountryCode
      • setOwnerCountryCode

        public void setOwnerCountryCode​(String ownerCountryCode)
      • getOwnerDateOfBirth

        @Deprecated
        public String getOwnerDateOfBirth()
        Deprecated.
        The date of birth of the bank account owner. The date should be in ISO-8601 format yyyy-mm-dd (e.g. 2000-01-31).
        Returns:
        ownerDateOfBirth
      • setOwnerDateOfBirth

        @Deprecated
        public void setOwnerDateOfBirth​(String ownerDateOfBirth)
        Deprecated.
      • getOwnerHouseNumberOrName

        public String getOwnerHouseNumberOrName()
        The house name or number of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        ownerHouseNumberOrName
      • setOwnerHouseNumberOrName

        public void setOwnerHouseNumberOrName​(String ownerHouseNumberOrName)
      • getOwnerName

        public String getOwnerName()
        The name of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        ownerName
      • setOwnerName

        public void setOwnerName​(String ownerName)
      • getOwnerNationality

        public String getOwnerNationality()
        The country code of the country of nationality of the bank account owner. >The permitted country codes are defined in ISO-3166-1 alpha-2 (e.g. 'NL'). >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        ownerNationality
      • setOwnerNationality

        public void setOwnerNationality​(String ownerNationality)
      • getOwnerPostalCode

        public String getOwnerPostalCode()
        The postal code of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        ownerPostalCode
      • setOwnerPostalCode

        public void setOwnerPostalCode​(String ownerPostalCode)
      • getOwnerState

        public String getOwnerState()
        The state of residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        ownerState
      • setOwnerState

        public void setOwnerState​(String ownerState)
      • getOwnerStreet

        public String getOwnerStreet()
        The street name of the residence of the bank account owner. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        ownerStreet
      • setOwnerStreet

        public void setOwnerStreet​(String ownerStreet)
      • getPrimaryAccount

        public Boolean getPrimaryAccount()
        If set to true, the bank account is a primary account.
        Returns:
        primaryAccount
      • setPrimaryAccount

        public void setPrimaryAccount​(Boolean primaryAccount)
      • getTaxId

        public String getTaxId()
        The tax ID number. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        taxId
      • setTaxId

        public void setTaxId​(String taxId)
      • getUrlForVerification

        public String getUrlForVerification()
        The URL to be used for bank account verification. This may be generated on bank account creation. >Refer to [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information) for details on field requirements.
        Returns:
        urlForVerification
      • setUrlForVerification

        public void setUrlForVerification​(String urlForVerification)
      • equals

        public boolean equals​(Object o)
        Return true if this BankAccountDetail object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static BankAccountDetail fromJson​(String jsonString)
                                          throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of BankAccountDetail given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of BankAccountDetail
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to BankAccountDetail
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of BankAccountDetail to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException