RequestHandler class
Constructors
-
RequestHandler({required String consumerKey, required String consumerSecret, required String baseUrl})
-
For instantiation, create the key secret on the fly with received values.
Methods
-
generatePassword({required String mPassKey, required String mShortCode, required String actualTimeStamp})
→ String
-
-
generateSTKPushUrl()
→ Uri
-
-
getAuthUrl()
→ Uri
-
-
mSTKRequest({required String mBusinessShortCode, required String nPassKey, required String mTransactionType, required String mTimeStamp, required double mAmount, required String partyA, required String partyB, required String mPhoneNumber, required Uri mCallBackURL, required String mAccountReference, String? mTransactionDesc})
→ Future<Map<String, String>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setAccessToken()
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited