public void MergeFrom(DateRestriction other) { if (other == null) { return; } if (other.propertyId_ != null) { if (propertyId_ == null) { propertyId_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } PropertyId.MergeFrom(other.PropertyId); } if (other.opsdate_ != null) { if (opsdate_ == null) { opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Opsdate.MergeFrom(other.Opsdate); } if (other.ClosedToArrival != false) { ClosedToArrival = other.ClosedToArrival; } if (other.MinimumStayNights != 0) { MinimumStayNights = other.MinimumStayNights; } }
public void MergeFrom(TaxedIncidentalReservationNightlyQuote other) { if (other == null) { return; } if (other.opsdate_ != null) { if (opsdate_ == null) { opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Opsdate.MergeFrom(other.Opsdate); } if (other.pretaxIncidentalPrice_ != null) { if (pretaxIncidentalPrice_ == null) { pretaxIncidentalPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } PretaxIncidentalPrice.MergeFrom(other.PretaxIncidentalPrice); } taxEstimates_.Add(other.taxEstimates_); if (other.incidentalItem_ != null) { if (incidentalItem_ == null) { incidentalItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator(); } IncidentalItem.MergeFrom(other.IncidentalItem); } }
public void MergeFrom(FolioChargePostedNotification other) { if (other == null) { return; } if (other.JWToken.Length != 0) { JWToken = other.JWToken; } if (other.opsdate_ != null) { if (opsdate_ == null) { opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Opsdate.MergeFrom(other.Opsdate); } if (other.pretaxLodgingCharge_ != null) { if (pretaxLodgingCharge_ == null) { pretaxLodgingCharge_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } PretaxLodgingCharge.MergeFrom(other.PretaxLodgingCharge); } if (other.roomTypeId_ != null) { if (roomTypeId_ == null) { roomTypeId_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator(); } RoomTypeId.MergeFrom(other.RoomTypeId); } if (other.guestId_ != null) { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } GuestId.MergeFrom(other.GuestId); } if (other.reservationId_ != null) { if (reservationId_ == null) { reservationId_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } ReservationId.MergeFrom(other.ReservationId); } }
public void MergeFrom(PretaxLodgingNightlyQuote other) { if (other == null) { return; } if (other.opsdate_ != null) { if (opsdate_ == null) { opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Opsdate.MergeFrom(other.Opsdate); } if (other.lodgingPrice_ != null) { if (lodgingPrice_ == null) { lodgingPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } LodgingPrice.MergeFrom(other.LodgingPrice); } }
public void MergeFrom(PriceNight other) { if (other == null) { return; } if (other.opsdate_ != null) { if (opsdate_ == null) { opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Opsdate.MergeFrom(other.Opsdate); } if (other.price_ != null) { if (price_ == null) { price_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } Price.MergeFrom(other.Price); } }
public void MergeFrom(TaxedReservationNightlyQuote other) { if (other == null) { return; } if (other.opsdate_ != null) { if (opsdate_ == null) { opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate(); } Opsdate.MergeFrom(other.Opsdate); } if (other.pretaxLodgingCharge_ != null) { if (pretaxLodgingCharge_ == null) { pretaxLodgingCharge_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } PretaxLodgingCharge.MergeFrom(other.PretaxLodgingCharge); } taxEstimates_.Add(other.taxEstimates_); }