PostingsHistory constructor

PostingsHistory({
  1. required String entryCode,
  2. required String referenceNumber,
  3. String? reversalReferenceNumber,
  4. required String accountNumber,
  5. dynamic linkedAccountNumber,
  6. required DateTime realDate,
  7. required double amount,
  8. required double openingBalance,
  9. required double balanceAfter,
  10. required String narration,
  11. required String instrumentNumber,
  12. required int postingRecordType,
  13. required String postedBy,
  14. required DateTime financialDate,
  15. dynamic financialDateToBackdate,
  16. dynamic ipAddress,
  17. required String merchant,
  18. dynamic recipientName,
  19. dynamic senderName,
  20. dynamic recipientBank,
  21. dynamic senderBank,
  22. dynamic userId,
  23. required bool hasCotWaiver,
  24. required bool forceDebit,
  25. required int postingType,
  26. required int transactionMethod,
  27. String? sessionId,
  28. required double charge,
  29. String? beneficiaryName,
  30. required bool allowChangeCategory,
  31. required int categoryId,
  32. required bool categorySet,
  33. required int tagId,
  34. String? beneficiaryReference,
  35. dynamic goalTitle,
  36. dynamic phoneNumberRecharged,
  37. String? billId,
  38. required bool tier0Waiver,
  39. dynamic detailOfClosure,
  40. dynamic reasonForClosure,
  41. dynamic closedBy,
})

Implementation

PostingsHistory({
  required this.entryCode,
  required this.referenceNumber,
  this.reversalReferenceNumber,
  required this.accountNumber,
  this.linkedAccountNumber,
  required this.realDate,
  required this.amount,
  required this.openingBalance,
  required this.balanceAfter,
  required this.narration,
  required this.instrumentNumber,
  required this.postingRecordType,
  required this.postedBy,
  required this.financialDate,
  this.financialDateToBackdate,
  this.ipAddress,
  required this.merchant,
  this.recipientName,
  this.senderName,
  this.recipientBank,
  this.senderBank,
  this.userId,
  required this.hasCotWaiver,
  required this.forceDebit,
  required this.postingType,
  required this.transactionMethod,
  this.sessionId,
  required this.charge,
  this.beneficiaryName,
  required this.allowChangeCategory,
  required this.categoryId,
  required this.categorySet,
  required this.tagId,
  this.beneficiaryReference,
  this.goalTitle,
  this.phoneNumberRecharged,
  this.billId,
  required this.tier0Waiver,
  this.detailOfClosure,
  this.reasonForClosure,
  this.closedBy,
});