LokotroPayOnError constructor

LokotroPayOnError({
  1. required String message,
  2. required String title,
  3. LokotroPayApiResponseCode? errorCode,
  4. String? identifier,
  5. String? customerReference,
  6. String? systemReference,
  7. double? amount,
  8. String? currency,
  9. String? successRedirectUrl,
  10. String? failRedirectUrl,
  11. DateTime? timestamp,
})

Implementation

LokotroPayOnError({
  required this.message,
  required this.title,
  this.errorCode,
  this.identifier,
  this.customerReference,
  this.systemReference,
  this.amount,
  this.currency,
  this.successRedirectUrl,
  this.failRedirectUrl,
  DateTime? timestamp,
}) : timestamp = timestamp ?? DateTime.now();