LokotroPayOnError class
Error callback for failed payments
Constructors
- LokotroPayOnError({required String message, required String title, LokotroPayApiResponseCode? errorCode, String? identifier, String? customerReference, String? systemReference, double? amount, String? currency, String? successRedirectUrl, String? failRedirectUrl, DateTime? timestamp})
-
LokotroPayOnError.fromJson(Map<
String, dynamic> json) -
Factory constructor to create from raw API JSON response
factory
- LokotroPayOnError.fromLokotroPayError(LokotroPayError error)
-
factory
Properties
- amount → double?
-
final
- currency → String?
-
final
- customerReference → String?
-
final
- errorCode → LokotroPayApiResponseCode?
-
final
- failRedirectUrl → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String?
-
final
- message → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- successRedirectUrl → String?
-
final
- systemReference → String?
-
final
- timestamp → DateTime
-
final
- title → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited