PaymentResponse constructor

PaymentResponse({
  1. required String reference,
  2. required PaymentStatus status,
  3. required int amount,
  4. required Currency currency,
  5. required PaymentMethod paymentMethod,
  6. String? gatewayResponse,
  7. Map<String, dynamic>? rawResponse,
  8. DateTime? createdAt,
})

Implementation

PaymentResponse({
  required this.reference,
  required this.status,
  required this.amount,
  required this.currency,
  required this.paymentMethod,
  this.gatewayResponse,
  this.rawResponse,
  this.createdAt,
});