public override int GetHashCode()
        {
            int hash = 1;

            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (ChargeCreditType != 0)
            {
                hash ^= ChargeCreditType.GetHashCode();
            }
            if (untaxedAmount_ != null)
            {
                hash ^= UntaxedAmount.GetHashCode();
            }
            if (TaxExempt != false)
            {
                hash ^= TaxExempt.GetHashCode();
            }
            if (incidentalItem_ != null)
            {
                hash ^= IncidentalItem.GetHashCode();
            }
            if (chargeOpsdate_ != null)
            {
                hash ^= ChargeOpsdate.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (amount_ != null)
            {
                hash ^= Amount.GetHashCode();
            }
            if (Narration.Length != 0)
            {
                hash ^= Narration.GetHashCode();
            }
            if (ChargeCreditType != 0)
            {
                hash ^= ChargeCreditType.GetHashCode();
            }
            if (effectiveForOpsdate_ != null)
            {
                hash ^= EffectiveForOpsdate.GetHashCode();
            }
            if (effectiveAtClock_ != null)
            {
                hash ^= EffectiveAtClock.GetHashCode();
            }
            if (incidentalItem_ != null)
            {
                hash ^= IncidentalItem.GetHashCode();
            }
            if (incurredBy_ != null)
            {
                hash ^= IncurredBy.GetHashCode();
            }
            if (IssuanceSchedule != 0)
            {
                hash ^= IssuanceSchedule.GetHashCode();
            }
            if (enteredBy_ != null)
            {
                hash ^= EnteredBy.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (taxes_ != null)
            {
                hash ^= Taxes.GetHashCode();
            }
            if (fees_ != null)
            {
                hash ^= Fees.GetHashCode();
            }
            hash ^= currentTaxAssessments_.GetHashCode();
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (incidentalPrice_ != null)
            {
                hash ^= IncidentalPrice.GetHashCode();
            }
            if (incidentalItem_ != null)
            {
                hash ^= IncidentalItem.GetHashCode();
            }
            if (opsdate_ != null)
            {
                hash ^= Opsdate.GetHashCode();
            }
            return(hash);
        }