电子面单下单

请求参数

param

NON : 只下单不打印(默认)
kuayue

recMan

sendMan

附加信息

KG
支付方式
产品类型
打印方向(默认0)

面单扩展属性

是否需要子单
是否需要回单
开启订阅功能
行政区域解析
是否脱敏
面单是否需要logo
false : 关闭(默认)
mm
mm

面单自定义参数

参数名参数值操作
请求数据
public void testPrintCloud() throws Exception{ ManInfo recManInfo = new ManInfo(); recManInfo.setName("李四"); recManInfo.setMobile("13812312345"); recManInfo.setPrintAddr("北京市海淀区长春桥路"); ManInfo sendManInfo = new ManInfo(); sendManInfo.setName("张三"); sendManInfo.setMobile("13012312345"); sendManInfo.setPrintAddr("深圳市南山区金蝶软件园"); PrintCloudParam printCloudParam = new PrintCloudParam(); printCloudParam.setKuaidiComs(CompanyConstant.ZJS); printCloudParam.setCount(1); printCloudParam.setSiid(siid); printCloudParam.setTempid("180c7c8f646742ca871a92c976392b05"); printCloudParam.setSendMan(sendManInfo); printCloudParam.setRecMan(recManInfo); String param = new Gson().toJson(printCloudParam); String t = System.currentTimeMillis() + ""; PrintReq printReq = new PrintReq(); printReq.setT(t); printReq.setKey(key); printReq.setMethod(ApiInfoConstant.ELECTRONIC_ORDER_PRINT_METHOD); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setParam(param); IBaseClient baseClient = new PrintCloud(); System.out.println(baseClient.execute(printReq)); }