TransactionResponse class abstract
Base transaction response
- Implementers
Constructors
-
TransactionResponse({bool isApproved = false, TransactionStatus transactionStatus = TransactionStatus.error, double? approvedAmount, HostResponse? host, CardInfo? card, EmvInfo? emv, String? errorMessage, String? signatureData, String? tpId, Map<
String, dynamic> ? rawResponse}) -
const
Properties
- approvedAmount → double?
-
Approved amount
final
- card → CardInfo?
-
Card information
final
- emv → EmvInfo?
-
EMV information
final
- errorMessage → String?
-
Error message if failed
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → HostResponse?
-
Host response details
final
- isApproved → bool
-
Whether the transaction was approved
final
-
rawResponse
→ Map<
String, dynamic> ? -
Raw response data
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signatureData → String?
-
Signature data (base64 encoded)
final
- tpId → String?
-
triPOS transaction ID
final
- transactionStatus → TransactionStatus
-
Transaction status
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