Class CALocalAccountIdentification


  • public class CALocalAccountIdentification
    extends Object
    CALocalAccountIdentification
    • Constructor Detail

      • CALocalAccountIdentification

        public CALocalAccountIdentification()
    • Method Detail

      • getAccountNumber

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

        public void setAccountNumber​(String accountNumber)
      • getInstitutionNumber

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

        public void setInstitutionNumber​(String institutionNumber)
      • getTransitNumber

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

        public void setTransitNumber​(String transitNumber)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to CALocalAccountIdentification
      • fromJson

        public static CALocalAccountIdentification fromJson​(String jsonString)
                                                     throws IOException
        Create an instance of CALocalAccountIdentification given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CALocalAccountIdentification
        Throws:
        IOException - if the JSON string is invalid with respect to CALocalAccountIdentification
      • toJson

        public String toJson()
        Convert an instance of CALocalAccountIdentification to an JSON string
        Returns:
        JSON string