public void MergeFrom(TaxFee other) { if (other == null) { return; } if (other.entityId_ != null) { if (entityId_ == null) { entityId_ = new global::HOLMS.Types.Folio.TaxFeeIndicator(); } EntityId.MergeFrom(other.EntityId); } if (other.Description.Length != 0) { Description = other.Description; } if (other.taxRate_ != null) { if (taxRate_ == null) { taxRate_ = new global::HOLMS.Types.Primitive.FixedPointRatio(); } TaxRate.MergeFrom(other.TaxRate); } if (other.Category != 0) { Category = other.Category; } if (other.liabilityAccountId_ != null) { if (liabilityAccountId_ == null) { liabilityAccountId_ = new global::HOLMS.Types.Money.Accounting.AccountIndicator(); } LiabilityAccountId.MergeFrom(other.LiabilityAccountId); } }