IntramWebViewPayment constructor

const IntramWebViewPayment({
  1. Key? key,
  2. required String publicKey,
  3. required int amount,
  4. required bool sandbox,
  5. String currency = 'xof',
  6. required String companyName,
  7. String? color,
  8. String? logoUrl,
  9. String? callbackUrl,
  10. required dynamic onPaymentComplete(
    1. Map<String, dynamic> result
    ),
})

Implementation

const IntramWebViewPayment({
  super.key,
  required this.publicKey,
  required this.amount,
  required this.sandbox,
  this.currency = 'xof',
  required this.companyName,
  this.color,
  this.logoUrl,
  this.callbackUrl,
  required this.onPaymentComplete,
});