private Receipt(Guid receiptId, int statusCode, string statusName, string statusMessage, DateTime?modifiedDateUtc, DateTime?receiptDateUtc, string invoiceId, Cashbox cashboxInfoHolder, string inn, string type, string taxationSystem, string email, string phone, string installmentPlace, string installmentAddress, string automaticDeviceNumber, List <ReceiptItem> items)
 {
     ReceiptId         = receiptId;
     StatusCode        = statusCode;
     StatusName        = statusName;
     StatusMessage     = statusMessage;
     ModifiedDateUtc   = modifiedDateUtc;
     ReceiptDateUtc    = receiptDateUtc;
     InvoiceId         = invoiceId;
     CashboxInfoHolder = cashboxInfoHolder;
     Inn                   = inn;
     Type                  = type;
     TaxationSystem        = taxationSystem;
     Email                 = email;
     Phone                 = phone;
     InstallmentPlace      = installmentPlace;
     InstallmentAddress    = installmentAddress;
     AutomaticDeviceNumber = automaticDeviceNumber;
     Items                 = items;
 }
 public static Receipt CreateNew(Guid receiptId, int statusCode, string statusName, string statusMessage, DateTime?modifiedDateUtc, DateTime?receiptDateUtc, string invoiceId, Cashbox cashboxInfoHolder, string inn, string type, string taxationSystem, string email, string phone, string installmentPlace, string installmentAddress, string automaticDeviceNumber, List <ReceiptItem> items)
 {
     return(new Receipt(receiptId, statusCode, statusName, statusMessage, modifiedDateUtc, receiptDateUtc, invoiceId, cashboxInfoHolder, inn, type, taxationSystem, email, phone, installmentPlace, installmentAddress, automaticDeviceNumber, items));
 }