PaymentSessionInquiryResult class

Result of GET /gateway/paymentsession/inquire; a lightweight status check, distinct from PaymentSessionDetails.

Constructors

PaymentSessionInquiryResult({required int transactionId, required String? orderId, required String? paymentSessionGuid, required String? status, required String? code, required String? message, required String? timestamp, required num amount})
PaymentSessionInquiryResult.fromJson(Map<String, dynamic> json)
factory

Properties

amount → num
final
code → String?
final
hashCode → int
The hash code for this object.
no setterinherited
isSuccess → bool
true when code == "0000" or status is "success" (case-insensitive).
no setter
message → String?
final
orderId → String?
final
paymentSessionGuid → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
final
timestamp → String?
final
transactionId → int
final

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