Class EFTAccountIdentifier


  • public class EFTAccountIdentifier
    extends Object
    EFTAccountIdentifier
    • Constructor Detail

      • EFTAccountIdentifier

        public EFTAccountIdentifier()
    • Method Detail

      • accountNumber

        public EFTAccountIdentifier accountNumber​(String accountNumber)
        The account number of the bank account.
        Parameters:
        accountNumber - The account number of the bank account.
        Returns:
        the current EFTAccountIdentifier instance, allowing for method chaining
      • getAccountNumber

        public String getAccountNumber()
        The account number of the bank account.
        Returns:
        accountNumber The account number of the bank account.
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
        The account number of the bank account.
        Parameters:
        accountNumber - The account number of the bank account.
      • branch

        public EFTAccountIdentifier branch​(String branch)
        Identifies the specific branch where the account is held within the Canadian banking system.
        Parameters:
        branch - Identifies the specific branch where the account is held within the Canadian banking system.
        Returns:
        the current EFTAccountIdentifier instance, allowing for method chaining
      • getBranch

        public String getBranch()
        Identifies the specific branch where the account is held within the Canadian banking system.
        Returns:
        branch Identifies the specific branch where the account is held within the Canadian banking system.
      • setBranch

        public void setBranch​(String branch)
        Identifies the specific branch where the account is held within the Canadian banking system.
        Parameters:
        branch - Identifies the specific branch where the account is held within the Canadian banking system.
      • institution

        public EFTAccountIdentifier institution​(String institution)
        The financial institution that identifies the bank in Canada.
        Parameters:
        institution - The financial institution that identifies the bank in Canada.
        Returns:
        the current EFTAccountIdentifier instance, allowing for method chaining
      • getInstitution

        public String getInstitution()
        The financial institution that identifies the bank in Canada.
        Returns:
        institution The financial institution that identifies the bank in Canada.
      • setInstitution

        public void setInstitution​(String institution)
        The financial institution that identifies the bank in Canada.
        Parameters:
        institution - The financial institution that identifies the bank in Canada.
      • equals

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

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

        public static EFTAccountIdentifier fromJson​(String jsonString)
                                             throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of EFTAccountIdentifier given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of EFTAccountIdentifier
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to EFTAccountIdentifier
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of EFTAccountIdentifier to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException