Mpesa class

this class is used to define the mpesa request

Constructors

Mpesa(int amount, String phoneNumber, {String? accountReference, String? transactionDesc})
if account reference || transactionDesc is not defined its replaced with the phone number

Properties

accountReference String?
getter/setter pair
amount int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
phoneNumber String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionDesc 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