InvoiceDataModel constructor

const InvoiceDataModel({
  1. required int documentType,
  2. required String invoiceId,
  3. required String issueDate,
  4. String? taxPointDate,
  5. String? orderId,
  6. String? deliveryNoteId,
  7. required String localCurrencyCode,
  8. String? foreignCurrencyCode,
  9. double? currRate,
  10. double? referenceCurrRate,
  11. required SupplierParty supplierParty,
  12. required CustomerParty customerParty,
  13. int? numberOfInvoiceLines,
  14. String? invoiceDescription,
  15. SingleInvoiceLine? singleInvoiceLine,
  16. required List<TaxCategorySummary> taxCategorySummaries,
  17. required MonetarySummary monetarySummary,
  18. int? paymentMeans,
})

Implementation

const InvoiceDataModel({
  required this.documentType,
  required this.invoiceId,
  required this.issueDate,
  this.taxPointDate,
  this.orderId,
  this.deliveryNoteId,
  required this.localCurrencyCode,
  this.foreignCurrencyCode,
  this.currRate,
  this.referenceCurrRate,
  required this.supplierParty,
  required this.customerParty,
  this.numberOfInvoiceLines,
  this.invoiceDescription,
  this.singleInvoiceLine,
  required this.taxCategorySummaries,
  required this.monetarySummary,
  this.paymentMeans,
});