Example #1
0
        public bool Equals(StampDutyFees other)
        {
            if (other == null)
            {
                return(false);
            }

            return(ForeignBuyersDuty == other.ForeignBuyersDuty &&
                   MortgageFee == other.MortgageFee &&
                   StampDutyFee == other.StampDutyFee &&
                   TotalFees == other.TotalFees &&
                   TransferFee == other.TransferFee);
        }
Example #2
0
        public override bool Equals(Object other)
        {
            if (other == null)
            {
                return(false);
            }

            StampDutyFees typedOther = other as StampDutyFees;

            if (typedOther == null)
            {
                return(false);
            }

            return(Equals(typedOther));
        }