コード例 #1
0
        internal static Invoice Blank(string number)
        {
            var address = InvoiceAddress.Blank();
            var invoice = new Invoice(DateTime.MinValue, number, 0, 0, string.Empty, address);

            return(invoice);
        }
コード例 #2
0
 internal Invoice(DateTime date, string number
                  , decimal total, decimal tax, string pdf, InvoiceAddress address)
 {
     Date    = date;
     Number  = number;
     Total   = total;
     Tax     = tax;
     Pdf     = pdf;
     Address = address;
 }