1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
package com.yanzuoguang.wxxcx.logistics.vo;
/***
* 商户下单数据,格式是商户侧下单 API 中的请求体
*
* @author:heyanou
*/
public class LogisticsCustom {
/***
* <p>
* 是否必填:是
* 描述:订单ID,须保证全局唯一,不超过512字节
* </p>
*/
private String order_id;
/***
* <p>
* 是否必填:否
* 描述:用户openid,当add_source=2时无需填写(不发送物流服务通知)
* </p>
*/
private String openid;
/***
* <p>
* 是否必填:是
* 描述:快递公司ID,参见getAllDelivery
* </p>
*/
private String delivery_id;
/***
* <p>
* 是否必填:是
* 描述:快递客户编码或者现付编码
* </p>
*/
private String biz_id;
/***
* <p>
* 是否必填:否
* 描述:快递备注信息,比如"易碎物品",不超过1024字节,该字段会体现在电子面单上
* </p>
*/
private String custom_remark;
/***
* <p>
* 是否必填:是
* 描述:发件人信息
* </p>
*/
private LogisticsSender sender;
/***
* <p>
* 是否必填:是
* 描述:收件人信息
* </p>
*/
private LogisticsSender receiver;
/***
* <p>
* 是否必填:是
* 描述:包裹信息,将传递给快递公司
* </p>
*/
private LogisticsCargo cargo;
/***
* <p>
* 是否必填:是
* 描述:商品信息,会展示到物流服务通知和电子面单中
* </p>
*/
private LogisticsShop shop;
/***
* <p>
* 是否必填:是
* 描述:保价信息
* </p>
*/
private LogisticsInsured insured;
/***
* <p>
* 是否必填:是
* 描述:服务类型
* </p>
*/
private LogisticsService service;
public String getOrder_id() {
return order_id;
}
public void setOrder_id(String order_id) {
this.order_id = order_id;
}
public String getOpenid() {
return openid;
}
public void setOpenid(String openid) {
this.openid = openid;
}
public String getDelivery_id() {
return delivery_id;
}
public void setDelivery_id(String delivery_id) {
this.delivery_id = delivery_id;
}
public String getBiz_id() {
return biz_id;
}
public void setBiz_id(String biz_id) {
this.biz_id = biz_id;
}
public String getCustom_remark() {
return custom_remark;
}
public void setCustom_remark(String custom_remark) {
this.custom_remark = custom_remark;
}
public LogisticsSender getSender() {
return sender;
}
public void setSender(LogisticsSender sender) {
this.sender = sender;
}
public LogisticsSender getReceiver() {
return receiver;
}
public void setReceiver(LogisticsSender receiver) {
this.receiver = receiver;
}
public LogisticsCargo getCargo() {
return cargo;
}
public void setCargo(LogisticsCargo cargo) {
this.cargo = cargo;
}
public LogisticsShop getShop() {
return shop;
}
public void setShop(LogisticsShop shop) {
this.shop = shop;
}
public LogisticsInsured getInsured() {
return insured;
}
public void setInsured(LogisticsInsured insured) {
this.insured = insured;
}
public LogisticsService getService() {
return service;
}
public void setService(LogisticsService service) {
this.service = service;
}
}