public void MergeFrom(AccountingTransactionLine other)
 {
     if (other == null)
     {
         return;
     }
     if (other.debitAmount_ != null)
     {
         if (debitAmount_ == null)
         {
             debitAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         DebitAmount.MergeFrom(other.DebitAmount);
     }
     if (other.creditAmount_ != null)
     {
         if (creditAmount_ == null)
         {
             creditAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount();
         }
         CreditAmount.MergeFrom(other.CreditAmount);
     }
     if (other.Narration.Length != 0)
     {
         Narration = other.Narration;
     }
     if (other.account_ != null)
     {
         if (account_ == null)
         {
             account_ = new global::HOLMS.Types.Money.Accounting.AccountIndicator();
         }
         Account.MergeFrom(other.Account);
     }
     if (other.AccountName.Length != 0)
     {
         AccountName = other.AccountName;
     }
     if (other.AccountType != 0)
     {
         AccountType = other.AccountType;
     }
     if (other.Designation != 0)
     {
         Designation = other.Designation;
     }
     if (other.TransferIndication != 0)
     {
         TransferIndication = other.TransferIndication;
     }
     if (other.entityId_ != null)
     {
         if (entityId_ == null)
         {
             entityId_ = new global::HOLMS.Types.Money.Accounting.AccountingTransactionLineIndicator();
         }
         EntityId.MergeFrom(other.EntityId);
     }
 }