MpesaResponse class Null safety

Constructors

MpesaResponse.fromMap(int statusCode, Map<String, dynamic> rawResponse)

Properties

checkoutRequestID String?
This is a global unique identifier of the processed checkout transaction request.
read / write
conversationID String?
For every unique request made to M-PESA, a new ConversationID is generated and returned in the response. This ConversationID carries the response from M-PESA.
read / write
customerMessage String?
This is a message that your system can display to the Customer as an acknowledgement of the payment request submission.
read / write
errorCode String?
This is a predefined code that indicates the reason for request failure. This are defined in the Response Error Details below. The error codes maps to specific error message
read / write
errorMessage String?
This is a short descriptive message of the failure reason.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
merchantRequestID String?
This is a global unique Identifier for any submitted payment request.
read / write
originatorConversationID String?
The unique identifier of the transaction request, the purpose of this identifier is to track the transaction request. This is a global unique identifier for the transaction request returned by the API proxy upon successful request submission.
read / write
rawResponse Map<String, dynamic>
read / write
requestId String?
This is a unique requestID for the payment request
read / write
responseCode int?
This is a Numeric status code that indicates the status of the transaction submission. 0 means successful submission and any other code means an error occurred.
read / write
responseDescription String?
Response description is an acknowledgment message from the API that gives the status of the request submission usually maps to a specific ResponseCode value. It can be a Success submission message or an error description.
read / write
resultCode String?
read / write
resultDesc String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
statusCode int
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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