PaymentRequest constructor

const PaymentRequest({
  1. required double amount,
  2. required String description,
  3. required String customerEmail,
  4. String? customerName,
  5. String? externalReference,
  6. String? successUrl,
  7. String? failureUrl,
})

Implementation

const PaymentRequest({
  required this.amount,
  required this.description,
  required this.customerEmail,
  this.customerName,
  this.externalReference,
  this.successUrl,
  this.failureUrl,
});