public InvoicerApi( SizeOption size = SizeOption.A4, OrientationOption orientation = OrientationOption.Portrait, string currency = "£" ) { Invoice = new Invoice(); Invoice.Title = "Invoice"; Invoice.PageSize = size; Invoice.PageOrientation = orientation; Invoice.Currency = currency; Invoice.BillingDate = DateTime.Now; Invoice.DueDate = Invoice.BillingDate.AddDays(14); Invoice.Reference = DefaultReference; }
public PdfInvoice(Invoice invoice) { Pdf = new Document(); Invoice = invoice; }