Datum constructor

Datum(
  1. {required int id,
  2. int? userId,
  3. int? organizationId,
  4. int? bankAccountId,
  5. int? currencyId,
  6. required DateTime paymentDate,
  7. required String paymentTime,
  8. required String status,
  9. String? detail,
  10. String? authorizationId,
  11. String? cardAcquirerName,
  12. String? cardAcquirerId,
  13. String? terminalId,
  14. String? transactionDateTime,
  15. String? batchNumber,
  16. String? cardObfPan,
  17. String? referenceNumber,
  18. String? systemTrace,
  19. String? cardLabel,
  20. String? cardAid,
  21. String? posEntryMode,
  22. String? cardTsi,
  23. String? cardApplicationCryptogram,
  24. required double transactionAmount,
  25. String? transactionCurrencyCode3,
  26. required String email1,
  27. required String email2,
  28. required String email3,
  29. required String description,
  30. String? qrUrl,
  31. String? pdfUrl,
  32. required bool canBeCanceled,
  33. required BankAccount bankAccount,
  34. Currency? currency}
)

Implementation

Datum({
  required this.id,
  this.userId,
  this.organizationId,
  this.bankAccountId,
  this.currencyId,
  required this.paymentDate, // 1
  required this.paymentTime,
  required this.status,
  this.detail,
  this.authorizationId,
  this.cardAcquirerName,
  this.cardAcquirerId,
  this.terminalId,
  this.transactionDateTime,
  this.batchNumber,
  this.cardObfPan,
  this.referenceNumber,
  this.systemTrace,
  this.cardLabel,
  this.cardAid,
  this.posEntryMode,
  this.cardTsi,
  this.cardApplicationCryptogram,
  required this.transactionAmount, // 2
  this.transactionCurrencyCode3,
  required this.email1,
  required this.email2,
  required this.email3,
  required this.description,
  this.qrUrl,
  this.pdfUrl,
  required this.canBeCanceled,
  required this.bankAccount,
  this.currency,
});