Class BankAccountDetails


  • public class BankAccountDetails
    extends Object
    BankAccountDetails
    • Constructor Detail

      • BankAccountDetails

        public BankAccountDetails()
    • Method Detail

      • getAccountNumber

        public String getAccountNumber()
        The bank account number, without separators or whitespace.
        Returns:
        accountNumber
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
        The bank account number, without separators or whitespace.
        Parameters:
        accountNumber -
      • getAccountType

        public String getAccountType()
        The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Returns:
        accountType
      • setAccountType

        public void setAccountType​(String accountType)
        The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Parameters:
        accountType -
      • getFormFactor

        public String getFormFactor()
        Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.
        Returns:
        formFactor
      • setFormFactor

        public void setFormFactor​(String formFactor)
        Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.
        Parameters:
        formFactor -
      • getIban

        public String getIban()
        The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
        Returns:
        iban
      • setIban

        public void setIban​(String iban)
        The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
        Parameters:
        iban -
      • getRoutingNumber

        public String getRoutingNumber()
        The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        Returns:
        routingNumber
      • setRoutingNumber

        public void setRoutingNumber​(String routingNumber)
        The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        Parameters:
        routingNumber -
      • getSortCode

        public String getSortCode()
        The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.
        Returns:
        sortCode
      • setSortCode

        public void setSortCode​(String sortCode)
        The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.
        Parameters:
        sortCode -
      • getType

        public String getType()
        **iban** or **usLocal** or **ukLocal**
        Returns:
        type
      • setType

        public void setType​(String type)
        **iban** or **usLocal** or **ukLocal**
        Parameters:
        type -
      • equals

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

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

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

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