public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (room_ == null)
                    {
                        room_ = new global::HOLMS.Types.Operations.Rooms.Room();
                    }
                    input.ReadMessage(room_);
                    break;
                }

                case 18: {
                    if (date_ == null)
                    {
                        date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(date_);
                    break;
                }
                }
            }
        }
Ejemplo n.º 2
0
 public void MergeFrom(PriceUpdateRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.monetaryAmount_ != null)
     {
         if (monetaryAmount_ == null)
         {
             monetaryAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         MonetaryAmount.MergeFrom(other.MonetaryAmount);
     }
 }
Ejemplo n.º 3
0
 public void MergeFrom(HoldAdjustment other)
 {
     if (other == null)
     {
         return;
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.AdjustmentAmount != 0)
     {
         AdjustmentAmount = other.AdjustmentAmount;
     }
 }
Ejemplo n.º 4
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (roomType_ == null)
                    {
                        roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
                    }
                    input.ReadMessage(roomType_);
                    break;
                }

                case 18: {
                    if (date_ == null)
                    {
                        date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(date_);
                    break;
                }

                case 24: {
                    Available = input.ReadInt32();
                    break;
                }

                case 34: {
                    if (rateSchedule_ == null)
                    {
                        rateSchedule_ = new global::HOLMS.Types.Supply.RateScheduleIndicator();
                    }
                    input.ReadMessage(rateSchedule_);
                    break;
                }

                case 42: {
                    if (nightlyPrice_ == null)
                    {
                        nightlyPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(nightlyPrice_);
                    break;
                }

                case 50: {
                    requiredTags_.AddEntriesFrom(input, _repeated_requiredTags_codec);
                    break;
                }
                }
            }
        }
 public void MergeFrom(OverridePricing other)
 {
     if (other == null)
     {
         return;
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.overridePrice_ != null)
     {
         if (overridePrice_ == null)
         {
             overridePrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         OverridePrice.MergeFrom(other.OverridePrice);
     }
 }
 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);
     }
 }
Ejemplo n.º 7
0
 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;
     }
 }
