下单价格

请求参数

param

yuantong - 圆通
KG
请求数据
public void testBorderOfficialQueryPrice() throws Exception { PrintReq printReq = new PrintReq(); BOrderOfficialQueryPriceReq officialQueryPriceReq = new BOrderOfficialQueryPriceReq(); officialQueryPriceReq.setKuaidiCom("jtexpress"); officialQueryPriceReq.setSendManPrintAddr("深圳市南山区金蝶软件园"); officialQueryPriceReq.setRecManPrintAddr("北京市海淀区长春桥路"); String t = String.valueOf(System.currentTimeMillis()); String param = new Gson().toJson(officialQueryPriceReq); printReq.setKey(key); printReq.setSign(SignUtils.printSign(param,t,key,secret)); printReq.setT(t); printReq.setParam(param); printReq.setMethod(ApiInfoConstant.B_ORDER_OFFICIAL_PRICE_METHOD); IBaseClient bOrder = new BOrderOfficial(); System.out.println(bOrder.execute(printReq)); }