Class CustomerRef

    • Constructor Detail

      • CustomerRef

        public CustomerRef()
    • Method Detail

      • getCustomerId

        public String getCustomerId()
        The customer's id.
        Returns:
        The customer's id.
      • getUsername

        public String getUsername()
        The customer's username.
        Returns:
        The customer's username.
      • getFullName

        public String getFullName()
        The customer's full name, if available.
        Returns:
        The customer's full name, if available.
      • isRegistered

        public boolean isRegistered()
        Defines whether or not the customer is registered. If false, then the customer is considered anonymous.
        Returns:
        Whether or not the customer is registered.
      • getAccountId

        public String getAccountId()
        The ID of the account the customer belongs to.
        Returns:
        the ID of the account of the customer
      • setCustomerId

        public void setCustomerId​(String customerId)
        The customer's id.
        Parameters:
        customerId - The customer's id.
      • setUsername

        public void setUsername​(String username)
        The customer's username.
        Parameters:
        username - The customer's username.
      • setFullName

        public void setFullName​(String fullName)
        The customer's full name, if available.
        Parameters:
        fullName - The customer's full name.
      • setRegistered

        public void setRegistered​(boolean isRegistered)
        Defines whether or not the customer is registered. If false, then the customer is considered anonymous.
        Parameters:
        isRegistered - Whether or not the customer is registered.
      • setAccountId

        public void setAccountId​(String accountId)
        The ID of the account the customer belongs to.
        Parameters:
        accountId - the ID of the account of the customer
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object