Ejemplo n.º 8
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (opsdate_ == null)
                    {
                        opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(opsdate_);
                    break;
                }

                case 18: {
                    if (lodgingPrice_ == null)
                    {
                        lodgingPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(lodgingPrice_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(PriceOverrideNight other)
 {
     if (other == null)
     {
         return;
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.price_ != null)
     {
         if (price_ == null)
         {
             price_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Price.MergeFrom(other.Price);
     }
     if (other.Action != 0)
     {
         Action = other.Action;
     }
 }
 public void MergeFrom(LodgingQuantitySnapshotResponseRecord other)
 {
     if (other == null)
     {
         return;
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.quantities_ != null)
     {
         if (quantities_ == null)
         {
             quantities_ = new global::HOLMS.Types.Supply.Snapshot.LodgingSnapshotQuantity();
         }
         Quantities.MergeFrom(other.Quantities);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    staffMembers_.AddEntriesFrom(input, _repeated_staffMembers_codec);
                    break;
                }

                case 18: {
                    AddNotes = input.ReadString();
                    break;
                }

                case 26: {
                    if (date_ == null)
                    {
                        date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(date_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(IncidentalsSnapshotResponseRecord other)
 {
     if (other == null)
     {
         return;
     }
     if (other.item_ != null)
     {
         if (item_ == null)
         {
             item_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
         }
         Item.MergeFrom(other.Item);
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.NumberAvailable != 0)
     {
         NumberAvailable = other.NumberAvailable;
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (date_ == null)
                    {
                        date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(date_);
                    break;
                }

                case 16: {
                    IncludeCanceled = input.ReadBool();
                    break;
                }
                }
            }
        }
 public void MergeFrom(ReservationCheckInNotification 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.checkInDate_ != null)
     {
         if (checkInDate_ == null)
         {
             checkInDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         CheckInDate.MergeFrom(other.CheckInDate);
     }
     if (other.roomId_ != null)
     {
         if (roomId_ == null)
         {
             roomId_ = new global::HOLMS.Types.Operations.Rooms.RoomIndicator();
         }
         RoomId.MergeFrom(other.RoomId);
     }
     if (other.guestId_ != null)
     {
         if (guestId_ == null)
         {
             guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator();
         }
         GuestId.MergeFrom(other.GuestId);
     }
     if (other.averageRate_ != null)
     {
         if (averageRate_ == null)
         {
             averageRate_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         AverageRate.MergeFrom(other.AverageRate);
     }
     if (other.ReservationBookingNumber.Length != 0)
     {
         ReservationBookingNumber = other.ReservationBookingNumber;
     }
     if (other.KeepGuaranteeRequested != false)
     {
         KeepGuaranteeRequested = other.KeepGuaranteeRequested;
     }
 }
Ejemplo n.º 15
0
 public void MergeFrom(NotPresentPaymentCard other)
 {
     if (other == null)
     {
         return;
     }
     if (other.CardNumber.Length != 0)
     {
         CardNumber = other.CardNumber;
     }
     if (other.Cvc.Length != 0)
     {
         Cvc = other.Cvc;
     }
     if (other.ExpiryMonth != 0)
     {
         ExpiryMonth = other.ExpiryMonth;
     }
     if (other.FourDigitExpiryYear != 0)
     {
         FourDigitExpiryYear = other.FourDigitExpiryYear;
     }
     if (other.Zipcode.Length != 0)
     {
         Zipcode = other.Zipcode;
     }
     if (other.CardholderName.Length != 0)
     {
         CardholderName = other.CardholderName;
     }
     if (other.IsVirtualCard != false)
     {
         IsVirtualCard = other.IsVirtualCard;
     }
     if (other.virtualCardLimit_ != null)
     {
         if (virtualCardLimit_ == null)
         {
             virtualCardLimit_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         VirtualCardLimit.MergeFrom(other.VirtualCardLimit);
     }
     if (other.virtualCardAvailableOn_ != null)
     {
         if (virtualCardAvailableOn_ == null)
         {
             virtualCardAvailableOn_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         VirtualCardAvailableOn.MergeFrom(other.VirtualCardAvailableOn);
     }
     if (other.virtualCardExpiresOn_ != null)
     {
         if (virtualCardExpiresOn_ == null)
         {
             virtualCardExpiresOn_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         VirtualCardExpiresOn.MergeFrom(other.VirtualCardExpiresOn);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    Description = input.ReadString();
                    break;
                }

                case 16: {
                    chargeCreditType_ = (global::HOLMS.Types.Folio.ChargeCreditType)input.ReadEnum();
                    break;
                }

                case 26: {
                    if (untaxedAmount_ == null)
                    {
                        untaxedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(untaxedAmount_);
                    break;
                }

                case 32: {
                    TaxExempt = input.ReadBool();
                    break;
                }

                case 42: {
                    if (incidentalItem_ == null)
                    {
                        incidentalItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
                    }
                    input.ReadMessage(incidentalItem_);
                    break;
                }

                case 50: {
                    if (chargeOpsdate_ == null)
                    {
                        chargeOpsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(chargeOpsdate_);
                    break;
                }
                }
            }
        }
Ejemplo n.º 17
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (roomType_ == null)
                    {
                        roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
                    }
                    input.ReadMessage(roomType_);
                    break;
                }

                case 18: {
                    if (date_ == null)
                    {
                        date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(date_);
                    break;
                }

                case 26: {
                    if (offeredPrice_ == null)
                    {
                        offeredPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(offeredPrice_);
                    break;
                }

                case 34: {
                    if (quantities_ == null)
                    {
                        quantities_ = new global::HOLMS.Types.Supply.Snapshot.LodgingSnapshotQuantity();
                    }
                    input.ReadMessage(quantities_);
                    break;
                }

                case 42: {
                    requiredReservationTags_.AddEntriesFrom(input, _repeated_requiredReservationTags_codec);
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (date_ == null)
                    {
                        date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(date_);
                    break;
                }

                case 18: {
                    if (rateSchedule_ == null)
                    {
                        rateSchedule_ = new global::HOLMS.Types.Supply.RateSchedule();
                    }
                    input.ReadMessage(rateSchedule_);
                    break;
                }

                case 26: {
                    if (roomType_ == null)
                    {
                        roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomType();
                    }
                    input.ReadMessage(roomType_);
                    break;
                }

                case 34: {
                    if (nightlyPrice_ == null)
                    {
                        nightlyPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(nightlyPrice_);
                    break;
                }

                case 40: {
                    IsPriceOverriddenBooking = input.ReadBool();
                    break;
                }
                }
            }
        }
 public void MergeFrom(PricedOfferedLodging other)
 {
     if (other == null)
     {
         return;
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomTypeIndicator();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.Available != 0)
     {
         Available = other.Available;
     }
     if (other.rateSchedule_ != null)
     {
         if (rateSchedule_ == null)
         {
             rateSchedule_ = new global::HOLMS.Types.Supply.RateScheduleIndicator();
         }
         RateSchedule.MergeFrom(other.RateSchedule);
     }
     if (other.nightlyPrice_ != null)
     {
         if (nightlyPrice_ == null)
         {
             nightlyPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         NightlyPrice.MergeFrom(other.NightlyPrice);
     }
     requiredTags_.Add(other.requiredTags_);
     if (other.ReleasableHolds != 0)
     {
         ReleasableHolds = other.ReleasableHolds;
     }
     if (other.IsPriceOverridden != false)
     {
         IsPriceOverridden = other.IsPriceOverridden;
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (reservation_ == null)
                    {
                        reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
                    }
                    input.ReadMessage(reservation_);
                    break;
                }

                case 18: {
                    if (effectiveCheckoutDate_ == null)
                    {
                        effectiveCheckoutDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(effectiveCheckoutDate_);
                    break;
                }

                case 24: {
                    dateAcceptibility_ = (global::HOLMS.Types.Booking.Checkout.DepartureDateCheckoutAcceptibility)input.ReadEnum();
                    break;
                }

                case 34: {
                    if (folioBalance_ == null)
                    {
                        folioBalance_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(folioBalance_);
                    break;
                }

                case 40: {
                    FolioBalanceAcceptibleForCheckout = input.ReadBool();
                    break;
                }
                }
            }
        }
Ejemplo n.º 21
0
 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(GuestCheckedIn other)
 {
     if (other == null)
     {
         return;
     }
     if (other.checkInDate_ != null)
     {
         if (checkInDate_ == null)
         {
             checkInDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         CheckInDate.MergeFrom(other.CheckInDate);
     }
     if (other.averageRate_ != null)
     {
         if (averageRate_ == null)
         {
             averageRate_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         AverageRate.MergeFrom(other.AverageRate);
     }
     if (other.ReservationBookingNumber.Length != 0)
     {
         ReservationBookingNumber = other.ReservationBookingNumber;
     }
     if (other.reservationId_ != null)
     {
         if (reservationId_ == null)
         {
             reservationId_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         ReservationId.MergeFrom(other.ReservationId);
     }
     if (other.RoomNumber.Length != 0)
     {
         RoomNumber = other.RoomNumber;
     }
     if (other.guestId_ != null)
     {
         if (guestId_ == null)
         {
             guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator();
         }
         GuestId.MergeFrom(other.GuestId);
     }
     if (other.RoomType.Length != 0)
     {
         RoomType = other.RoomType;
     }
 }
Ejemplo n.º 23
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (createdAt_ == null)
                    {
                        createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(createdAt_);
                    break;
                }

                case 18: {
                    if (effectiveDate_ == null)
                    {
                        effectiveDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(effectiveDate_);
                    break;
                }

                case 26: {
                    if (housekeeper_ == null)
                    {
                        housekeeper_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
                    }
                    input.ReadMessage(housekeeper_);
                    break;
                }

                case 34: {
                    if (room_ == null)
                    {
                        room_ = new global::HOLMS.Types.Operations.Rooms.RoomIndicator();
                    }
                    input.ReadMessage(room_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(RemoveOverrideDates other)
 {
     if (other == null)
     {
         return;
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (opsdate_ == null)
                    {
                        opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(opsdate_);
                    break;
                }

                case 18: {
                    if (pretaxIncidentalPrice_ == null)
                    {
                        pretaxIncidentalPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(pretaxIncidentalPrice_);
                    break;
                }

                case 26: {
                    taxEstimates_.AddEntriesFrom(input, _repeated_taxEstimates_codec);
                    break;
                }

                case 34: {
                    if (incidentalItem_ == null)
                    {
                        incidentalItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
                    }
                    input.ReadMessage(incidentalItem_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(GroupBookingSvcGetDateFilteredBookingsListRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.IncludeCanceled != false)
     {
         IncludeCanceled = other.IncludeCanceled;
     }
 }
 public void MergeFrom(RequestedChargeCreditPosting other)
 {
     if (other == null)
     {
         return;
     }
     if (other.Description.Length != 0)
     {
         Description = other.Description;
     }
     if (other.ChargeCreditType != 0)
     {
         ChargeCreditType = other.ChargeCreditType;
     }
     if (other.untaxedAmount_ != null)
     {
         if (untaxedAmount_ == null)
         {
             untaxedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         UntaxedAmount.MergeFrom(other.UntaxedAmount);
     }
     if (other.TaxExempt != false)
     {
         TaxExempt = other.TaxExempt;
     }
     if (other.incidentalItem_ != null)
     {
         if (incidentalItem_ == null)
         {
             incidentalItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
         }
         IncidentalItem.MergeFrom(other.IncidentalItem);
     }
     if (other.chargeOpsdate_ != null)
     {
         if (chargeOpsdate_ == null)
         {
             chargeOpsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         ChargeOpsdate.MergeFrom(other.ChargeOpsdate);
     }
 }
 public void MergeFrom(ScheduledPrice other)
 {
     if (other == null)
     {
         return;
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
     if (other.rateSchedule_ != null)
     {
         if (rateSchedule_ == null)
         {
             rateSchedule_ = new global::HOLMS.Types.Supply.RateSchedule();
         }
         RateSchedule.MergeFrom(other.RateSchedule);
     }
     if (other.roomType_ != null)
     {
         if (roomType_ == null)
         {
             roomType_ = new global::HOLMS.Types.Supply.RoomTypes.RoomType();
         }
         RoomType.MergeFrom(other.RoomType);
     }
     if (other.nightlyPrice_ != null)
     {
         if (nightlyPrice_ == null)
         {
             nightlyPrice_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         NightlyPrice.MergeFrom(other.NightlyPrice);
     }
     if (other.IsPriceOverriddenBooking != false)
     {
         IsPriceOverriddenBooking = other.IsPriceOverriddenBooking;
     }
 }
Ejemplo n.º 29
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (propertyId_ == null)
                    {
                        propertyId_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator();
                    }
                    input.ReadMessage(propertyId_);
                    break;
                }

                case 18: {
                    if (opsdate_ == null)
                    {
                        opsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
                    }
                    input.ReadMessage(opsdate_);
                    break;
                }

                case 24: {
                    ClosedToArrival = input.ReadBool();
                    break;
                }

                case 32: {
                    MinimumStayNights = input.ReadUInt32();
                    break;
                }
                }
            }
        }
 public void MergeFrom(FrontDeskReportingSvcHousekeepingRequest other)
 {
     if (other == null)
     {
         return;
     }
     staffMembers_.Add(other.staffMembers_);
     if (other.AddNotes.Length != 0)
     {
         AddNotes = other.AddNotes;
     }
     if (other.date_ != null)
     {
         if (date_ == null)
         {
             date_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         Date.MergeFrom(other.Date);
     }
 }