Class CALocalAccountIdentification

    • Constructor Detail

      • CALocalAccountIdentification

        public CALocalAccountIdentification()
    • Method Detail

      • accountNumber

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

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

        public void setAccountNumber​(String accountNumber)
        The 5- to 12-digit bank account number, without separators or whitespace.
        Parameters:
        accountNumber - The 5- to 12-digit bank account number, without separators or whitespace.
      • setAccountType

        public void setAccountType​(CALocalBankAccountType accountType)
        accountType
        Parameters:
        accountType -
      • institutionNumber

        public CALocalAccountIdentification institutionNumber​(String institutionNumber)
        The 3-digit institution number, without separators or whitespace.
        Parameters:
        institutionNumber - The 3-digit institution number, without separators or whitespace.
        Returns:
        the current CALocalAccountIdentification instance, allowing for method chaining
      • getInstitutionNumber

        public String getInstitutionNumber()
        The 3-digit institution number, without separators or whitespace.
        Returns:
        institutionNumber The 3-digit institution number, without separators or whitespace.
      • setInstitutionNumber

        public void setInstitutionNumber​(String institutionNumber)
        The 3-digit institution number, without separators or whitespace.
        Parameters:
        institutionNumber - The 3-digit institution number, without separators or whitespace.
      • transitNumber

        public CALocalAccountIdentification transitNumber​(String transitNumber)
        The 5-digit transit number, without separators or whitespace.
        Parameters:
        transitNumber - The 5-digit transit number, without separators or whitespace.
        Returns:
        the current CALocalAccountIdentification instance, allowing for method chaining
      • getTransitNumber

        public String getTransitNumber()
        The 5-digit transit number, without separators or whitespace.
        Returns:
        transitNumber The 5-digit transit number, without separators or whitespace.
      • setTransitNumber

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

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