Class HULocalAccountIdentification

    • Constructor Detail

      • HULocalAccountIdentification

        public HULocalAccountIdentification()
    • Method Detail

      • accountNumber

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

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

        public void setAccountNumber​(String accountNumber)
        The 24-digit bank account number, without separators or whitespace.
        Parameters:
        accountNumber - The 24-digit bank account number, 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 HULocalAccountIdentification fromJson​(String jsonString)
                                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of HULocalAccountIdentification given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of HULocalAccountIdentification
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to HULocalAccountIdentification
      • toJson

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