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 (card_ == null)
                    {
                        card_ = new global::HOLMS.Types.Money.Cards.NotPresentPaymentCard();
                    }
                    input.ReadMessage(card_);
                    break;
                }
                }
            }
        }
示例#2
0
 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);
     }
 }
示例#3
0
        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(ResGSvcTenderNewNotPresentCardGuaranteeRequest 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.card_ != null)
     {
         if (card_ == null)
         {
             card_ = new global::HOLMS.Types.Money.Cards.NotPresentPaymentCard();
         }
         Card.MergeFrom(other.Card);
     }
 }