public BalanceInformation CopyTo(BalanceInformation information) { information.SendingSoftware = SendingSoftware.Copy(); information.CreationSoftware = CreationSoftware.Copy(); information.BalanceType = BalanceType; information.DueDate = DueDate; information.ConsolidationType = ConsolidationType; information.Taxonomy = Taxonomy; information.Accounts = Accounts; information.IdentType = IdentType; information.Comment = Comment; if (HasLocalFile) { information.SetXbrlFilePath(_xbrlFilePath); } else { information.SetXbrlFileContent(_xbrlFileContent); } foreach (Attachment attachment in Attachments) { information.Attachments.Add(attachment.Copy()); } return(information); }
private ns2AbschlussTypSoftware GetSoftwareData() { ns2AbschlussTypSoftware software = new ns2AbschlussTypSoftware(); if (CreationSoftware != null) { software.Erstellung = CreationSoftware.ToElbaData(); } if (SendingSoftware != null) { software.Versand = SendingSoftware.ToElbaData(); } return(software); }