FincraPaymentInitiate constructor

FincraPaymentInitiate({
  1. required String publicKey,
  2. required int amount,
  3. required String customerFirstName,
  4. required String customerLastName,
  5. required String customerEmail,
  6. required String customerPhone,
  7. Currency currency = Currency.ngn,
  8. FeeBearer feeBearer = FeeBearer.business,
  9. String? reference,
  10. List<String> paymentMethods = const [],
  11. String? defaultPaymentMethod,
})

Implementation

FincraPaymentInitiate({
  required this.publicKey,
  required this.amount,
  required this.customerFirstName,
  required this.customerLastName,
  required this.customerEmail,
  required this.customerPhone,
  this.currency = Currency.ngn,
  this.feeBearer = FeeBearer.business,
  this.reference,
  this.paymentMethods = const [],
  this.defaultPaymentMethod,
});