Mpesa class

Constructors

Mpesa(String consumerKey, String consumerSecret)

Properties

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

Methods

b2c(String initiatorName, String securityCredential, String? commandid, int amount, String partyA, String partyB, String remarks, Uri queueTimeOutURL, Uri resultURL, {String? occasion}) 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

Static Methods

getAuthUrl() Uri
getB2cUrl() Uri

Constants

baseSafaricomUrl → const String