InvoiceDto constructor

InvoiceDto({
  1. required String id,
  2. String? rev,
  3. int? created,
  4. int? modified,
  5. String? author,
  6. String? responsible,
  7. String? medicalLocationId,
  8. Set<CodeStubDto> tags = const {},
  9. Set<CodeStubDto> codes = const {},
  10. int? endOfLife,
  11. int? deletionDate,
  12. int? invoiceDate,
  13. int? sentDate,
  14. int? printedDate,
  15. List<InvoicingCodeDto> invoicingCodes = const [],
  16. Map<String, String> receipts = const {},
  17. String? recipientType,
  18. String? recipientId,
  19. String? invoiceReference,
  20. String? thirdPartyReference,
  21. String? thirdPartyPaymentJustification,
  22. String? thirdPartyPaymentReason,
  23. String? reason,
  24. InvoiceDtoInvoiceTypeEnum? invoiceType,
  25. InvoiceDtoSentMediumTypeEnum? sentMediumType,
  26. InvoiceDtoInterventionTypeEnum? interventionType,
  27. String? groupId,
  28. InvoiceDtoPaymentTypeEnum? paymentType,
  29. double? paid,
  30. List<PaymentDto> payments = const [],
  31. String? gnotionNihii,
  32. String? gnotionSsin,
  33. String? gnotionLastName,
  34. String? gnotionFirstName,
  35. String? gnotionCdHcParty,
  36. int? invoicePeriod,
  37. String? careProviderType,
  38. String? internshipNihii,
  39. String? internshipSsin,
  40. String? internshipLastName,
  41. String? internshipFirstName,
  42. String? internshipCdHcParty,
  43. String? internshipCbe,
  44. String? supervisorNihii,
  45. String? supervisorSsin,
  46. String? supervisorLastName,
  47. String? supervisorFirstName,
  48. String? supervisorCdHcParty,
  49. String? supervisorCbe,
  50. String? error,
  51. String? encounterLocationName,
  52. String? encounterLocationNihii,
  53. int? encounterLocationNorm,
  54. int? longDelayJustification,
  55. String? correctiveInvoiceId,
  56. String? correctedInvoiceId,
  57. bool? creditNote,
  58. String? creditNoteRelatedInvoiceId,
  59. IdentityDocumentReaderDto? idDocument,
  60. String? cancelReason,
  61. int? cancelDate,
  62. Map<String, String> options = const {},
  63. Set<String> secretForeignKeys = const {},
  64. Map<String, Set<DelegationDto>> cryptedForeignKeys = const {},
  65. Map<String, Set<DelegationDto>> delegations = const {},
  66. Map<String, Set<DelegationDto>> encryptionKeys = const {},
  67. String? encryptedSelf,
})

Returns a new InvoiceDto instance.

Implementation

InvoiceDto({
  required this.id,
  this.rev,
  this.created,
  this.modified,
  this.author,
  this.responsible,
  this.medicalLocationId,
  this.tags = const {},
  this.codes = const {},
  this.endOfLife,
  this.deletionDate,
  this.invoiceDate,
  this.sentDate,
  this.printedDate,
  this.invoicingCodes = const [],
  this.receipts = const {},
  this.recipientType,
  this.recipientId,
  this.invoiceReference,
  this.thirdPartyReference,
  this.thirdPartyPaymentJustification,
  this.thirdPartyPaymentReason,
  this.reason,
  this.invoiceType,
  this.sentMediumType,
  this.interventionType,
  this.groupId,
  this.paymentType,
  this.paid,
  this.payments = const [],
  this.gnotionNihii,
  this.gnotionSsin,
  this.gnotionLastName,
  this.gnotionFirstName,
  this.gnotionCdHcParty,
  this.invoicePeriod,
  this.careProviderType,
  this.internshipNihii,
  this.internshipSsin,
  this.internshipLastName,
  this.internshipFirstName,
  this.internshipCdHcParty,
  this.internshipCbe,
  this.supervisorNihii,
  this.supervisorSsin,
  this.supervisorLastName,
  this.supervisorFirstName,
  this.supervisorCdHcParty,
  this.supervisorCbe,
  this.error,
  this.encounterLocationName,
  this.encounterLocationNihii,
  this.encounterLocationNorm,
  this.longDelayJustification,
  this.correctiveInvoiceId,
  this.correctedInvoiceId,
  this.creditNote,
  this.creditNoteRelatedInvoiceId,
  this.idDocument,
  this.cancelReason,
  this.cancelDate,
  this.options = const {},
  this.secretForeignKeys = const {},
  this.cryptedForeignKeys = const {},
  this.delegations = const {},
  this.encryptionKeys = const {},
  this.encryptedSelf,
});