Skip to content

Commit a9c5b32

Browse files
author
wuweilin
committed
commit: 新增三个特性
* 电子面单新增箱码支持 * 查询和地图支持needCourierInfo * 价格接口支持跨越monthlyCard
1 parent 09cf334 commit a9c5b32

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

src/main/java/com/kuaidi100/sdk/request/PriceQueryParam.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ public class PriceQueryParam extends BaseRequest {
2626
* 重量,默认单位为kg,参数无需带单位,如1.0
2727
*/
2828
private double weight;
29+
2930
/**
30-
* 月结账户编号
31+
* 月结账户编码字段,查询月结账户专属价格,跨越必传
3132
*/
3233
private String monthlyCard;
3334
}

src/main/java/com/kuaidi100/sdk/request/QueryTrackParam.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,13 @@ public class QueryTrackParam {
4444
* 返回结果排序方式。desc:降序(默认),asc:升序
4545
*/
4646
private String order = "desc";
47+
/**
48+
* 语言类型。zh:中文(默认),en:英文
49+
*/
50+
private String lang;
51+
52+
/**
53+
* 默认为false,当入参为true时,会尝试从物流轨迹中提取出快递员姓名和快递员电话并返回
54+
*/
55+
private Boolean needCourierInfo;
4756
}

src/main/java/com/kuaidi100/sdk/request/labelV2/OrderReq.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,4 +309,9 @@ public class OrderReq {
309309
* 接口版本
310310
*/
311311
private int billVersion;
312+
313+
/**
314+
* 新增字段,箱码字段。第一个为母单箱码,其他为子单箱码。
315+
*/
316+
private List<String> boxNo;
312317
}

src/main/java/com/kuaidi100/sdk/response/QueryTrackResp.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class QueryTrackResp {
4343
*/
4444
private String condition;
4545
/**
46-
* 物流位置信息
46+
* 轨迹位置信息
4747
*/
4848
private QueryTrackRouteInfo routeInfo;
4949
/**
@@ -74,4 +74,13 @@ public class QueryTrackResp {
7474
* 是否存在环路
7575
*/
7676
private Boolean isLoop;
77+
78+
/**
79+
* 从物流轨迹中提取出的快递员信息,当且仅当入参needCourierInfo=True时会返回
80+
* pickupManName:揽件快递员姓名,例如:"张三",如提取不到会返回空字符串
81+
* pickupManPhone:揽件快递员手机号,格式为:"12335467890",如提取出多个手机号,会使用逗号分隔,例如"1234567890,1983782937",提取不到会返回空字符串
82+
* deliveryManName:派件快递员姓名,例如:"李四",如提取不到会返回空字符串
83+
* deliveryManPhone:派件快递员手机号,格式为:"12335467890",如提取出多个手机号,会使用逗号分隔,例如"1234567890,1983782937",提取不到会返回空字符串
84+
*/
85+
private String courierInfo;
7786
}

0 commit comments

Comments
 (0)