Exemplo n.º 1
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (id_ == null)
                    {
                        id_ = new global::HOLMS.Types.Primitive.Uuid();
                    }
                    input.ReadMessage(id_);
                    break;
                }
                }
            }
        }
 public void MergeFrom(AccountingTransaction other)
 {
     if (other == null)
     {
         return;
     }
     if (other.postedTime_ != null)
     {
         if (postedTime_ == null)
         {
             postedTime_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         PostedTime.MergeFrom(other.PostedTime);
     }
     if (other.Narration.Length != 0)
     {
         Narration = other.Narration;
     }
     lines_.Add(other.lines_);
     if (other.id_ != null)
     {
         if (id_ == null)
         {
             id_ = new global::HOLMS.Types.Primitive.Uuid();
         }
         Id.MergeFrom(other.Id);
     }
     if (other.enteredBy_ != null)
     {
         if (enteredBy_ == null)
         {
             enteredBy_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         EnteredBy.MergeFrom(other.EnteredBy);
     }
 }
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.TenancyConfig.RPC.DeleteRequestResponse> DeleteAsync(global::HOLMS.Types.Primitive.Uuid request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(DeleteAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
 public void MergeFrom(ReservationInvoiceMapping other)
 {
     if (other == null)
     {
         return;
     }
     if (other.invoiceId_ != null)
     {
         if (invoiceId_ == null)
         {
             invoiceId_ = new global::HOLMS.Types.Primitive.Uuid();
         }
         InvoiceId.MergeFrom(other.InvoiceId);
     }
     if (other.reservationId_ != null)
     {
         if (reservationId_ == null)
         {
             reservationId_ = new global::HOLMS.Types.Booking.Indicators.ReservationIndicator();
         }
         ReservationId.MergeFrom(other.ReservationId);
     }
     if (other.amount_ != null)
     {
         if (amount_ == null)
         {
             amount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Amount.MergeFrom(other.Amount);
     }
     if (other.payment_ != null)
     {
         if (payment_ == null)
         {
             payment_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Payment.MergeFrom(other.Payment);
     }
     if (other.taxes_ != null)
     {
         if (taxes_ == null)
         {
             taxes_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Taxes.MergeFrom(other.Taxes);
     }
     if (other.fees_ != null)
     {
         if (fees_ == null)
         {
             fees_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Fees.MergeFrom(other.Fees);
     }
     if (other.charges_ != null)
     {
         if (charges_ == null)
         {
             charges_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Charges.MergeFrom(other.Charges);
     }
     if (other.Voided != false)
     {
         Voided = other.Voided;
     }
 }
Exemplo n.º 5
0
 public void MergeFrom(GroupBooking other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Booking.Indicators.GroupBookingIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.Status != 0)
     {
         Status = other.Status;
     }
     if (other.TaxExempt != false)
     {
         TaxExempt = other.TaxExempt;
     }
     if (other.TaxId.Length != 0)
     {
         TaxId = other.TaxId;
     }
     if (other.GroupPaysLodging != false)
     {
         GroupPaysLodging = other.GroupPaysLodging;
     }
     if (other.GroupPaysIncidentals != false)
     {
         GroupPaysIncidentals = other.GroupPaysIncidentals;
     }
     if (other.AdditionalNotes.Length != 0)
     {
         AdditionalNotes = other.AdditionalNotes;
     }
     if (other.CustomerBookingId.Length != 0)
     {
         CustomerBookingId = other.CustomerBookingId;
     }
     if (other.dateRange_ != null)
     {
         if (dateRange_ == null)
         {
             dateRange_ = new global::HOLMS.Types.Primitive.PbInclusiveOpsdateRange();
         }
         DateRange.MergeFrom(other.DateRange);
     }
     if (other.rateSchedule_ != null)
     {
         if (rateSchedule_ == null)
         {
             rateSchedule_ = new global::HOLMS.Types.Supply.RateScheduleIndicator();
         }
         RateSchedule.MergeFrom(other.RateSchedule);
     }
     if (other.group_ != null)
     {
         if (group_ == null)
         {
             group_ = new global::HOLMS.Types.CRM.Groups.GroupIndicator();
         }
         Group.MergeFrom(other.Group);
     }
     if (other.confirmationTemplateId_ != null)
     {
         if (confirmationTemplateId_ == null)
         {
             confirmationTemplateId_ = new global::HOLMS.Types.Primitive.Uuid();
         }
         ConfirmationTemplateId.MergeFrom(other.ConfirmationTemplateId);
     }
     if (other.bookingMethod_ != null)
     {
         if (bookingMethod_ == null)
         {
             bookingMethod_ = new global::HOLMS.Types.TenancyConfig.Indicators.GroupBookingMethodIndicator();
         }
         BookingMethod.MergeFrom(other.BookingMethod);
     }
     if (other.arrivalTemplateId_ != null)
     {
         if (arrivalTemplateId_ == null)
         {
             arrivalTemplateId_ = new global::HOLMS.Types.Primitive.Uuid();
         }
         ArrivalTemplateId.MergeFrom(other.ArrivalTemplateId);
     }
     if (other.reservationSourceId_ != null)
     {
         if (reservationSourceId_ == null)
         {
             reservationSourceId_ = new global::HOLMS.Types.Primitive.Uuid();
         }
         ReservationSourceId.MergeFrom(other.ReservationSourceId);
     }
     if (other.travelAgent_ != null)
     {
         if (travelAgent_ == null)
         {
             travelAgent_ = new global::HOLMS.Types.Booking.Indicators.TravelAgentIndicator();
         }
         TravelAgent.MergeFrom(other.TravelAgent);
     }
     if (other.cancellationPolicy_ != null)
     {
         if (cancellationPolicy_ == null)
         {
             cancellationPolicy_ = new global::HOLMS.Types.Booking.Indicators.CancellationPolicyIndicator();
         }
         CancellationPolicy.MergeFrom(other.CancellationPolicy);
     }
     if (other.GroupName.Length != 0)
     {
         GroupName = other.GroupName;
     }
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.Operations.GuestFolioTemplate> GetByIdAsync(global::HOLMS.Types.Primitive.Uuid request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request));
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

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

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

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

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

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

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

                case 58: {
                    if (incurredBy_ == null)
                    {
                        incurredBy_ = new global::HOLMS.Types.Folio.FolioIndicator();
                    }
                    input.ReadMessage(incurredBy_);
                    break;
                }

                case 64: {
                    issuanceSchedule_ = (global::HOLMS.Types.Folio.FolioAtomicChargeIssuanceSchedule)input.ReadEnum();
                    break;
                }

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

                case 82: {
                    if (id_ == null)
                    {
                        id_ = new global::HOLMS.Types.Primitive.Uuid();
                    }
                    input.ReadMessage(id_);
                    break;
                }

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

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

                case 106: {
                    currentTaxAssessments_.AddEntriesFrom(input, _repeated_currentTaxAssessments_codec);
                    break;
                }
                }
            }
        }
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Booking.CancellationReason> GetById(global::HOLMS.Types.Primitive.Uuid request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Booking.CancellationReason> GetByIdAsync(global::HOLMS.Types.Primitive.Uuid request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetByIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual global::HOLMS.Types.TenancyConfig.GroupBookingMethod GetById(global::HOLMS.Types.Primitive.Uuid request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request));
 }
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Operations.ArrivalLetterTemplate> GetById(global::HOLMS.Types.Primitive.Uuid request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Operations.ArrivalLetterTemplate> GetByIdAsync(global::HOLMS.Types.Primitive.Uuid request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request));
 }
 public virtual global::HOLMS.Types.Operations.ArrivalLetterTemplate GetById(global::HOLMS.Types.Primitive.Uuid 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.TenancyConfig.RPC.DeleteRequestResponse> Delete(global::HOLMS.Types.Primitive.Uuid request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.TenancyConfig.RPC.DeleteRequestResponse> DeleteAsync(global::HOLMS.Types.Primitive.Uuid request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_Delete, null, options, request));
 }
 public void MergeFrom(GroupBookingInvoiceMapping other)
 {
     if (other == null)
     {
         return;
     }
     if (other.groupBookingId_ != null)
     {
         if (groupBookingId_ == null)
         {
             groupBookingId_ = new global::HOLMS.Types.Booking.Indicators.GroupBookingIndicator();
         }
         GroupBookingId.MergeFrom(other.GroupBookingId);
     }
     if (other.InvoiceNumber != 0)
     {
         InvoiceNumber = other.InvoiceNumber;
     }
     if (other.invoiceId_ != null)
     {
         if (invoiceId_ == null)
         {
             invoiceId_ = new global::HOLMS.Types.Primitive.Uuid();
         }
         InvoiceId.MergeFrom(other.InvoiceId);
     }
     if (other.Voided != false)
     {
         Voided = other.Voided;
     }
     if (other.createdBy_ != null)
     {
         if (createdBy_ == null)
         {
             createdBy_ = new global::HOLMS.Types.IAM.StaffMember();
         }
         CreatedBy.MergeFrom(other.CreatedBy);
     }
     if (other.voidedBy_ != null)
     {
         if (voidedBy_ == null)
         {
             voidedBy_ = new global::HOLMS.Types.IAM.StaffMember();
         }
         VoidedBy.MergeFrom(other.VoidedBy);
     }
     if (other.voidedAt_ != null)
     {
         if (voidedAt_ == null)
         {
             voidedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         VoidedAt.MergeFrom(other.VoidedAt);
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

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

                case 16: {
                    InvoiceNumber = input.ReadInt32();
                    break;
                }

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

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

                case 42: {
                    if (createdBy_ == null)
                    {
                        createdBy_ = new global::HOLMS.Types.IAM.StaffMember();
                    }
                    input.ReadMessage(createdBy_);
                    break;
                }

                case 50: {
                    if (voidedBy_ == null)
                    {
                        voidedBy_ = new global::HOLMS.Types.IAM.StaffMember();
                    }
                    input.ReadMessage(voidedBy_);
                    break;
                }

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

                case 66: {
                    if (createdAt_ == null)
                    {
                        createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
                    }
                    input.ReadMessage(createdAt_);
                    break;
                }
                }
            }
        }
Exemplo n.º 18
0
 public virtual AsyncUnaryCall <global::HOLMS.Types.TenancyConfig.GroupBookingMethod> GetByIdAsync(global::HOLMS.Types.Primitive.Uuid request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetByIdAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.Booking.CancellationReason> GetByIdAsync(global::HOLMS.Types.Primitive.Uuid request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request));
 }
Exemplo n.º 20
0
 public virtual AsyncUnaryCall <global::HOLMS.Types.TenancyConfig.GroupBookingMethod> GetByIdAsync(global::HOLMS.Types.Primitive.Uuid request, CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request));
 }
 public void MergeFrom(FolioAtomicCharge other)
 {
     if (other == null)
     {
         return;
     }
     if (other.amount_ != null)
     {
         if (amount_ == null)
         {
             amount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Amount.MergeFrom(other.Amount);
     }
     if (other.Narration.Length != 0)
     {
         Narration = other.Narration;
     }
     if (other.ChargeCreditType != 0)
     {
         ChargeCreditType = other.ChargeCreditType;
     }
     if (other.effectiveForOpsdate_ != null)
     {
         if (effectiveForOpsdate_ == null)
         {
             effectiveForOpsdate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         EffectiveForOpsdate.MergeFrom(other.EffectiveForOpsdate);
     }
     if (other.effectiveAtClock_ != null)
     {
         if (effectiveAtClock_ == null)
         {
             effectiveAtClock_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         EffectiveAtClock.MergeFrom(other.EffectiveAtClock);
     }
     if (other.incidentalItem_ != null)
     {
         if (incidentalItem_ == null)
         {
             incidentalItem_ = new global::HOLMS.Types.Supply.IncidentalItems.IncidentalItemIndicator();
         }
         IncidentalItem.MergeFrom(other.IncidentalItem);
     }
     if (other.incurredBy_ != null)
     {
         if (incurredBy_ == null)
         {
             incurredBy_ = new global::HOLMS.Types.Folio.FolioIndicator();
         }
         IncurredBy.MergeFrom(other.IncurredBy);
     }
     if (other.IssuanceSchedule != 0)
     {
         IssuanceSchedule = other.IssuanceSchedule;
     }
     if (other.enteredBy_ != null)
     {
         if (enteredBy_ == null)
         {
             enteredBy_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         EnteredBy.MergeFrom(other.EnteredBy);
     }
     if (other.id_ != null)
     {
         if (id_ == null)
         {
             id_ = new global::HOLMS.Types.Primitive.Uuid();
         }
         Id.MergeFrom(other.Id);
     }
     if (other.taxes_ != null)
     {
         if (taxes_ == null)
         {
             taxes_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Taxes.MergeFrom(other.Taxes);
     }
     if (other.fees_ != null)
     {
         if (fees_ == null)
         {
             fees_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Fees.MergeFrom(other.Fees);
     }
     currentTaxAssessments_.Add(other.currentTaxAssessments_);
 }
Exemplo n.º 22
0
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.TenancyConfig.GroupBookingMethod> GetById(global::HOLMS.Types.Primitive.Uuid request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
 public virtual AsyncUnaryCall <global::HOLMS.Types.Operations.GuestFolioTemplate> GetByIdAsync(global::HOLMS.Types.Primitive.Uuid request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetByIdAsync(request, new CallOptions(headers, deadline, cancellationToken)));
 }
Exemplo n.º 24
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

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

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

                case 26: {
                    lines_.AddEntriesFrom(input, _repeated_lines_codec);
                    break;
                }

                case 34: {
                    if (assignedGuest_ == null)
                    {
                        assignedGuest_ = new global::HOLMS.Types.CRM.Guests.Guest();
                    }
                    input.ReadMessage(assignedGuest_);
                    break;
                }

                case 42: {
                    EnteredByUserId = input.ReadString();
                    break;
                }

                case 48: {
                    IsManualEntry = input.ReadBool();
                    break;
                }

                case 58: {
                    if (id_ == null)
                    {
                        id_ = new global::HOLMS.Types.Primitive.Uuid();
                    }
                    input.ReadMessage(id_);
                    break;
                }
                }
            }
        }
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.Operations.GuestFolioTemplate> GetById(global::HOLMS.Types.Primitive.Uuid request, ServerCallContext context)
 {
     throw new RpcException(new Status(StatusCode.Unimplemented, ""));
 }
 public virtual global::HOLMS.Types.Booking.CancellationReason GetById(global::HOLMS.Types.Primitive.Uuid request, Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetById(request, new CallOptions(headers, deadline, cancellationToken)));
 }
Exemplo n.º 27
0
        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;
                }
                }
            }
        }
 public virtual global::HOLMS.Types.Booking.CancellationReason GetById(global::HOLMS.Types.Primitive.Uuid request, CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request));
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

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

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

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

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

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

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

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

                case 64: {
                    Voided = input.ReadBool();
                    break;
                }
                }
            }
        }
Exemplo n.º 30
0
 public virtual global::HOLMS.Types.Operations.GuestFolioTemplate GetById(global::HOLMS.Types.Primitive.Uuid request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request));
 }