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

            if (cardMerchant_ != null)
            {
                hash ^= CardMerchant.GetHashCode();
            }
            if (dateRange_ != null)
            {
                hash ^= DateRange.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (cardMerchant_ != null)
            {
                hash ^= CardMerchant.GetHashCode();
            }
            if (CardNumber.Length != 0)
            {
                hash ^= CardNumber.GetHashCode();
            }
            if (searchRange_ != null)
            {
                hash ^= SearchRange.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (checkinTimeOfDay_ != null)
            {
                hash ^= CheckinTimeOfDay.GetHashCode();
            }
            if (checkOutTimeOfDay_ != null)
            {
                hash ^= CheckOutTimeOfDay.GetHashCode();
            }
            if (rolloverTimeOfDay_ != null)
            {
                hash ^= RolloverTimeOfDay.GetHashCode();
            }
            if (AllowedEarlyCheckinHours != 0)
            {
                hash ^= AllowedEarlyCheckinHours.GetHashCode();
            }
            if (IifDocnumPrefix.Length != 0)
            {
                hash ^= IifDocnumPrefix.GetHashCode();
            }
            if (IifCustomerName.Length != 0)
            {
                hash ^= IifCustomerName.GetHashCode();
            }
            if (checkinDeposit_ != null)
            {
                hash ^= CheckinDeposit.GetHashCode();
            }
            if (lastRevenueAccrualStart_ != null)
            {
                hash ^= LastRevenueAccrualStart.GetHashCode();
            }
            if (lastDateHkRolloverRan_ != null)
            {
                hash ^= LastDateHkRolloverRan.GetHashCode();
            }
            if (Address1.Length != 0)
            {
                hash ^= Address1.GetHashCode();
            }
            if (Address2.Length != 0)
            {
                hash ^= Address2.GetHashCode();
            }
            if (City.Length != 0)
            {
                hash ^= City.GetHashCode();
            }
            if (State.Length != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (Zip.Length != 0)
            {
                hash ^= Zip.GetHashCode();
            }
            if (PhoneNumber.Length != 0)
            {
                hash ^= PhoneNumber.GetHashCode();
            }
            if (cardMerchant_ != null)
            {
                hash ^= CardMerchant.GetHashCode();
            }
            if (cancellationPolicy_ != null)
            {
                hash ^= CancellationPolicy.GetHashCode();
            }
            if (maximumAuthorizationAmount_ != null)
            {
                hash ^= MaximumAuthorizationAmount.GetHashCode();
            }
            if (DefaultStayLength != 0)
            {
                hash ^= DefaultStayLength.GetHashCode();
            }
            if (Website.Length != 0)
            {
                hash ^= Website.GetHashCode();
            }
            if (ReservationEmail.Length != 0)
            {
                hash ^= ReservationEmail.GetHashCode();
            }
            if (FaxNumber.Length != 0)
            {
                hash ^= FaxNumber.GetHashCode();
            }
            if (BookingPrefix.Length != 0)
            {
                hash ^= BookingPrefix.GetHashCode();
            }
            if (VoidAuthorizationsAfterDays != 0)
            {
                hash ^= VoidAuthorizationsAfterDays.GetHashCode();
            }
            if (NoShowDelayHours != 0)
            {
                hash ^= NoShowDelayHours.GetHashCode();
            }
            return(hash);
        }