UpiResponse class

Represents the response received after a UPI (Unified Payments Interface) transaction.

This class includes fields such as transaction ID, response code, approval reference number, transaction status, and transaction reference ID. Instances of this class can be created using the UpiResponse.fromResponseString factory method, which parses a response string and builds an instance of UpiResponse.

Example Usage:

UpiResponse upiResponse = UpiResponse.fromResponseString(responseString);

Constructors

UpiResponse.fromResponseString(String responseString)
Factory method to create an instance of UpiResponse from a UPI response string.
factory

Properties

approvalReferenceNo String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
responseCode String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
getter/setter pair
transactionID String?
getter/setter pair
transactionReferenceId 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