Transaction constructor

Transaction({
  1. int? id,
  2. int? merchantId,
  3. int? userId,
  4. int? applicationId,
  5. String? currencyCode,
  6. int? amount,
  7. int? type,
  8. int? paymentMethodId,
  9. bool? isWaiting,
  10. bool? isCanceled,
  11. bool? isApprouved,
  12. String? canceledAt,
  13. String? approuvedAt,
  14. String? status,
  15. String? deletedAt,
  16. String? createdAt,
  17. String? updatedAt,
  18. String? reference,
  19. String? designation,
  20. String? clientReference,
  21. String? reason,
  22. String? notifUrl,
  23. String? errorMetaTransaction,
  24. String? buyerReference,
  25. String? orangePaymentUrl,
  26. String? orangePayToken,
  27. String? buyerName,
  28. String? paymentMethodCode,
  29. String? phoneNumber,
  30. bool? isInitiated,
  31. bool? isCompleted,
})

Implementation

Transaction(
    {this.id,
      this.merchantId,
      this.userId,
      this.applicationId,
      this.currencyCode,
      this.amount,
      this.type,
      this.paymentMethodId,
      this.isWaiting,
      this.isCanceled,
      this.isApprouved,
      this.canceledAt,
      this.approuvedAt,
      this.status,
      this.deletedAt,
      this.createdAt,
      this.updatedAt,
      this.reference,
      this.designation,
      this.clientReference,
      this.reason,
      this.notifUrl,
      this.errorMetaTransaction,
      this.buyerReference,
      this.orangePaymentUrl,
      this.orangePayToken,
      this.buyerName,
      this.paymentMethodCode,
      this.phoneNumber,
      this.isInitiated,
      this.isCompleted
    });