public void MergeFrom(ReservationLedger other)
 {
     if (other == null)
     {
         return;
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     transactions_.Add(other.transactions_);
     if (other.stayAccount_ != null)
     {
         if (stayAccount_ == null)
         {
             stayAccount_ = new global::HOLMS.Types.Money.Accounting.AccountIndicator();
         }
         StayAccount.MergeFrom(other.StayAccount);
     }
     allGuests_.Add(other.allGuests_);
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (reservation_ != null)
            {
                hash ^= Reservation.GetHashCode();
            }
            hash ^= transactions_.GetHashCode();
            if (stayAccount_ != null)
            {
                hash ^= StayAccount.GetHashCode();
            }
            hash ^= allGuests_.GetHashCode();
            return(hash);
        }