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 16: {
                    IsCanceled = input.ReadBool();
                    break;
                }

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

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

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

                case 50: {
                    if (entityId_ == null)
                    {
                        entityId_ = new global::HOLMS.Types.Folio.FolioCheckCashPaymentIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

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

                case 18: {
                    assignedRooms_.AddEntriesFrom(input, _repeated_assignedRooms_codec);
                    break;
                }
                }
            }
        }
 public void MergeFrom(OperationalExceptionNotification other)
 {
     if (other == null)
     {
         return;
     }
     if (other.user_ != null)
     {
         if (user_ == null)
         {
             user_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         User.MergeFrom(other.User);
     }
     if (other.ExceptionMessage.Length != 0)
     {
         ExceptionMessage = other.ExceptionMessage;
     }
     if (other.ExceptionId.Length != 0)
     {
         ExceptionId = other.ExceptionId;
     }
     if (other.JWToken.Length != 0)
     {
         JWToken = other.JWToken;
     }
 }
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 (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 (id_ == null)
                    {
                        id_ = new global::HOLMS.Types.Primitive.Uuid();
                    }
                    input.ReadMessage(id_);
                    break;
                }

                case 40: {
                    WasManuallyEntered = input.ReadBool();
                    break;
                }

                case 50: {
                    if (enteredBy_ == null)
                    {
                        enteredBy_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
                    }
                    input.ReadMessage(enteredBy_);
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

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

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

                case 26: {
                    TenancyName = input.ReadString();
                    break;
                }

                case 34: {
                    UserName = input.ReadString();
                    break;
                }

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

                case 50:
                case 48: {
                    securityActions_.AddEntriesFrom(input, _repeated_securityActions_codec);
                    break;
                }

                case 56: {
                    ExpiresIn = input.ReadUInt64();
                    break;
                }
                }
            }
        }
