@Override
    public boolean equals(Object other) {
        boolean equals = false;

        if (other == null) {
            return false;
        }
        if (other instanceof FixedRateMortgage) {
            if (this.loanAmount == ((FixedRateMortgage)other).loanAmount &&
                this.interestRate.equals(((FixedRateMortgage)other).interestRate)  &&
                this.loanDuration.equals(((FixedRateMortgage)other).loanDuration) )    {
                equals = true;
            }
        }

        return equals;
    }