EfactInvoice constructor

EfactInvoice({
  1. PatientDto? patient,
  2. String? ioCode,
  3. List<InvoiceItem> items = const [],
  4. EfactInvoiceReasonEnum? reason,
  5. String? invoiceRef,
  6. int? invoiceNumber,
  7. required bool ignorePrescriptionDate,
  8. required bool hospitalisedPatient,
  9. required bool creditNote,
  10. String? relatedInvoiceIoCode,
  11. int? relatedInvoiceNumber,
  12. int? relatedBatchSendNumber,
  13. int? relatedBatchYearMonth,
})

Returns a new EfactInvoice instance.

Implementation

EfactInvoice({
  this.patient,
  this.ioCode,
  this.items = const [],
  this.reason,
  this.invoiceRef,
  this.invoiceNumber,
  required this.ignorePrescriptionDate,
  required this.hospitalisedPatient,
  required this.creditNote,
  this.relatedInvoiceIoCode,
  this.relatedInvoiceNumber,
  this.relatedBatchSendNumber,
  this.relatedBatchYearMonth,
});