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)
        The 5- to 12-digit bank account number, without separators or whitespace.
        Parameters:
        accountNumber -
      • setAccountType

        public void setAccountType​(CALocalAccountIdentification.AccountTypeEnum accountType)
        The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.
        Parameters:
        accountType -
      • getInstitutionNumber

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

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

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

        public void setTransitNumber​(String transitNumber)
        The 5-digit transit number, without separators or whitespace.
        Parameters:
        transitNumber -
      • equals

        public boolean equals​(Object o)
        Return true if this CALocalAccountIdentification object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException