/// <summary> /// Set the time to current and makes a random TransmissionIdentifier as default /// </summary> /// <returns></returns> public static PeppolStandardBusinessHeader CreatePeppolStandardBusinessHeaderWithNewDate() { PeppolStandardBusinessHeader p = new PeppolStandardBusinessHeader(); p.CreationDateAndTime = DateTime.Now; return(p); }
/// <summary> /// Copy constructor /// </summary> /// <param name="peppolStandardBusinessHeader"></param> public PeppolStandardBusinessHeader(PeppolStandardBusinessHeader peppolStandardBusinessHeader) { this.RecipientId = peppolStandardBusinessHeader.RecipientId; this.SenderId = peppolStandardBusinessHeader.SenderId; this.DocumentTypeIdentifier = peppolStandardBusinessHeader.DocumentTypeIdentifier; this.ProfileTypeIdentifier = peppolStandardBusinessHeader.ProfileTypeIdentifier; this.InstanceId = peppolStandardBusinessHeader.InstanceId; this.CreationDateAndTime = peppolStandardBusinessHeader.CreationDateAndTime; }