コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (ProviderName.Length != 0)
            {
                hash ^= ProviderName.GetHashCode();
            }
            if (ProviderCode.Length != 0)
            {
                hash ^= ProviderCode.GetHashCode();
            }
            if (DisableGuestCorrespondence != false)
            {
                hash ^= DisableGuestCorrespondence.GetHashCode();
            }
            if (DisableCorrespondenceRateTable != false)
            {
                hash ^= DisableCorrespondenceRateTable.GetHashCode();
            }
            if (cancellationPolicy_ != null)
            {
                hash ^= CancellationPolicy.GetHashCode();
            }
            if (VirtualCardIdentifier.Length != 0)
            {
                hash ^= VirtualCardIdentifier.GetHashCode();
            }
            hash ^= requestRoomType_.GetHashCode();
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (BookingId.Length != 0)
            {
                hash ^= BookingId.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (guest_ != null)
            {
                hash ^= Guest.GetHashCode();
            }
            if (dateRange_ != null)
            {
                hash ^= DateRange.GetHashCode();
            }
            if (NumberAdults != 0)
            {
                hash ^= NumberAdults.GetHashCode();
            }
            if (NumberChildren != 0)
            {
                hash ^= NumberChildren.GetHashCode();
            }
            if (roomType_ != null)
            {
                hash ^= RoomType.GetHashCode();
            }
            hash ^= additionalGuests_.GetHashCode();
            if (TaxExempt != false)
            {
                hash ^= TaxExempt.GetHashCode();
            }
            if (cancellationPenaltyApplied_ != null)
            {
                hash ^= CancellationPenaltyApplied.GetHashCode();
            }
            if (CancellationReason.Length != 0)
            {
                hash ^= CancellationReason.GetHashCode();
            }
            if (cancellationPolicy_ != null)
            {
                hash ^= CancellationPolicy.GetHashCode();
            }
            if (RequestingParty.Length != 0)
            {
                hash ^= RequestingParty.GetHashCode();
            }
            if (cancellationDate_ != null)
            {
                hash ^= CancellationDate.GetHashCode();
            }
            if (CancellationNumber != 0L)
            {
                hash ^= CancellationNumber.GetHashCode();
            }
            hash ^= activeTags_.GetHashCode();
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (TaxExempt != false)
            {
                hash ^= TaxExempt.GetHashCode();
            }
            if (TaxId.Length != 0)
            {
                hash ^= TaxId.GetHashCode();
            }
            if (GroupPaysLodging != false)
            {
                hash ^= GroupPaysLodging.GetHashCode();
            }
            if (GroupPaysIncidentals != false)
            {
                hash ^= GroupPaysIncidentals.GetHashCode();
            }
            if (AdditionalNotes.Length != 0)
            {
                hash ^= AdditionalNotes.GetHashCode();
            }
            if (CustomerBookingId.Length != 0)
            {
                hash ^= CustomerBookingId.GetHashCode();
            }
            if (dateRange_ != null)
            {
                hash ^= DateRange.GetHashCode();
            }
            if (rateSchedule_ != null)
            {
                hash ^= RateSchedule.GetHashCode();
            }
            if (group_ != null)
            {
                hash ^= Group.GetHashCode();
            }
            if (confirmationTemplateId_ != null)
            {
                hash ^= ConfirmationTemplateId.GetHashCode();
            }
            if (bookingMethod_ != null)
            {
                hash ^= BookingMethod.GetHashCode();
            }
            if (arrivalTemplateId_ != null)
            {
                hash ^= ArrivalTemplateId.GetHashCode();
            }
            if (reservationSourceId_ != null)
            {
                hash ^= ReservationSourceId.GetHashCode();
            }
            if (travelAgent_ != null)
            {
                hash ^= TravelAgent.GetHashCode();
            }
            if (cancellationPolicy_ != null)
            {
                hash ^= CancellationPolicy.GetHashCode();
            }
            if (GroupName.Length != 0)
            {
                hash ^= GroupName.GetHashCode();
            }
            return(hash);
        }
