Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= chargeCredits_.GetHashCode();
            hash ^= cardSales_.GetHashCode();
            hash ^= payments_.GetHashCode();
            hash ^= refunds_.GetHashCode();
            if (grossPayments_ != null)
            {
                hash ^= GrossPayments.GetHashCode();
            }
            if (grossRefunds_ != null)
            {
                hash ^= GrossRefunds.GetHashCode();
            }
            if (availablePaymentAuthorizationBalance_ != null)
            {
                hash ^= AvailablePaymentAuthorizationBalance.GetHashCode();
            }
            if (availableGuaranteeAuthorizationBalance_ != null)
            {
                hash ^= AvailableGuaranteeAuthorizationBalance.GetHashCode();
            }
            if (masterFolio_ != null)
            {
                hash ^= MasterFolio.GetHashCode();
            }
            hash ^= clientFolios_.GetHashCode();
            if (MasterAccruesLodging != false)
            {
                hash ^= MasterAccruesLodging.GetHashCode();
            }
            if (MasterAccruesIncidentals != false)
            {
                hash ^= MasterAccruesIncidentals.GetHashCode();
            }
            return(hash);
        }