LiqPayResponse class
Base LiqPay response class
- Implementers
Constructors
- LiqPayResponse(String result, String status, {String? version, LiqPayAction? action, String? orderId, String? liqPayOrderId, String? publicKey, bool? is3ds, double? amount, String? description, LiqPayCurrency? currency, LiqPayLanguage? language})
-
const
-
LiqPayResponse.error(Map<
String, dynamic> json) -
factory
-
LiqPayResponse.success(Map<
String, dynamic> json) -
factory
Properties
- action → LiqPayAction?
-
Action used in request that resulted in this response.
final
- amount → double?
-
Payment amount used in request that resulted in this response.
final
- currency → LiqPayCurrency?
-
Payment currency used in request that resulted in this response.
final
- description → String?
-
Payment description used in request that resulted in this response.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- is3ds → bool?
-
Whether 3DS check was used during this payment.
final
- language → LiqPayLanguage?
-
Customer's language used in request that resulted in this response.
final
- liqPayOrderId → String?
-
Order id generated by LiqPay.
final
- orderId → String?
-
Order id specified during request.
final
- publicKey → String?
-
Public key used in request that resulted in this response.
final
- result → String
-
Result of the response.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
Status of the result.
final
- version → String?
-
Numeric API version (e.g. "3") returned as 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseCommon(
Map< String, dynamic> json) → LiqPayResponse - Protected method to parse common fields in the JSON response.