/// <summary> /// Constructor for accepts an existing Itt Letter Shipping /// </summary> /// <param name="shipping">IttLetterShipping</param> public IttLetterShipping(IttLetterShipping shipping) { this.id = shipping.Id; this.project = shipping.Project; this.commonPdfPath = shipping.CommonPdfPath; this.pdfPath = shipping.PdfPath; }
/// <summary> /// Empty Constructor /// </summary> public IttLetterReceiver() { this.id = 0; this.shipping = new IttLetterShipping(); this.companyId = ""; this.companyName = ""; this.attention = ""; this.street = ""; this.place = ""; this.zipTown = ""; }
/// <summary> /// Constructor that accepts data from existing Itt Letter Receiver /// </summary> /// <param name="receiver">IttLetterReceiver</param> public IttLetterReceiver(IttLetterReceiver receiver) { this.id = receiver.Id; this.shipping = receiver.shipping; this.project = receiver.Project; this.companyId = receiver.companyId; this.companyName = receiver.companyName; this.attention = receiver.attention; this.street = receiver.Street; this.place = receiver.place; this.zipTown = receiver.zipTown; this.email = receiver.Email; }
/// <summary> /// Constructor for adding ITT Letter Receiver from Db /// </summary> /// <param name="id">int</param> /// <param name="shipping">IttLetterShipping</param> /// <param name="project">Project</param> /// <param name="companyId">string</param> /// <param name="companyName">string</param> /// <param name="attention">string</param> /// <param name="street">string</param> /// <param name="place">string</param> /// <param name="zipTown">string</param> /// <param name="email">string</param> public IttLetterReceiver(int id, IttLetterShipping shipping, Project project, string companyId, string companyName, string attention, string street, string place, string zipTown, string email) { this.id = id; this.shipping = shipping; this.project = project; this.companyId = companyId; this.companyName = companyName; this.attention = attention; this.street = street; this.place = place; this.zipTown = zipTown; this.email = email; }