PaymentConfig class

This is your payload that would be used to initialize all of your payments. Ensure to provide all required fields to avoid errors from the server.

Constructors

PaymentConfig({required String publicKey, required String txRef, required dynamic amount, required String baseCurrency, required String customer, required String customerFullName, required dynamic callback(int statuscode, String message, String data, Status paymentStatus), String? customerPhoneNumber})

Properties

amount ↔ dynamic
getter/setter pair
baseCurrency String
getter/setter pair
callback ↔ dynamic Function(int statuscode, String message, String data, Status paymentStatus)
This receives a Status code, message, Data (By the user) and Payment Status enum to be used when the payment ends
getter/setter pair
customer String
getter/setter pair
customerFullName String
getter/setter pair
customerPhoneNumber String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
meta Map<String, dynamic>?
getter/setter pair
publicKey String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
txRef String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited