CreateTokenWithTransactionIdResponse class

使用交易 ID 创建 Token 响应

Constructors

CreateTokenWithTransactionIdResponse({required bool success, String? tokenId, String? expirationDate, String? bin, String? last4, String? errorMessage})
const
CreateTokenWithTransactionIdResponse.fromMap(Map<String, dynamic> map)
factory

Properties

bin String?
BIN (前 6 位)
final
卡 Logo/品牌
final
errorMessage String?
错误消息
final
expirationDate String?
过期日期
final
hashCode int
The hash code for this object.
no setterinherited
last4 String?
后 4 位
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
Token 创建是否成功
final
tokenId String?
Token ID
final

Methods

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

Operators

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