コード例 #4
0
        public override int GetHashCode()
        {
            int hashCode = 114929036;

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }
コード例 #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (BookingId.Length != 0)
            {
                hash ^= BookingId.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (guest_ != null)
            {
                hash ^= Guest.GetHashCode();
            }
            if (dateRange_ != null)
            {
                hash ^= DateRange.GetHashCode();
            }
            if (roomType_ != null)
            {
                hash ^= RoomType.GetHashCode();
            }
            if (GuaranteeStatus != 0)
            {
                hash ^= GuaranteeStatus.GetHashCode();
            }
            if (tenancy_ != null)
            {
                hash ^= Tenancy.GetHashCode();
            }
            if (property_ != null)
            {
                hash ^= Property.GetHashCode();
            }
            if (Channel != 0)
            {
                hash ^= Channel.GetHashCode();
            }
            if (VehiclePlateInformation.Length != 0)
            {
                hash ^= VehiclePlateInformation.GetHashCode();
            }
            if (CurrentOccupiedRoomNumber.Length != 0)
            {
                hash ^= CurrentOccupiedRoomNumber.GetHashCode();
            }
            if (currentOccupiedRoom_ != null)
            {
                hash ^= CurrentOccupiedRoom.GetHashCode();
            }
            if (TerminalOccupiedRoomNumber.Length != 0)
            {
                hash ^= TerminalOccupiedRoomNumber.GetHashCode();
            }
            if (terminalOccupiedRoom_ != null)
            {
                hash ^= TerminalOccupiedRoom.GetHashCode();
            }
            if (NumberAdults != 0)
            {
                hash ^= NumberAdults.GetHashCode();
            }
            if (NumberChildren != 0)
            {
                hash ^= NumberChildren.GetHashCode();
            }
            hash ^= activeTags_.GetHashCode();
            if (cancellationPolicy_ != null)
            {
                hash ^= CancellationPolicy.GetHashCode();
            }
            if (hkTimePreference_ != null)
            {
                hash ^= HkTimePreference.GetHashCode();
            }
            if (createdAt_ != null)
            {
                hash ^= CreatedAt.GetHashCode();
            }
            if (OutstandingIssuedRoomKeys != 0)
            {
                hash ^= OutstandingIssuedRoomKeys.GetHashCode();
            }
            if (OptaRoomStayIndex != 0)
            {
                hash ^= OptaRoomStayIndex.GetHashCode();
            }
            if (ReservationIdFromChannel.Length != 0)
            {
                hash ^= ReservationIdFromChannel.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (entityId_ != null)
            {
                hash ^= EntityId.GetHashCode();
            }
            if (BookingId.Length != 0)
            {
                hash ^= BookingId.GetHashCode();
            }
            if (State != 0)
            {
                hash ^= State.GetHashCode();
            }
            if (guest_ != null)
            {
                hash ^= Guest.GetHashCode();
            }
            if (dateRange_ != null)
            {
                hash ^= DateRange.GetHashCode();
            }
            if (NumberAdults != 0)
            {
                hash ^= NumberAdults.GetHashCode();
            }
            if (NumberChildren != 0)
            {
                hash ^= NumberChildren.GetHashCode();
            }
            if (roomType_ != null)
            {
                hash ^= RoomType.GetHashCode();
            }
            hash ^= additionalGuests_.GetHashCode();
            if (TaxExempt != false)
            {
                hash ^= TaxExempt.GetHashCode();
            }
            if (hkTimePreference_ != null)
            {
                hash ^= HkTimePreference.GetHashCode();
            }
            if (VehiclePlateInformation.Length != 0)
            {
                hash ^= VehiclePlateInformation.GetHashCode();
            }
            if (CurrentOccupiedRoomNumber.Length != 0)
            {
                hash ^= CurrentOccupiedRoomNumber.GetHashCode();
            }
            if (currentOccupiedRoom_ != null)
            {
                hash ^= CurrentOccupiedRoom.GetHashCode();
            }
            if (TerminalOccupiedRoomNumber.Length != 0)
            {
                hash ^= TerminalOccupiedRoomNumber.GetHashCode();
            }
            if (terminalOccupiedRoom_ != null)
            {
                hash ^= TerminalOccupiedRoom.GetHashCode();
            }
            if (FirstNightAssignedRoom.Length != 0)
            {
                hash ^= FirstNightAssignedRoom.GetHashCode();
            }
            hash ^= activeTags_.GetHashCode();
            if (ChannelManagerId.Length != 0)
            {
                hash ^= ChannelManagerId.GetHashCode();
            }
            if (SourceChannelId.Length != 0)
            {
                hash ^= SourceChannelId.GetHashCode();
            }
            if (cancellationPolicy_ != null)
            {
                hash ^= CancellationPolicy.GetHashCode();
            }
            if (ReservationIdFromChannel.Length != 0)
            {
                hash ^= ReservationIdFromChannel.GetHashCode();
            }
            if (RushReservationIdFromChannel.Length != 0)
            {
                hash ^= RushReservationIdFromChannel.GetHashCode();
            }
            if (SourceIndirectChannel.Length != 0)
            {
                hash ^= SourceIndirectChannel.GetHashCode();
            }
            if (reservationSource_ != null)
            {
                hash ^= ReservationSource.GetHashCode();
            }
            return(hash);
        }
コード例 #7
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);
        }