public void MergeFrom(Guest other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.contactInfo_ != null) { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } ContactInfo.MergeFrom(other.ContactInfo); } if (other.IsBlacklisted != false) { IsBlacklisted = other.IsBlacklisted; } }
public void MergeFrom(CardProcessingSvcVerifyAndTokenizeNotPresentCardRequest other) { if (other == null) { return; } if (other.guest_ != null) { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } Guest.MergeFrom(other.Guest); } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.card_ != null) { if (card_ == null) { card_ = new global::HOLMS.Types.Money.Cards.NotPresentPaymentCard(); } Card.MergeFrom(other.Card); } }
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 (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(guest_); break; } } } }
public void MergeFrom(ReservationAssociatedParties other) { if (other == null) { return; } if (other.primaryGuest_ != null) { if (primaryGuest_ == null) { primaryGuest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } PrimaryGuest.MergeFrom(other.PrimaryGuest); } additionalGuests_.Add(other.additionalGuests_); contactPersons_.Add(other.contactPersons_); if (other.reservation_ != null) { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } Reservation.MergeFrom(other.Reservation); } }
public void MergeFrom(ReservationCheckOutNotification 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.guestId_ != null) { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } GuestId.MergeFrom(other.GuestId); } if (other.ReservationBookingNumber.Length != 0) { ReservationBookingNumber = other.ReservationBookingNumber; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(entityId_); break; } case 18: { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } input.ReadMessage(contactInfo_); break; } } } }
public void MergeFrom(GuestCancelledReservation other) { if (other == null) { return; } if (other.PenaltyApplied != false) { PenaltyApplied = other.PenaltyApplied; } if (other.DaysBeforeReservationStart != 0) { DaysBeforeReservationStart = other.DaysBeforeReservationStart; } if (other.reservationId_ != null) { if (reservationId_ == null) { reservationId_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } ReservationId.MergeFrom(other.ReservationId); } if (other.guestId_ != null) { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } GuestId.MergeFrom(other.GuestId); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (accountingTransactionWithGuest_ == null) { accountingTransactionWithGuest_ = new global::HOLMS.Types.Money.Accounting.AccountingTransactionWithGuest(); } input.ReadMessage(accountingTransactionWithGuest_); break; } case 18: { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(guest_); 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; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { JWToken = input.ReadString(); break; } case 18: { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } input.ReadMessage(reservation_); break; } case 26: { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(guestId_); break; } case 34: { if (penalty_ == null) { penalty_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(penalty_); break; } case 40: { DaysBeforeReservationStart = input.ReadInt32(); break; } case 50: { RequestingParty = input.ReadString(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(guestId_); break; } case 18: { cancellations_.AddEntriesFrom(input, _repeated_cancellations_codec); break; } case 26: { if (lastCheckin_ == null) { lastCheckin_ = new global::HOLMS.Types.CRM.Guests.GuestCheckedIn(); } input.ReadMessage(lastCheckin_); break; } case 32: { TotalNightsStayed = input.ReadInt32(); break; } case 42: { if (totalInvoiced_ == null) { totalInvoiced_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(totalInvoiced_); break; } } } }
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; } }
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(BookGenesisReservationRequest 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.dateRange_ != null) { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } DateRange.MergeFrom(other.DateRange); } if (other.sourceChannelInfo_ != null) { if (sourceChannelInfo_ == null) { sourceChannelInfo_ = new global::HOLMS.Types.Booking.Channels.ChannelInfo(); } SourceChannelInfo.MergeFrom(other.SourceChannelInfo); } if (other.guest_ != null) { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } Guest.MergeFrom(other.Guest); } if (other.NumberAdults != 0) { NumberAdults = other.NumberAdults; } if (other.NumberChildren != 0) { NumberChildren = other.NumberChildren; } reservationTags_.Add(other.reservationTags_); }
public void MergeFrom(ReservationNoteTemplate other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.CRM.Guests.ReservationNoteTemplateIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.sourceNote_ != null) { if (sourceNote_ == null) { sourceNote_ = new global::HOLMS.Types.Operations.NoteRequests.NoteRequestIndicator(); } SourceNote.MergeFrom(other.SourceNote); } if (other.Category != 0) { Category = other.Category; } if (other.AdditionalNote.Length != 0) { AdditionalNote = other.AdditionalNote; } if (other.IncludeOnConfirmation != false) { IncludeOnConfirmation = other.IncludeOnConfirmation; } if (other.SourceNoteSubject.Length != 0) { SourceNoteSubject = other.SourceNoteSubject; } if (other.guest_ != null) { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } Guest.MergeFrom(other.Guest); } }
public void MergeFrom(ReservationCancellationNotification 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.guestId_ != null) { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } GuestId.MergeFrom(other.GuestId); } if (other.penalty_ != null) { if (penalty_ == null) { penalty_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } Penalty.MergeFrom(other.Penalty); } if (other.DaysBeforeReservationStart != 0) { DaysBeforeReservationStart = other.DaysBeforeReservationStart; } if (other.RequestingParty.Length != 0) { RequestingParty = other.RequestingParty; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (primaryGuest_ == null) { primaryGuest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(primaryGuest_); break; } case 18: { additionalGuests_.AddEntriesFrom(input, _repeated_additionalGuests_codec); break; } case 26: { contactPersons_.AddEntriesFrom(input, _repeated_contactPersons_codec); break; } case 34: { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } input.ReadMessage(reservation_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 8: { PenaltyApplied = input.ReadBool(); break; } case 16: { DaysBeforeReservationStart = input.ReadInt32(); break; } case 26: { if (reservationId_ == null) { reservationId_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } input.ReadMessage(reservationId_); break; } case 34: { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(guestId_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } input.ReadMessage(guest_); break; } case 18: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } case 26: { if (card_ == null) { card_ = new global::HOLMS.Types.Money.Cards.NotPresentPaymentCard(); } input.ReadMessage(card_); break; } } } }
public void MergeFrom(AssignGuestOwnerToTxnReq other) { if (other == null) { return; } if (other.accountingTransactionWithGuest_ != null) { if (accountingTransactionWithGuest_ == null) { accountingTransactionWithGuest_ = new global::HOLMS.Types.Money.Accounting.AccountingTransactionWithGuest(); } AccountingTransactionWithGuest.MergeFrom(other.AccountingTransactionWithGuest); } if (other.guest_ != null) { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } Guest.MergeFrom(other.Guest); } }
public void MergeFrom(RemoveGuestFromReservationRequest other) { if (other == null) { return; } if (other.reservation_ != null) { if (reservation_ == null) { reservation_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator(); } Reservation.MergeFrom(other.Reservation); } if (other.guest_ != null) { if (guest_ == null) { guest_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } Guest.MergeFrom(other.Guest); } }
public void MergeFrom(GuestHistorySummary other) { if (other == null) { return; } if (other.guestId_ != null) { if (guestId_ == null) { guestId_ = new global::HOLMS.Types.CRM.Guests.GuestIndicator(); } GuestId.MergeFrom(other.GuestId); } cancellations_.Add(other.cancellations_); if (other.lastCheckin_ != null) { if (lastCheckin_ == null) { lastCheckin_ = new global::HOLMS.Types.CRM.Guests.GuestCheckedIn(); } LastCheckin.MergeFrom(other.LastCheckin); } if (other.TotalNightsStayed != 0) { TotalNightsStayed = other.TotalNightsStayed; } if (other.totalInvoiced_ != null) { if (totalInvoiced_ == null) { totalInvoiced_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } TotalInvoiced.MergeFrom(other.TotalInvoiced); } }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.CRM.RPC.GuestSvcGetNoteTemplatesForGuestResponse> GetNoteTemplatesForGuestAsync(global::HOLMS.Types.CRM.Guests.GuestIndicator request, grpc::CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_GetNoteTemplatesForGuest, null, options, request)); }
public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.CRM.RPC.GuestSvcGetNoteTemplatesForGuestResponse> GetNoteTemplatesForGuest(global::HOLMS.Types.CRM.Guests.GuestIndicator request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); }
public virtual global::HOLMS.Types.CRM.Guests.Guest GetById(global::HOLMS.Types.CRM.Guests.GuestIndicator request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetById(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }
public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.CRM.Guests.Guest> GetById(global::HOLMS.Types.CRM.Guests.GuestIndicator request, ServerCallContext context) { throw new RpcException(new Status(StatusCode.Unimplemented, "")); }
public virtual AsyncUnaryCall <global::HOLMS.Types.CRM.Guests.Guest> GetByIdAsync(global::HOLMS.Types.CRM.Guests.GuestIndicator request, CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request)); }
public virtual AsyncUnaryCall <global::HOLMS.Types.CRM.Guests.Guest> GetByIdAsync(global::HOLMS.Types.CRM.Guests.GuestIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetByIdAsync(request, new CallOptions(headers, deadline, cancellationToken))); }
public virtual global::HOLMS.Types.CRM.Guests.Guest GetById(global::HOLMS.Types.CRM.Guests.GuestIndicator request, CallOptions options) { return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request)); }
public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.CRM.RPC.GuestSvcGetNoteTemplatesForGuestResponse> GetNoteTemplatesForGuestAsync(global::HOLMS.Types.CRM.Guests.GuestIndicator request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetNoteTemplatesForGuestAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken))); }