Domain.Client.ValueObjects.BillingResult.Equals C# (CSharp) Method

Equals() public method

public Equals ( BillingResult other ) : bool
other BillingResult
return bool
        public virtual bool Equals(BillingResult other)
        {
            if (null != other && other.GetType() == GetType())
            {
                return other.Paid == Paid
                       && other.Amount == Amount
                       && other.PaymentDate == PaymentDate;
            }

            return false;
        }

Same methods

BillingResult::Equals ( object obj ) : bool