PaymentConfig constructor

PaymentConfig({
  1. required String publicKey,
  2. required String txRef,
  3. required dynamic amount,
  4. required String baseCurrency,
  5. required String customer,
  6. required String customerFullName,
  7. required dynamic callback(
    1. int statuscode,
    2. String message,
    3. String data,
    4. Status paymentStatus,
    ),
  8. String? customerPhoneNumber,
})

Implementation

PaymentConfig(
    {required this.publicKey,
    required this.txRef,
    required this.amount,
    required this.baseCurrency,
    required this.customer,
    required this.customerFullName,
    required this.callback,
    this.customerPhoneNumber});