Ejemplo n.º 6
0
 public void MergeFrom(FolioCardRefund other)
 {
     if (other == null)
     {
         return;
     }
     if (other.card_ != null)
     {
         if (card_ == null)
         {
             card_ = new global::HOLMS.Types.Folio.FolioGuestPaymentCard();
         }
         Card.MergeFrom(other.Card);
     }
     if (other.State != 0)
     {
         State = other.State;
     }
     if (other.amount_ != null)
     {
         if (amount_ == null)
         {
             amount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Amount.MergeFrom(other.Amount);
     }
     if (other.postedAt_ != null)
     {
         if (postedAt_ == null)
         {
             postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         PostedAt.MergeFrom(other.PostedAt);
     }
     if (other.receivedBy_ != null)
     {
         if (receivedBy_ == null)
         {
             receivedBy_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         ReceivedBy.MergeFrom(other.ReceivedBy);
     }
     if (other.refund_ != null)
     {
         if (refund_ == null)
         {
             refund_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardRefundIndicator();
         }
         Refund.MergeFrom(other.Refund);
     }
 }
Ejemplo n.º 7
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(HousekeepingManagementSvcAssignmentRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.assignee_ != null)
     {
         if (assignee_ == null)
         {
             assignee_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         Assignee.MergeFrom(other.Assignee);
     }
     assignedRooms_.Add(other.assignedRooms_);
 }
 public void MergeFrom(FolioCheckCashPayment 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.IsCanceled != false)
     {
         IsCanceled = other.IsCanceled;
     }
     if (other.PaymentType != 0)
     {
         PaymentType = other.PaymentType;
     }
     if (other.receivedBy_ != null)
     {
         if (receivedBy_ == null)
         {
             receivedBy_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         ReceivedBy.MergeFrom(other.ReceivedBy);
     }
     if (other.postedAt_ != null)
     {
         if (postedAt_ == null)
         {
             postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         PostedAt.MergeFrom(other.PostedAt);
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Folio.FolioCheckCashPaymentIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
 }
Ejemplo n.º 10
0
 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.WasManuallyEntered != false)
     {
         WasManuallyEntered = other.WasManuallyEntered;
     }
     if (other.enteredBy_ != null)
     {
         if (enteredBy_ == null)
         {
             enteredBy_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         EnteredBy.MergeFrom(other.EnteredBy);
     }
 }
Ejemplo n.º 11
0
 public void MergeFrom(HousekeepingAssignment other)
 {
     if (other == null)
     {
         return;
     }
     if (other.createdAt_ != null)
     {
         if (createdAt_ == null)
         {
             createdAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CreatedAt.MergeFrom(other.CreatedAt);
     }
     if (other.effectiveDate_ != null)
     {
         if (effectiveDate_ == null)
         {
             effectiveDate_ = new global::HOLMS.Types.Primitive.PbLocalDate();
         }
         EffectiveDate.MergeFrom(other.EffectiveDate);
     }
     if (other.housekeeper_ != null)
     {
         if (housekeeper_ == null)
         {
             housekeeper_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         Housekeeper.MergeFrom(other.Housekeeper);
     }
     if (other.room_ != null)
     {
         if (room_ == null)
         {
             room_ = new global::HOLMS.Types.Operations.Rooms.RoomIndicator();
         }
         Room.MergeFrom(other.Room);
     }
 }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

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

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

                case 26: {
                    ExceptionId = input.ReadString();
                    break;
                }

                case 34: {
                    JWToken = input.ReadString();
                    break;
                }
                }
            }
        }
 public void MergeFrom(SessionContext other)
 {
     if (other == null)
     {
         return;
     }
     if (other.AccessToken.Length != 0)
     {
         AccessToken = other.AccessToken;
     }
     if (other.RefreshToken.Length != 0)
     {
         RefreshToken = other.RefreshToken;
     }
     if (other.TenancyName.Length != 0)
     {
         TenancyName = other.TenancyName;
     }
     if (other.UserName.Length != 0)
     {
         UserName = other.UserName;
     }
     if (other.user_ != null)
     {
         if (user_ == null)
         {
             user_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         User.MergeFrom(other.User);
     }
     securityActions_.Add(other.securityActions_);
     if (other.ExpiresIn != 0UL)
     {
         ExpiresIn = other.ExpiresIn;
     }
 }
Ejemplo n.º 14
0
 public void MergeFrom(FolioCardSale other)
 {
     if (other == null)
     {
         return;
     }
     if (other.sale_ != null)
     {
         if (sale_ == null)
         {
             sale_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardSaleIndicator();
         }
         Sale.MergeFrom(other.Sale);
     }
     if (other.card_ != null)
     {
         if (card_ == null)
         {
             card_ = new global::HOLMS.Types.Folio.FolioGuestPaymentCard();
         }
         Card.MergeFrom(other.Card);
     }
     if (other.Purpose != 0)
     {
         Purpose = other.Purpose;
     }
     if (other.SaleState != 0)
     {
         SaleState = other.SaleState;
     }
     if (other.openAuthorized_ != null)
     {
         if (openAuthorized_ == null)
         {
             openAuthorized_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         OpenAuthorized.MergeFrom(other.OpenAuthorized);
     }
     if (other.captured_ != null)
     {
         if (captured_ == null)
         {
             captured_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         Captured.MergeFrom(other.Captured);
     }
     if (other.EntryMethod != 0)
     {
         EntryMethod = other.EntryMethod;
     }
     if (other.authorizedAt_ != null)
     {
         if (authorizedAt_ == null)
         {
             authorizedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         AuthorizedAt.MergeFrom(other.AuthorizedAt);
     }
     if (other.capturedAt_ != null)
     {
         if (capturedAt_ == null)
         {
             capturedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         CapturedAt.MergeFrom(other.CapturedAt);
     }
     if (other.ApplicationLabel.Length != 0)
     {
         ApplicationLabel = other.ApplicationLabel;
     }
     if (other.AID.Length != 0)
     {
         AID = other.AID;
     }
     if (other.ApplicationCrypto.Length != 0)
     {
         ApplicationCrypto = other.ApplicationCrypto;
     }
     if (other.ApprovalCode.Length != 0)
     {
         ApprovalCode = other.ApprovalCode;
     }
     if (other.receivedBy_ != null)
     {
         if (receivedBy_ == null)
         {
             receivedBy_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         ReceivedBy.MergeFrom(other.ReceivedBy);
     }
     if (other.finalAuthorizedAmount_ != null)
     {
         if (finalAuthorizedAmount_ == null)
         {
             finalAuthorizedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         FinalAuthorizedAmount.MergeFrom(other.FinalAuthorizedAmount);
     }
 }
 public void MergeFrom(StaffMember other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.IAM.StaffMemberIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.UserId.Length != 0)
     {
         UserId = other.UserId;
     }
     if (other.Password.Length != 0)
     {
         Password = other.Password;
     }
     if (other.DisplayName.Length != 0)
     {
         DisplayName = other.DisplayName;
     }
     if (other.EmergencyContactPhoneNumber.Length != 0)
     {
         EmergencyContactPhoneNumber = other.EmergencyContactPhoneNumber;
     }
     if (other.IsPhoneDataDisplayable != false)
     {
         IsPhoneDataDisplayable = other.IsPhoneDataDisplayable;
     }
     if (other.dateHired_ != null)
     {
         if (dateHired_ == null)
         {
             dateHired_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
         }
         DateHired.MergeFrom(other.DateHired);
     }
     if (other.IsActive != false)
     {
         IsActive = other.IsActive;
     }
     if (other.department_ != null)
     {
         if (department_ == null)
         {
             department_ = new global::HOLMS.Types.IAM.DepartmentIndicator();
         }
         Department.MergeFrom(other.Department);
     }
     if (other.DepartmentName.Length != 0)
     {
         DepartmentName = other.DepartmentName;
     }
     if (other.contactInfo_ != null)
     {
         if (contactInfo_ == null)
         {
             contactInfo_ = new global::HOLMS.Types.Primitive.ContactInformation();
         }
         ContactInfo.MergeFrom(other.ContactInfo);
     }
     if (other.IsIncluded != false)
     {
         IsIncluded = other.IsIncluded;
     }
 }
Ejemplo n.º 16
0
 public virtual global::HOLMS.Types.IAM.StaffMember GetById(global::HOLMS.Types.IAM.StaffMemberIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.BlockingUnaryCall(__Method_GetById, null, options, request));
 }
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 (sale_ == null)
                    {
                        sale_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardSaleIndicator();
                    }
                    input.ReadMessage(sale_);
                    break;
                }

                case 18: {
                    if (card_ == null)
                    {
                        card_ = new global::HOLMS.Types.Folio.FolioGuestPaymentCard();
                    }
                    input.ReadMessage(card_);
                    break;
                }

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

                case 32: {
                    saleState_ = (global::HOLMS.Types.Money.Cards.Transactions.CardSaleState)input.ReadEnum();
                    break;
                }

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

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

                case 56: {
                    entryMethod_ = (global::HOLMS.Types.Money.Cards.Transactions.AuthorizationEntryMethod)input.ReadEnum();
                    break;
                }

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

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

                case 82: {
                    ApplicationLabel = input.ReadString();
                    break;
                }

                case 90: {
                    AID = input.ReadString();
                    break;
                }

                case 98: {
                    ApplicationCrypto = input.ReadString();
                    break;
                }

                case 106: {
                    ApprovalCode = input.ReadString();
                    break;
                }

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

                case 122: {
                    if (finalAuthorizedAmount_ == null)
                    {
                        finalAuthorizedAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
                    }
                    input.ReadMessage(finalAuthorizedAmount_);
                    break;
                }
                }
            }
        }
 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_);
 }
        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;
                }
                }
            }
        }
