FlutterwavePaymentManager constructor

FlutterwavePaymentManager({
  1. required String publicKey,
  2. required String encryptionKey,
  3. required String currency,
  4. required String amount,
  5. required String email,
  6. required String fullName,
  7. required String txRef,
  8. required bool isDebugMode,
  9. required String phoneNumber,
  10. String? country,
  11. bool acceptAccountPayment = false,
  12. bool acceptBankTransferPayment = false,
  13. bool acceptCardPayment = false,
  14. bool acceptUSSDPayment = false,
  15. bool acceptUKAccountPayment = false,
  16. bool acceptSouthAfricaBankPayment = false,
  17. bool acceptRwandaMoneyPayment = false,
  18. bool acceptMpesaPayment = false,
  19. bool acceptZambiaPayment = false,
  20. bool acceptGhanaPayment = false,
  21. bool acceptUgandaPayment = false,
  22. bool acceptFancophoneMobileMoney = false,
  23. bool acceptBarterPayment = false,
  24. bool acceptVoucherPayment = false,
  25. int? frequency,
  26. int? duration,
  27. bool? isPermanent,
  28. String? narration,
  29. String? redirectUrl,
  30. String? network = "",
})

FlutterwavePaymentManager Constructor

Implementation

FlutterwavePaymentManager(
    {required this.publicKey,
    required this.encryptionKey,
    required this.currency,
    required this.amount,
    required this.email,
    required this.fullName,
    required this.txRef,
    required this.isDebugMode,
    required this.phoneNumber,
    this.country,
    this.acceptAccountPayment = false,
    this.acceptBankTransferPayment = false,
    this.acceptCardPayment = false,
    this.acceptUSSDPayment = false,
    this.acceptUKAccountPayment = false,
    this.acceptSouthAfricaBankPayment = false,
    this.acceptRwandaMoneyPayment = false,
    this.acceptMpesaPayment = false,
    this.acceptZambiaPayment = false,
    this.acceptGhanaPayment = false,
    this.acceptUgandaPayment = false,
    this.acceptFancophoneMobileMoney = false,
    this.acceptBarterPayment = false,
    this.acceptVoucherPayment = false,
    this.frequency,
    this.duration,
    this.isPermanent,
    this.narration,
    this.redirectUrl,
    this.network = ""});