public SimplifiedInvoice(
     TaxPeriod taxPeriod,
     InvoiceId id,
     SchemeOrEffect schemeOrEffect,
     String0To500 description,
     TaxBreakdown taxBreakdown,
     bool issuedByThirdParty)
 {
     TaxPeriod          = Check.IsNotNull(taxPeriod, nameof(taxPeriod));
     Id                 = Check.IsNotNull(id, nameof(id));
     SchemeOrEffect     = schemeOrEffect;
     Description        = Check.IsNotNull(description, nameof(description));
     TaxBreakdown       = Check.IsNotNull(taxBreakdown, nameof(taxBreakdown));
     IssuedByThirdParty = issuedByThirdParty;
 }
Beispiel #2
0
 public Invoice(
     TaxPeriod taxPeriod,
     InvoiceId id,
     InvoiceType type,
     SchemeOrEffect schemeOrEffect,
     String0To500 description,
     TaxBreakdown taxBreakdown,
     bool issuedByThirdParty,
     CounterPartyCompany counterPartyCompany)
 {
     TaxPeriod           = Check.IsNotNull(taxPeriod, nameof(taxPeriod));
     Id                  = Check.IsNotNull(id, nameof(id));
     Type                = type;
     SchemeOrEffect      = schemeOrEffect;
     Description         = Check.IsNotNull(description, nameof(description));
     TaxBreakdown        = Check.IsNotNull(taxBreakdown, nameof(taxBreakdown));
     IssuedByThirdParty  = issuedByThirdParty;
     CounterPartyCompany = Check.IsNotNull(counterPartyCompany, nameof(counterPartyCompany));
 }