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.

Properties

b64keySecret String
final
baseUrl String
final
consumerKey String
setup values
final
consumerSecret String
final
hashCode int
The hash code for this object.
no setterinherited
mAccessExpiresAt DateTime?
getter/setter pair
mAccessToken String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Operators

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