public override int GetHashCode() { int hash = 1; if (JWToken.Length != 0) { hash ^= JWToken.GetHashCode(); } if (opsdate_ != null) { hash ^= Opsdate.GetHashCode(); } if (pretaxLodgingCharge_ != null) { hash ^= PretaxLodgingCharge.GetHashCode(); } if (roomTypeId_ != null) { hash ^= RoomTypeId.GetHashCode(); } if (guestId_ != null) { hash ^= GuestId.GetHashCode(); } if (reservationId_ != null) { hash ^= ReservationId.GetHashCode(); } return(hash); }
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 override int GetHashCode() { int hash = 1; if (opsdate_ != null) { hash ^= Opsdate.GetHashCode(); } if (lodgingPrice_ != null) { hash ^= LodgingPrice.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (opsdate_ != null) { hash ^= Opsdate.GetHashCode(); } if (pretaxLodgingCharge_ != null) { hash ^= PretaxLodgingCharge.GetHashCode(); } hash ^= taxEstimates_.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (opsdate_ != null) { hash ^= Opsdate.GetHashCode(); } if (pretaxIncidentalPrice_ != null) { hash ^= PretaxIncidentalPrice.GetHashCode(); } hash ^= taxEstimates_.GetHashCode(); if (incidentalItem_ != null) { hash ^= IncidentalItem.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (propertyId_ != null) { hash ^= PropertyId.GetHashCode(); } if (opsdate_ != null) { hash ^= Opsdate.GetHashCode(); } if (ClosedToArrival != false) { hash ^= ClosedToArrival.GetHashCode(); } if (MinimumStayNights != 0) { hash ^= MinimumStayNights.GetHashCode(); } return(hash); }
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_); }