PaymentRequest constructor

PaymentRequest({
  1. required PaymentSourceType type,
  2. bool isPayout = false,
  3. String? token = "",
  4. String? cardId,
  5. required int amount,
  6. required String reference,
  7. required String description,
  8. required Customer customer,
  9. required String currency,
  10. bool is3dsEnabled = false,
})

Implementation

PaymentRequest({
  required this.type,
  this.isPayout = false,
  this.token = "",
  this.cardId,
  required this.amount,
  required this.reference,
  required this.description,
  required this.customer,
  required this.currency,
  this.is3dsEnabled = false,
});