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(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } case 16: { RunEveryMins = input.ReadUInt32(); break; } } } }
public void MergeFrom(PropertyEmailSenderConfig other) { if (other == null) { return; } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.PostmarkEmailSenderAddress.Length != 0) { PostmarkEmailSenderAddress = other.PostmarkEmailSenderAddress; } if (other.PostmarkApiKey.Length != 0) { PostmarkApiKey = other.PostmarkApiKey; } if (other.DisableAllCorrespondence != false) { DisableAllCorrespondence = other.DisableAllCorrespondence; } }
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(PropertyConfirmationLetterText other) { if (other == null) { return; } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.LetterOpeningText.Length != 0) { LetterOpeningText = other.LetterOpeningText; } if (other.PropertyPolicyAgreementText.Length != 0) { PropertyPolicyAgreementText = other.PropertyPolicyAgreementText; } if (other.LetterClosingText.Length != 0) { LetterClosingText = other.LetterClosingText; } }
public void MergeFrom(PricingSvcPropertyQueryRequest other) { if (other == null) { return; } if (other.rateSchedule_ != null) { if (rateSchedule_ == null) { rateSchedule_ = new global::HOLMS.Types.Supply.RateScheduleIndicator(); } RateSchedule.MergeFrom(other.RateSchedule); } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.dateRange_ != null) { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } DateRange.MergeFrom(other.DateRange); } }
public void MergeFrom(PropertyArrivalLetterText other) { if (other == null) { return; } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.ArrivalLetterOpeningText.Length != 0) { ArrivalLetterOpeningText = other.ArrivalLetterOpeningText; } if (other.ArrivalPolicyAgreementText.Length != 0) { ArrivalPolicyAgreementText = other.ArrivalPolicyAgreementText; } if (other.LiabilityDisclaimer.Length != 0) { LiabilityDisclaimer = other.LiabilityDisclaimer; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } case 18: { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } input.ReadMessage(dateRange_); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } case 18: { CancellationOpeningText = input.ReadString(); break; } case 26: { CancellationClosingText = input.ReadString(); break; } } } }
public void MergeFrom(PropertyClockTimeRange other) { if (other == null) { return; } if (other.reportingIntervalStart_ != null) { if (reportingIntervalStart_ == null) { reportingIntervalStart_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } ReportingIntervalStart.MergeFrom(other.ReportingIntervalStart); } if (other.reportingIntervalEnd_ != null) { if (reportingIntervalEnd_ == null) { reportingIntervalEnd_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } ReportingIntervalEnd.MergeFrom(other.ReportingIntervalEnd); } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (booking_ == null) { booking_ = new global::HOLMS.Types.Booking.Groups.GroupBooking(); } input.ReadMessage(booking_); break; } case 18: { GroupName = input.ReadString(); break; } case 26: { GroupNumber = input.ReadString(); break; } case 34: { GroupContactName = input.ReadString(); break; } case 40: { groupType_ = (global::HOLMS.Types.CRM.Groups.GroupType)input.ReadEnum(); break; } case 50: { if (groupProperty_ == null) { groupProperty_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(groupProperty_); break; } case 58: { quantities_.AddEntriesFrom(input, _repeated_quantities_codec); break; } } } }
public void MergeFrom(RecordedPhoneCall other) { if (other == null) { return; } if (other.id_ != null) { if (id_ == null) { id_ = new global::HOLMS.Types.Operations.PBXEvents.PbxEventIndicator(); } Id.MergeFrom(other.Id); } if (other.length_ != null) { if (length_ == null) { length_ = new global::Google.Protobuf.WellKnownTypes.Duration(); } Length.MergeFrom(other.Length); } if (other.OriginatingTrunk.Length != 0) { OriginatingTrunk = other.OriginatingTrunk; } if (other.NumberDialed.Length != 0) { NumberDialed = other.NumberDialed; } if (other.charged_ != null) { if (charged_ == null) { charged_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } Charged.MergeFrom(other.Charged); } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.recordedAt_ != null) { if (recordedAt_ == null) { recordedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } RecordedAt.MergeFrom(other.RecordedAt); } }
public void MergeFrom(Group other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.CRM.Groups.GroupIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.Name.Length != 0) { Name = other.Name; } if (other.GroupType != 0) { GroupType = other.GroupType; } if (other.GroupNumber.Length != 0) { GroupNumber = other.GroupNumber; } if (other.creditLimit_ != null) { if (creditLimit_ == null) { creditLimit_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } CreditLimit.MergeFrom(other.CreditLimit); } if (other.Active != false) { Active = other.Active; } if (other.contactInfo_ != null) { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } ContactInfo.MergeFrom(other.ContactInfo); } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } case 18: { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } input.ReadMessage(dateRange_); break; } case 26: { reservationTags_.AddEntriesFrom(input, _repeated_reservationTags_codec); break; } case 32: { IsMockPriceRequiredWithoutHolds = input.ReadBool(); break; } case 40: { NumberOfAdultGuests = input.ReadInt32(); break; } case 48: { NumberOfChildGuests = input.ReadInt32(); break; } } } }
public void MergeFrom(PropertySvcAccrueRevenueRequest other) { if (other == null) { return; } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.RunEveryMins != 0) { RunEveryMins = other.RunEveryMins; } }
public void MergeFrom(OpsdayStartChime other) { if (other == null) { return; } if (other.JWToken.Length != 0) { JWToken = other.JWToken; } if (other.propertyId_ != null) { if (propertyId_ == null) { propertyId_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } PropertyId.MergeFrom(other.PropertyId); } }
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(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (reportingIntervalStart_ == null) { reportingIntervalStart_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(reportingIntervalStart_); break; } case 18: { if (reportingIntervalEnd_ == null) { reportingIntervalEnd_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } input.ReadMessage(reportingIntervalEnd_); break; } case 26: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); 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(GroupBookingExt other) { if (other == null) { return; } if (other.booking_ != null) { if (booking_ == null) { booking_ = new global::HOLMS.Types.Booking.Groups.GroupBooking(); } Booking.MergeFrom(other.Booking); } if (other.GroupName.Length != 0) { GroupName = other.GroupName; } if (other.GroupNumber.Length != 0) { GroupNumber = other.GroupNumber; } if (other.GroupContactName.Length != 0) { GroupContactName = other.GroupContactName; } if (other.GroupType != 0) { GroupType = other.GroupType; } if (other.groupProperty_ != null) { if (groupProperty_ == null) { groupProperty_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } GroupProperty.MergeFrom(other.GroupProperty); } quantities_.Add(other.quantities_); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } case 18: { PostmarkEmailSenderAddress = input.ReadString(); break; } case 26: { PostmarkApiKey = input.ReadString(); break; } case 32: { DisableAllCorrespondence = input.ReadBool(); break; } } } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } case 18: { ArrivalLetterOpeningText = input.ReadString(); break; } case 26: { ArrivalPolicyAgreementText = input.ReadString(); break; } case 34: { LiabilityDisclaimer = input.ReadString(); break; } } } }
public void MergeFrom(IncidentalSnapshotRequest other) { if (other == null) { return; } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.dateRange_ != null) { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } DateRange.MergeFrom(other.DateRange); } }
public void MergeFrom(SupplySnapshotSvcSnapshotWithTagsReq other) { if (other == null) { return; } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.dateRange_ != null) { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } DateRange.MergeFrom(other.DateRange); } reservationTags_.Add(other.reservationTags_); if (other.IsMockPriceRequiredWithoutHolds != false) { IsMockPriceRequiredWithoutHolds = other.IsMockPriceRequiredWithoutHolds; } if (other.NumberOfAdultGuests != 0) { NumberOfAdultGuests = other.NumberOfAdultGuests; } if (other.NumberOfChildGuests != 0) { NumberOfChildGuests = other.NumberOfChildGuests; } }
public void MergeFrom(SupplySnapshotSvcSnapshotWithTagsReq other) { if (other == null) { return; } if (other.property_ != null) { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } Property.MergeFrom(other.Property); } if (other.dateRange_ != null) { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } DateRange.MergeFrom(other.DateRange); } reservationTags_.Add(other.reservationTags_); }
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.Groups.GroupIndicator(); } input.ReadMessage(entityId_); break; } case 18: { Name = input.ReadString(); break; } case 24: { groupType_ = (global::HOLMS.Types.CRM.Groups.GroupType)input.ReadEnum(); break; } case 34: { GroupNumber = input.ReadString(); break; } case 42: { if (creditLimit_ == null) { creditLimit_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } input.ReadMessage(creditLimit_); break; } case 48: { Active = input.ReadBool(); break; } case 58: { if (contactInfo_ == null) { contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation(); } input.ReadMessage(contactInfo_); break; } case 66: { if (property_ == null) { property_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(property_); break; } } } }
public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Booking.CancellationPolicy> GetPropertyCancellationPolicy(global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator request, ServerCallContext context) { throw new RpcException(new Status(StatusCode.Unimplemented, "")); }
public virtual AsyncUnaryCall <global::HOLMS.Types.Booking.CancellationPolicy> GetPropertyCancellationPolicyAsync(global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator request, CallOptions options) { return(CallInvoker.AsyncUnaryCall(__Method_GetPropertyCancellationPolicy, null, options, request)); }
public virtual AsyncUnaryCall <global::HOLMS.Types.Booking.CancellationPolicy> GetPropertyCancellationPolicyAsync(global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken)) { return(GetPropertyCancellationPolicyAsync(request, new CallOptions(headers, deadline, cancellationToken))); }
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.Booking.Indicators.GroupBookingIndicator(); } input.ReadMessage(entityId_); break; } case 16: { status_ = (global::HOLMS.Types.Booking.Groups.GroupBookingStatus)input.ReadEnum(); break; } case 24: { TaxExempt = input.ReadBool(); break; } case 34: { TaxId = input.ReadString(); break; } case 40: { GroupPaysLodging = input.ReadBool(); break; } case 48: { GroupPaysIncidentals = input.ReadBool(); break; } case 58: { AdditionalNotes = input.ReadString(); break; } case 66: { CustomerBookingId = input.ReadString(); break; } case 74: { if (dateRange_ == null) { dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange(); } input.ReadMessage(dateRange_); break; } case 90: { if (rateSchedule_ == null) { rateSchedule_ = new global::HOLMS.Types.Supply.RateScheduleIndicator(); } input.ReadMessage(rateSchedule_); break; } case 98: { if (group_ == null) { group_ = new global::HOLMS.Types.CRM.Groups.GroupIndicator(); } input.ReadMessage(group_); break; } case 106: { if (confirmationTemplateId_ == null) { confirmationTemplateId_ = new global::HOLMS.Types.Primitive.Uuid(); } input.ReadMessage(confirmationTemplateId_); break; } case 114: { if (bookingMethod_ == null) { bookingMethod_ = new global::HOLMS.Types.TenancyConfig.Indicators.GroupBookingMethodIndicator(); } input.ReadMessage(bookingMethod_); break; } case 122: { if (arrivalTemplateId_ == null) { arrivalTemplateId_ = new global::HOLMS.Types.Primitive.Uuid(); } input.ReadMessage(arrivalTemplateId_); break; } case 130: { if (reservationSourceId_ == null) { reservationSourceId_ = new global::HOLMS.Types.Primitive.Uuid(); } input.ReadMessage(reservationSourceId_); break; } case 138: { if (travelAgent_ == null) { travelAgent_ = new global::HOLMS.Types.Booking.Indicators.TravelAgentIndicator(); } input.ReadMessage(travelAgent_); break; } case 146: { if (cancellationPolicy_ == null) { cancellationPolicy_ = new global::HOLMS.Types.Booking.Indicators.CancellationPolicyIndicator(); } input.ReadMessage(cancellationPolicy_); break; } case 154: { GroupName = input.ReadString(); break; } case 160: { SurpressRateInfo = input.ReadBool(); break; } case 170: { TaxCategory = input.ReadString(); break; } case 178: { if (bookingProperty_ == null) { bookingProperty_ = new global::HOLMS.Types.TenancyConfig.Indicators.PropertyIndicator(); } input.ReadMessage(bookingProperty_); break; } } } }