feat:对接读写卡器
feat:优化用户下拉框搜索 feat:优化下单卡顿问题 feat:优化商户列表样式
This commit is contained in:
1 parent
ceff6c8831
commit
ba7e31dbd8
3 files changed
+116
-3
No files matched your search
@@ -1097,6 +1097,40 @@ class ServiceHardCreateHardQrCodeScanOrder {
|
||||
_$ServiceHardCreateHardQrCodeScanOrderToJson(this);
|
||||
}
|
||||
|
||||
/// 终端按本地订单号对账查询到的服务端订单最小状态。
|
||||
///
|
||||
/// 创建订单请求超时后用于确认服务端是否已建单扣款;手写 fromJson,
|
||||
/// 不参与 json_serializable 代码生成。
|
||||
class ServiceOrderByAndroidCode {
|
||||
/// 服务端订单 ID
|
||||
String orderId;
|
||||
|
||||
/// 订单状态编码(5=已支付)
|
||||
String orderStatus;
|
||||
|
||||
/// 支付方式编码
|
||||
String payType;
|
||||
|
||||
/// 实付金额(分)
|
||||
int payPrice;
|
||||
|
||||
ServiceOrderByAndroidCode({
|
||||
required this.orderId,
|
||||
required this.orderStatus,
|
||||
required this.payType,
|
||||
required this.payPrice,
|
||||
});
|
||||
|
||||
factory ServiceOrderByAndroidCode.fromJson(Map<String, dynamic> json) {
|
||||
return ServiceOrderByAndroidCode(
|
||||
orderId: '${json['orderId']}',
|
||||
orderStatus: '${json['orderStatus']}',
|
||||
payType: '${json['payType']}',
|
||||
payPrice: (json['payPrice'] as num?)?.toInt() ?? 0,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/// 收银终端支付宝、微信聚合订单码创建结果。
|
||||
///
|
||||
/// 该模型只接收 `AGGREGATE_ORDER_PAY` HTTPS 收银地址,不承载自有钱包码或平台原生码。
|
||||
|
||||
Reference in new issue
Block a user