UniPayResponse class
Constructors
-
UniPayResponse({String transactionId = "", UniPayStatus status = UniPayStatus.notSpecified, num amount = 0, num fee = 0, String description = "", String amountFormatted = "", String ip = "", String createdAt = "", String invoiceId = "", String errorMessage = "", UniPayTransactionDetails? transactionDetails, Map<
String, dynamic> ? metadata}) -
UniPayResponse.fromMap(Map<
String, dynamic> json) -
UniPayResponse.fromTamara(Map<
String, dynamic> json, String orderId)
Properties
- amount ↔ num
-
getter/setter pair
- amountFormatted ↔ String
-
getter/setter pair
- createdAt ↔ String
-
getter/setter pair
- currency ↔ UniPayCurrency
-
getter/setter pair
- description ↔ String
-
getter/setter pair
- errorMessage ↔ String
-
getter/setter pair
- fee ↔ num
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- invoiceId ↔ String
-
getter/setter pair
- ip ↔ String
-
getter/setter pair
-
metadata
↔ Map<
String, dynamic> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ UniPayStatus
-
getter/setter pair
- transactionDetails ↔ UniPayTransactionDetails
-
getter/setter pair
- transactionId ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited