PaymentProcessingResponse class
Response model for payment processing
Response Parameters (from Mobibox API):
- result: String - Possible values: success, decline, redirect, waiting, undefined
- redirect_url: String - URL to redirect to (if result = redirect)
- redirect_params: Array - If present, redirect must use POST method; otherwise use GET
- decline_message: String - Decline message (if result = decline)
- public_id: String - Unique identifier of the payment
Constructors
Properties
- declineMessage → String?
-
Decline message (if result = decline)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicId → String?
-
Unique identifier of the payment
final
-
redirectParams
→ List<
Map< ?String, dynamic> > -
Redirect parameters array (if present, redirect must use POST method; otherwise use GET)
final
-
redirectParamsMap
→ Map<
String, dynamic> ? -
Get redirect params as a single map (for easier access to transaction details)
no setter
- redirectUrl → String?
-
Redirect URL (if result = redirect)
final
- requiresPostRedirect → bool
-
Check if redirect requires POST method (if redirect_params is present)
no setter
- result → String
-
Transaction result: 'success', 'decline', 'redirect', 'waiting', 'undefined'
final
-
returnUrlQueryParams
→ Map<
String, dynamic> ? -
Return URL query parameters (contains transaction details like payment_id, trans_id, etc.)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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