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
getter/setter pair
- balance ↔ double?
-
This is the Balance of the account for the shortcode used as partyB
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
getter/setter pair
- phoneNumber ↔ String?
-
This is the number of the customer who made the payment.
getter/setter pair
-
rawResponse
↔ Map<
String, dynamic> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionDate ↔ DateTime?
-
This is a timestamp that represents the date and time that the transaction completed in the formart YYYYMMDDHHmmss
getter/setter pair
Methods
-
asMap(
) → Map< String, dynamic> -
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