TransactionStatusResponse class

Response model for transaction status check

Reference: https://docs.mobibox.io/docs/guides/checkout_integration#get_trans_status-by-payment_id

Payment statuses: prepare, settled, pending, 3ds, redirect, decline, refund, reversal, void, chargeback

Constructors

TransactionStatusResponse({String? status, String? paymentId, Map<String, dynamic>? order, String? date, String? reason, Map<String, dynamic>? customer})
TransactionStatusResponse.fromJson(Map<String, dynamic> json)
factory

Properties

customer → Map<String, dynamic>?
Customer details
final
date → String?
Date
final
hashCode → int
The hash code for this object.
no setterinherited
isFailed → bool
Check if transaction failed (decline)
no setter
isPending → bool
Check if transaction is pending
no setter
isProcessing → bool
Check if transaction is still processing (prepare or 3ds)
no setter
isSuccess → bool
Check if transaction was successful (settled)
no setter
order → Map<String, dynamic>?
Order details
final
paymentId → String?
Payment ID
final
reason → String?
Reason (if failed/declined)
final
requiresRedirect → bool
Check if transaction requires redirect
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
Payment status: prepare, settled, pending, 3ds, redirect, decline, refund, reversal, void, chargeback
final
statusDescription → String
Get human-readable status description
no setter

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