AuthorizationResponse class

Authorization transaction response

Inheritance

Constructors

AuthorizationResponse({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
AuthorizationResponse.fromMap(Map<String, dynamic> map)
factory

Properties

approvedAmount double?
Approved amount
finalinherited
card CardInfo?
Card information
finalinherited
emv EmvInfo?
EMV information
finalinherited
errorMessage String?
Error message if failed
finalinherited
hashCode int
The hash code for this object.
no setterinherited
host HostResponse?
Host response details
finalinherited
isApproved bool
Whether the transaction was approved
finalinherited
rawResponse Map<String, dynamic>?
Raw response data
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatureData String?
Signature data (base64 encoded)
finalinherited
tpId String?
triPOS transaction ID
finalinherited
transactionStatus TransactionStatus
Transaction status
finalinherited

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