Beispiel #1
0
 public void MergeFrom(ReservationBookedNotification other)
 {
     if (other == null)
     {
         return;
     }
     if (other.JWToken.Length != 0)
     {
         JWToken = other.JWToken;
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     if (other.priceQuote_ != null)
     {
         if (priceQuote_ == null)
         {
             priceQuote_ = new global::HOLMS.Types.Booking.Pricing.PretaxReservationQuote();
         }
         PriceQuote.MergeFrom(other.PriceQuote);
     }
     if (other.reservationSummary_ != null)
     {
         if (reservationSummary_ == null)
         {
             reservationSummary_ = new global::HOLMS.Types.Booking.Reservations.ReservationSummary();
         }
         ReservationSummary.MergeFrom(other.ReservationSummary);
     }
     if (other.HasLastMinuteWaiver != false)
     {
         HasLastMinuteWaiver = other.HasLastMinuteWaiver;
     }
 }
 public void MergeFrom(ReservationFRPAmendmentNotification other)
 {
     if (other == null)
     {
         return;
     }
     if (other.JWToken.Length != 0)
     {
         JWToken = other.JWToken;
     }
     if (other.reservation_ != null)
     {
         if (reservation_ == null)
         {
             reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         Reservation.MergeFrom(other.Reservation);
     }
     if (other.ReservationHadGuaranteeTender != false)
     {
         ReservationHadGuaranteeTender = other.ReservationHadGuaranteeTender;
     }
     if (other.reservationSummary_ != null)
     {
         if (reservationSummary_ == null)
         {
             reservationSummary_ = new global::HOLMS.Types.Booking.Reservations.ReservationSummary();
         }
         ReservationSummary.MergeFrom(other.ReservationSummary);
     }
     if (other.priceQuote_ != null)
     {
         if (priceQuote_ == null)
         {
             priceQuote_ = new global::HOLMS.Types.Booking.Pricing.PretaxReservationQuote();
         }
         PriceQuote.MergeFrom(other.PriceQuote);
     }
 }