Class BankAccountDetails


  • public class BankAccountDetails
    extends Object
    BankAccountDetails
    • Constructor Detail

      • BankAccountDetails

        public BankAccountDetails()
    • Method Detail

      • accountNumber

        public BankAccountDetails accountNumber​(String accountNumber)
        The bank account number, without separators or whitespace.
        Parameters:
        accountNumber - The bank account number, without separators or whitespace.
        Returns:
        the current BankAccountDetails instance, allowing for method chaining
      • getAccountNumber

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

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

        public BankAccountDetails accountType​(String accountType)
        The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Parameters:
        accountType - The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Returns:
        the current BankAccountDetails instance, allowing for method chaining
      • getAccountType

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

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

        public BankAccountDetails branchNumber​(String branchNumber)
        The bank account branch number, without separators or whitespace
        Parameters:
        branchNumber - The bank account branch number, without separators or whitespace
        Returns:
        the current BankAccountDetails instance, allowing for method chaining
      • getBranchNumber

        public String getBranchNumber()
        The bank account branch number, without separators or whitespace
        Returns:
        branchNumber The bank account branch number, without separators or whitespace
      • setBranchNumber

        public void setBranchNumber​(String branchNumber)
        The bank account branch number, without separators or whitespace
        Parameters:
        branchNumber - The bank account branch number, without separators or whitespace
      • formFactor

        public BankAccountDetails formFactor​(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 - 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:
        the current BankAccountDetails instance, allowing for method chaining
      • 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 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.
      • 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 - 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.
      • iban

        public BankAccountDetails iban​(String iban)
        The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
        Parameters:
        iban - The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
        Returns:
        the current BankAccountDetails instance, allowing for method chaining
      • 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 The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
      • 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 - The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
      • routingNumber

        public BankAccountDetails routingNumber​(String routingNumber)
        The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        Parameters:
        routingNumber - The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.
        Returns:
        the current BankAccountDetails instance, allowing for method chaining
      • getRoutingNumber

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

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

        public BankAccountDetails sortCode​(String sortCode)
        The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.
        Parameters:
        sortCode - The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.
        Returns:
        the current BankAccountDetails instance, allowing for method chaining
      • getSortCode

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

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

        public BankAccountDetails type​(String type)
        **iban** or **usLocal** or **ukLocal**
        Parameters:
        type - **iban** or **usLocal** or **ukLocal**
        Returns:
        the current BankAccountDetails instance, allowing for method chaining
      • getType

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

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

        public BankAccountDetails includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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