public override int GetHashCode() { int hash = 1; if (dateRange_ != null) { hash ^= DateRange.GetHashCode(); } if (reservation_ != null) { hash ^= Reservation.GetHashCode(); } if (roomType_ != null) { hash ^= RoomType.GetHashCode(); } if (TaxExempt != false) { hash ^= TaxExempt.GetHashCode(); } if (AdultGuestCount != 0) { hash ^= AdultGuestCount.GetHashCode(); } hash ^= reservationTags_.GetHashCode(); if (IsMockPriceRequiredForGroup != false) { hash ^= IsMockPriceRequiredForGroup.GetHashCode(); } return(hash); }
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 (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); }
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); }
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 (GuaranteeStatus != 0) { hash ^= GuaranteeStatus.GetHashCode(); } if (unpaidGuaranteeBalance_ != null) { hash ^= UnpaidGuaranteeBalance.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(); } hash ^= activeTags_.GetHashCode(); if (ChannelManagerId.Length != 0) { hash ^= ChannelManagerId.GetHashCode(); } if (SourceChannelId.Length != 0) { hash ^= SourceChannelId.GetHashCode(); } if (cancellationPolicy_ != null) { hash ^= CancellationPolicy.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); }