Class NumberAndBicAccountIdentification

    • Constructor Detail

      • NumberAndBicAccountIdentification

        public NumberAndBicAccountIdentification()
    • Method Detail

      • accountNumber

        public NumberAndBicAccountIdentification accountNumber​(String accountNumber)
        The bank account number, without separators or whitespace. The length and format depends on the bank or country.
        Parameters:
        accountNumber - The bank account number, without separators or whitespace. The length and format depends on the bank or country.
        Returns:
        the current NumberAndBicAccountIdentification instance, allowing for method chaining
      • getAccountNumber

        public String getAccountNumber()
        The bank account number, without separators or whitespace. The length and format depends on the bank or country.
        Returns:
        accountNumber The bank account number, without separators or whitespace. The length and format depends on the bank or country.
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
        The bank account number, without separators or whitespace. The length and format depends on the bank or country.
        Parameters:
        accountNumber - The bank account number, without separators or whitespace. The length and format depends on the bank or country.
      • additionalBankIdentification

        public NumberAndBicAccountIdentification additionalBankIdentification​(AdditionalBankIdentification additionalBankIdentification)
        additionalBankIdentification
        Parameters:
        additionalBankIdentification -
        Returns:
        the current NumberAndBicAccountIdentification instance, allowing for method chaining
      • getAdditionalBankIdentification

        public AdditionalBankIdentification getAdditionalBankIdentification()
        Get additionalBankIdentification
        Returns:
        additionalBankIdentification
      • setAdditionalBankIdentification

        public void setAdditionalBankIdentification​(AdditionalBankIdentification additionalBankIdentification)
        additionalBankIdentification
        Parameters:
        additionalBankIdentification -
      • bic

        public NumberAndBicAccountIdentification bic​(String bic)
        The bank's 8- or 11-character BIC or SWIFT code.
        Parameters:
        bic - The bank's 8- or 11-character BIC or SWIFT code.
        Returns:
        the current NumberAndBicAccountIdentification instance, allowing for method chaining
      • getBic

        public String getBic()
        The bank's 8- or 11-character BIC or SWIFT code.
        Returns:
        bic The bank's 8- or 11-character BIC or SWIFT code.
      • setBic

        public void setBic​(String bic)
        The bank's 8- or 11-character BIC or SWIFT code.
        Parameters:
        bic - The bank's 8- or 11-character BIC or SWIFT code.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
        Overrides:
        setIncludeNullValues in class BankAccountIdentification
      • fromJson

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

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of NumberAndBicAccountIdentification to an JSON string
        Overrides:
        toJson in class BankAccountIdentification
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException