PaymentResponse constructor

PaymentResponse({
  1. required String id,
  2. required String actionId,
  3. required int amount,
  4. required bool approved,
  5. required String status,
  6. required String responseCode,
  7. PaymentMethod? type,
  8. required String token,
  9. required String reference,
  10. required String description,
  11. required Customer customer,
  12. required String currency,
  13. required String processedOn,
})

Implementation

PaymentResponse({
  required this.id,
  required this.actionId,
  required this.amount,
  required this.approved,
  required this.status,
  required this.responseCode,
  this.type,
  required this.token,
  required this.reference,
  required this.description,
  required this.customer,
  required this.currency,
  required this.processedOn,
});