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

            hash ^= effectiveCharges_.GetHashCode();
            hash ^= cardRefunds_.GetHashCode();
            hash ^= cardSales_.GetHashCode();
            hash ^= checkCashPayments_.GetHashCode();
            hash ^= currentTaxAssessments_.GetHashCode();
            hash ^= anticipatedEndingTaxAssessment_.GetHashCode();
            hash ^= nativeCharges_.GetHashCode();
            hash ^= exportedToOtherFolioCharges_.GetHashCode();
            hash ^= importedFromOtherFolioCharges_.GetHashCode();
            if (currentCharges_ != null)
            {
                hash ^= CurrentCharges.GetHashCode();
            }
            if (anticipatedCharges_ != null)
            {
                hash ^= AnticipatedCharges.GetHashCode();
            }
            if (postedPayments_ != null)
            {
                hash ^= PostedPayments.GetHashCode();
            }
            if (postedRefunds_ != null)
            {
                hash ^= PostedRefunds.GetHashCode();
            }
            if (unusedPaymentAuthorizations_ != null)
            {
                hash ^= UnusedPaymentAuthorizations.GetHashCode();
            }
            if (currentDueFromGroup_ != null)
            {
                hash ^= CurrentDueFromGroup.GetHashCode();
            }
            if (anticipatedSettlementDueFromGroup_ != null)
            {
                hash ^= AnticipatedSettlementDueFromGroup.GetHashCode();
            }
            hash ^= clientFolios_.GetHashCode();
            hash ^= reservationTaxAssess_.GetHashCode();
            if (maxRefund_ != null)
            {
                hash ^= MaxRefund.GetHashCode();
            }
            return(hash);
        }