public void MergeFrom(TravelAgent other)
 {
     if (other == null)
     {
         return;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Booking.Indicators.TravelAgentIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
     if (other.IataId.Length != 0)
     {
         IataId = other.IataId;
     }
     if (other.CommissionType != 0)
     {
         CommissionType = other.CommissionType;
     }
     if (other.commissionAmount_ != null)
     {
         if (commissionAmount_ == null)
         {
             commissionAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         CommissionAmount.MergeFrom(other.CommissionAmount);
     }
     if (other.commissionPercentage_ != null)
     {
         if (commissionPercentage_ == null)
         {
             commissionPercentage_ = new global::HOLMS.Types.Primitive.FixedPointRatio();
         }
         CommissionPercentage.MergeFrom(other.CommissionPercentage);
     }
     if (other.GivenName.Length != 0)
     {
         GivenName = other.GivenName;
     }
     if (other.FamilyName.Length != 0)
     {
         FamilyName = other.FamilyName;
     }
     if (other.BusinessAddress1.Length != 0)
     {
         BusinessAddress1 = other.BusinessAddress1;
     }
     if (other.BusinessAddress2.Length != 0)
     {
         BusinessAddress2 = other.BusinessAddress2;
     }
     if (other.BusinessCity.Length != 0)
     {
         BusinessCity = other.BusinessCity;
     }
     if (other.BusinessState.Length != 0)
     {
         BusinessState = other.BusinessState;
     }
     if (other.BusinessZip.Length != 0)
     {
         BusinessZip = other.BusinessZip;
     }
     if (other.BusinessNation.Length != 0)
     {
         BusinessNation = other.BusinessNation;
     }
     if (other.BusinessPhoneNumber.Length != 0)
     {
         BusinessPhoneNumber = other.BusinessPhoneNumber;
     }
     if (other.BusinessFaxNumber.Length != 0)
     {
         BusinessFaxNumber = other.BusinessFaxNumber;
     }
     if (other.BusinessEmailAddress.Length != 0)
     {
         BusinessEmailAddress = other.BusinessEmailAddress;
     }
 }