PaymentRequest constructor

const PaymentRequest({
  1. required double amount,
  2. required String currency,
  3. required String description,
  4. required String orderId,
  5. String? successUrl,
  6. String? cancelUrl,
  7. String? customerEmail,
  8. String? customerName,
  9. String? customerPhone,
  10. Map<String, dynamic>? metadata,
  11. String? returnUrl,
})

Implementation

const PaymentRequest({
  required this.amount,
  required this.currency,
  required this.description,
  required this.orderId,
  this.successUrl,
  this.cancelUrl,
  this.customerEmail,
  this.customerName,
  this.customerPhone,
  this.metadata,
  this.returnUrl,
});