TransactionResponse class abstract

基础交易响应

Implementers

Constructors

TransactionResponse({bool isApproved = false, TransactionStatus transactionStatus = TransactionStatus.error, double? approvedAmount, HostResponse? host, CardInfo? card, EmvInfo? emv, String? errorMessage, String? signatureData, String? tpId})
const

Properties

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