Ejemplo n.º 20
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

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

                case 10: {
                    if (card_ == null)
                    {
                        card_ = new global::HOLMS.Types.Folio.FolioGuestPaymentCard();
                    }
                    input.ReadMessage(card_);
                    break;
                }

                case 16: {
                    state_ = (global::HOLMS.Types.Money.Cards.Transactions.CardRefundState)input.ReadEnum();
                    break;
                }

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

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

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

                case 50: {
                    if (refund_ == null)
                    {
                        refund_ = new global::HOLMS.Types.Money.Cards.Transactions.PaymentCardRefundIndicator();
                    }
                    input.ReadMessage(refund_);
                    break;
                }
                }
            }
        }
Ejemplo n.º 21
0
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.IAM.StaffMember> GetByIdAsync(global::HOLMS.Types.IAM.StaffMemberIndicator request, grpc::Metadata headers = null, DateTime?deadline = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(GetByIdAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)));
 }
Ejemplo n.º 22
0
 public virtual grpc::AsyncUnaryCall <global::HOLMS.Types.IAM.StaffMember> GetByIdAsync(global::HOLMS.Types.IAM.StaffMemberIndicator request, grpc::CallOptions options)
 {
     return(CallInvoker.AsyncUnaryCall(__Method_GetById, null, options, request));
 }
Ejemplo n.º 23
0
 public virtual global::System.Threading.Tasks.Task <global::HOLMS.Types.IAM.StaffMember> GetById(global::HOLMS.Types.IAM.StaffMemberIndicator request, grpc::ServerCallContext context)
 {
     throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, ""));
 }
        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.IAM.StaffMemberIndicator();
                    }
                    input.ReadMessage(entityId_);
                    break;
                }

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

                case 26: {
                    Password = input.ReadString();
                    break;
                }

                case 34: {
                    DisplayName = input.ReadString();
                    break;
                }

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

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

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

                case 64: {
                    IsActive = input.ReadBool();
                    break;
                }

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

                case 82: {
                    DepartmentName = input.ReadString();
                    break;
                }

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

                case 96: {
                    IsIncluded = input.ReadBool();
                    break;
                }
                }
            }
        }