2.3.订单详情OrderDetailType

参数 类型 必选 描述
orderId long 1 订单ID
merchantId long 1 商户ID
storeId long 1 门店ID
orderStatus int 1 订单状态。0:未处理;1:已确认;2:已完成;3:已取消;4:已拒绝;5:已作废;6:申请退款
orderType int 1 订单类型。1:自取;2:配送
orderSubType int 0..1 订单子类型,待定。
orderTime long 1 下单时间,数字时间戳,表示从 1970 年 1 月 1 日开始计算到 Date 对象中的时间之间的毫秒数
orderNo String 1 订单号
totalAmount BigDecimal 1 总金额
deskNumber String 0..1 桌号
contacts String 0..1 联系人
phone String 0..1 联系电话
address String 0..1 地址
selfTime String 0..1 自提时间,需要为String类型,无法提供Date格式
completeTime int 0..1 完成时间,数字时间戳
notes String 0..1 用户备注
payStatus String 1 支付状态 0 未支付 1 已支付 2 已退款 3 退款中 4 退款失败 5 申请退款 6 拒绝退款
takeMealNo String 1 取单号
deliveryFee BigDecimal 0..1 配送费
merchantComment String 0..1 商户备注
merchantCommentTime int 0..1 商户备注时间,数字时间戳
goodList GoodType 0..N 商品列表
marketDiscountAmount BigDecimal 1 优惠金额
cardAmount BigDecimal 0..1 卡券抵扣金额
balanceAmount BigDecimal 0..1 会员卡余额抵扣金额
pointAmount BigDecimal 0..1 积分抵扣金额
memberCardDiscountAmount BigDecimal 0..1 会员折扣抵扣金额
paidAmount BigDecimal 1 实付金额
userId String 0..1 用户ID
payWay Integer 1 支付方式。-1:未知,0:无实付,1:货到付款,2:微信支付,3:支付宝,4:线下支付,5:其他支付,6:银联支付,7:现金支付
businessMode Integer 0..1 快餐业务模式: 1:按单号取餐, 2:排队取餐, 3:按桌号取餐

results matching ""

    No results matching ""