LokotroPayResponse class
Main payment response model
Constructors
-
LokotroPayResponse({required String message, required String title, required String customRef, required double amount, required LokotroPayApiResponseCode apiResponseCode, required String currency, required LokotroPaymentStatus paymentStatus, required String systemRef, String? transactionId, String? identifier, String? successRedirectUrl, String? failRedirectUrl, DateTime? timestamp, Map<
String, dynamic> ? metadata}) -
LokotroPayResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount → double
-
final
- apiResponseCode → LokotroPayApiResponseCode
-
final
- currency → String
-
final
- customRef → String
-
final
- failRedirectUrl → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String?
-
final
- isFailure → bool
-
no setter
- isSuccess → bool
-
no setter
- message → String
-
final
-
metadata
→ Map<
String, dynamic> ? -
final
- paymentStatus → LokotroPaymentStatus
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successRedirectUrl → String?
-
final
- systemRef → String
-
final
- timestamp → DateTime?
-
final
- title → String
-
final
- transactionId → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited