Class DKLocalAccountIdentification

    • Constructor Detail

      • DKLocalAccountIdentification

        public DKLocalAccountIdentification()
    • Method Detail

      • accountNumber

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

        public String getAccountNumber()
        The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).
        Returns:
        accountNumber The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
        The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).
        Parameters:
        accountNumber - The 4-10 digits bank account number (Kontonummer) (without separators or whitespace).
      • bankCode

        public DKLocalAccountIdentification bankCode​(String bankCode)
        The 4-digit bank code (Registreringsnummer) (without separators or whitespace).
        Parameters:
        bankCode - The 4-digit bank code (Registreringsnummer) (without separators or whitespace).
        Returns:
        the current DKLocalAccountIdentification instance, allowing for method chaining
      • getBankCode

        public String getBankCode()
        The 4-digit bank code (Registreringsnummer) (without separators or whitespace).
        Returns:
        bankCode The 4-digit bank code (Registreringsnummer) (without separators or whitespace).
      • setBankCode

        public void setBankCode​(String bankCode)
        The 4-digit bank code (Registreringsnummer) (without separators or whitespace).
        Parameters:
        bankCode - The 4-digit bank code (Registreringsnummer) (without separators or whitespace).
      • 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 DKLocalAccountIdentification fromJson​(String jsonString)
                                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of DKLocalAccountIdentification given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DKLocalAccountIdentification
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to DKLocalAccountIdentification
      • toJson

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