VoidResponse class

Void transaction response

Inheritance

Constructors

VoidResponse({bool isApproved = false, TransactionStatus transactionStatus = TransactionStatus.error, double? approvedAmount, HostResponse? host, CardInfo? card, EmvInfo? emv, String? errorMessage, String? signatureData, String? tpId})
const
VoidResponse.fromMap(Map<String, dynamic> map)
factory

Properties

approvedAmount double?
批准金额
finalinherited
card CardInfo?
卡信息
finalinherited
emv EmvInfo?
EMV 信息
finalinherited
errorMessage String?
失败时的错误消息
finalinherited
hashCode int
The hash code for this object.
no setterinherited
host HostResponse?
主机响应详情
finalinherited
isApproved bool
交易是否被批准
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatureData String?
签名数据 (Base64 编码)
finalinherited
tpId String?
triPOS 交易 ID
finalinherited
transactionStatus TransactionStatus
交易状态
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON map
toStoredTransactionRecord() StoredTransactionRecord
Convert to StoredTransactionRecord for display
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited