public InvoiceHeader(
     LimitedString1To50 invoiceSeries,
     LimitedString1To50 invoiceSerialNumber,
     DateTime invoiceIssueDate,
     string invoiceIdentifier  = null,
     CurrencyCode currencyCode = null,
     ExchangeRate exchangeRate = null)
 {
     InvoiceSeries       = invoiceSeries ?? throw new ArgumentNullException(nameof(invoiceSeries));
     InvoiceSerialNumber = invoiceSerialNumber ?? throw new ArgumentNullException(nameof(invoiceSerialNumber));
     InvoiceIssueDate    = invoiceIssueDate;
     InvoiceIdentifier   = invoiceIdentifier;
     CurrencyCode        = currencyCode;
     ExchangeRate        = exchangeRate;
 }
 public InvoiceHeader(
     String1To50 invoiceSeries,
     String1To50 invoiceSerialNumber,
     DateTime invoiceIssueDate,
     string invoiceIdentifier  = null,
     CurrencyCode currencyCode = null,
     ExchangeRate exchangeRate = null)
 {
     InvoiceSeries       = Check.IsNotNull(invoiceSeries, nameof(invoiceSeries));
     InvoiceSerialNumber = Check.IsNotNull(invoiceSerialNumber, nameof(invoiceSerialNumber));
     InvoiceIssueDate    = invoiceIssueDate;
     InvoiceIdentifier   = invoiceIdentifier;
     CurrencyCode        = currencyCode;
     ExchangeRate        = exchangeRate;
 }
 public NegativeInvoiceHeader(LimitedString1to50 invoiceSeries, LimitedString1to50 invoiceSerialNumber, DateTime invoiceIssueDate, BillType billType = BillType.CreditInvoice, CurrencyCode currencyCode = null, ExchangeRate exchangeRate = null)
     : base(invoiceSeries, invoiceSerialNumber, invoiceIssueDate, billType, currencyCode, exchangeRate)
 {
 }
Ejemplo n.º 4
0
 public InvoiceHeader(LimitedString1to50 invoiceSeries, LimitedString1to50 invoiceSerialNumber, DateTime invoiceIssueDate, BillType billType, CurrencyCode currencyCode = null, ExchangeRate exchangeRate = null)
 {
     InvoiceSeries       = invoiceSeries ?? throw new ArgumentNullException(nameof(invoiceSeries));
     InvoiceSerialNumber = invoiceSerialNumber ?? throw new ArgumentNullException(nameof(invoiceSerialNumber));
     InvoiceIssueDate    = invoiceIssueDate;
     BillType            = billType;
     CurrencyCode        = currencyCode;
     ExchangeRate        = exchangeRate;
 }