LiqPayOrder class
Constructors
- LiqPayOrder(String id, double amount, String description, {LiqPayCard? card, String? serverUrl, LiqPayAction action = LiqPayAction.pay, LiqPayCurrency currency = LiqPayCurrency.uah, LiqPayLanguage? language = LiqPayLanguage.uk})
-
const
-
LiqPayOrder.fromJson(Map<
String, dynamic> json) -
factory
Properties
- action → LiqPayAction
-
Payment action
final
- amount → double
-
Payment amount. For example: 5, 7.34
final
- card → LiqPayCard?
-
Card details (number, cvv etc.)
final
- currency → LiqPayCurrency
-
Payment currency
final
- description → String
-
Payment description.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique purchase identifier in your shop.
Maximum length is
255
symbols.final - language → LiqPayLanguage?
-
Customer's language.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverUrl → String?
-
URL API for notifications of payment status change (server -> server).
Maximum length is
510
symbols. More details here: https://www.liqpay.ua/en/documentation/api/callbackfinal
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited