public override int GetHashCode()
        {
            int hashCode = 532800568;

            if (Uid != null)
            {
                hashCode += Uid.GetHashCode();
            }

            if (DiscountUid != null)
            {
                hashCode += DiscountUid.GetHashCode();
            }

            if (DiscountCatalogObjectId != null)
            {
                hashCode += DiscountCatalogObjectId.GetHashCode();
            }

            return(hashCode);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hashCode = -855225717;

            if (Uid != null)
            {
                hashCode += Uid.GetHashCode();
            }

            if (DiscountUid != null)
            {
                hashCode += DiscountUid.GetHashCode();
            }

            if (AppliedMoney != null)
            {
                hashCode += AppliedMoney.GetHashCode();
            }

            return(hashCode);
        }