CallbackMetadata class
This is the JSON object that holds more details for the transaction. It is only returned for Successful transaction.
Constructors
-
CallbackMetadata.fromMap(Map<
String, dynamic> rawResponse)
Properties
- amount ↔ double?
-
This is the Amount that was transacted
read / write
- balance ↔ double?
-
This is the Balance of the account for the shortcode used as partyB
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- mpesaReceiptNumber ↔ String?
-
This is the unique M-PESA transaction ID for the payment request. Same value is sent to customer over SMS upon successful processing.
read / write
- phoneNumber ↔ String?
-
This is the number of the customer who made the payment.
read / write
-
rawResponse
↔ Map<
String, dynamic> -
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- transactionDate ↔ DateTime?
-
This is a timestamp that represents the date and time that the transaction completed in the formart YYYYMMDDHHmmss
read / write
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