LokotroPayOnResponse constructor

LokotroPayOnResponse({
  1. required String message,
  2. required String title,
  3. required String customRef,
  4. required double amount,
  5. required LokotroPayApiResponseCode apiResponseCode,
  6. required String currency,
  7. required LokotroPaymentStatus paymentStatus,
  8. required String systemRef,
  9. String? transactionId,
  10. String? identifier,
  11. String? customerReference,
  12. String? successRedirectUrl,
  13. String? failRedirectUrl,
  14. DateTime? timestamp,
})

Implementation

LokotroPayOnResponse({
  required this.message,
  required this.title,
  required this.customRef,
  required this.amount,
  required this.apiResponseCode,
  required this.currency,
  required this.paymentStatus,
  required this.systemRef,
  this.transactionId,
  this.identifier,
  this.customerReference,
  this.successRedirectUrl,
  this.failRedirectUrl,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();