Payment constructor

Payment({
  1. required String id,
  2. Decimal? amount,
  3. String? beneficiaryId,
  4. String? currency,
  5. String? reference,
  6. String? reason,
  7. String? status,
  8. String? creatorContactId,
  9. PaymentType? paymentType,
  10. String? paymentDate,
  11. String? transferredAt,
  12. String? authorisationStepsRequired,
  13. String? lastUpdaterContactId,
  14. String? shortReference,
  15. String? conversionId,
  16. String? failureReason,
  17. String? payerId,
  18. String? payerDetailsSource,
  19. DateTime? createdAt,
  20. DateTime? updatedAt,
  21. String? paymentGroupId,
  22. String? uniqueRequestId,
  23. Decimal? failureReturnedAmount,
  24. String? ultimateBeneficiaryName,
})

Implementation

Payment({
  required this.id,
  this.amount,
  this.beneficiaryId,
  this.currency,
  this.reference,
  this.reason,
  this.status,
  this.creatorContactId,
  this.paymentType,
  this.paymentDate,
  this.transferredAt,
  this.authorisationStepsRequired,
  this.lastUpdaterContactId,
  this.shortReference,
  this.conversionId,
  this.failureReason,
  this.payerId,
  this.payerDetailsSource,
  this.createdAt,
  this.updatedAt,
  this.paymentGroupId,
  this.uniqueRequestId,
  this.failureReturnedAmount,
  this.ultimateBeneficiaryName,
});