1
|
|
|
<?php |
2
|
|
|
namespace Com\Pdd\Pop\Sdk\Api\Request; |
3
|
|
|
|
4
|
|
|
use Com\Pdd\Pop\Sdk\PopBaseHttpRequest; |
5
|
|
|
use Com\Pdd\Pop\Sdk\PopBaseJsonEntity; |
6
|
|
|
|
7
|
|
|
class PddWmsOrderstateSendRequest extends PopBaseHttpRequest |
8
|
|
|
{ |
9
|
|
|
public function __construct() |
10
|
|
|
{ |
11
|
|
|
|
12
|
|
|
} |
13
|
|
|
/** |
14
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_Request, "request") |
15
|
|
|
*/ |
16
|
|
|
private $request; |
17
|
|
|
|
18
|
|
|
protected function setUserParams(&$params) |
19
|
|
|
{ |
20
|
|
|
$this->setUserParam($params, "request", $this->request); |
21
|
|
|
|
22
|
|
|
} |
23
|
|
|
|
24
|
|
|
public function getVersion() |
25
|
|
|
{ |
26
|
|
|
return "V1"; |
27
|
|
|
} |
28
|
|
|
|
29
|
|
|
public function getDataType() |
30
|
|
|
{ |
31
|
|
|
return "JSON"; |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
public function getType() |
35
|
|
|
{ |
36
|
|
|
return "pdd.wms.orderstate.send"; |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
public function setRequest($request) |
40
|
|
|
{ |
41
|
|
|
$this->request = $request; |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
} |
45
|
|
|
|
46
|
|
|
class PddWmsOrderstateSendRequest_Request extends PopBaseJsonEntity |
47
|
|
|
{ |
48
|
|
|
|
49
|
|
|
public function __construct() |
50
|
|
|
{ |
51
|
|
|
|
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
/** |
55
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestOrder, "order") |
56
|
|
|
*/ |
57
|
|
|
private $order; |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestOrderLinesItem>, "orderLines") |
61
|
|
|
*/ |
62
|
|
|
private $orderLines; |
63
|
|
|
|
64
|
|
|
/** |
65
|
|
|
* @JsonProperty(String, "ownerCode") |
66
|
|
|
*/ |
67
|
|
|
private $ownerCode; |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestProcess, "process") |
71
|
|
|
*/ |
72
|
|
|
private $process; |
73
|
|
|
|
74
|
|
|
public function setOrder($order) |
75
|
|
|
{ |
76
|
|
|
$this->order = $order; |
77
|
|
|
} |
78
|
|
|
|
79
|
|
|
public function setOrderLines($orderLines) |
80
|
|
|
{ |
81
|
|
|
$this->orderLines = $orderLines; |
82
|
|
|
} |
83
|
|
|
|
84
|
|
|
public function setOwnerCode($ownerCode) |
85
|
|
|
{ |
86
|
|
|
$this->ownerCode = $ownerCode; |
87
|
|
|
} |
88
|
|
|
|
89
|
|
|
public function setProcess($process) |
90
|
|
|
{ |
91
|
|
|
$this->process = $process; |
92
|
|
|
} |
93
|
|
|
|
94
|
|
|
} |
95
|
|
|
|
96
|
|
|
class PddWmsOrderstateSendRequest_RequestOrder extends PopBaseJsonEntity |
97
|
|
|
{ |
98
|
|
|
|
99
|
|
|
public function __construct() |
100
|
|
|
{ |
101
|
|
|
|
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
/** |
105
|
|
|
* @JsonProperty(String, "orderCode") |
106
|
|
|
*/ |
107
|
|
|
private $orderCode; |
108
|
|
|
|
109
|
|
|
/** |
110
|
|
|
* @JsonProperty(String, "orderType") |
111
|
|
|
*/ |
112
|
|
|
private $orderType; |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* @JsonProperty(String, "warehouseCode") |
116
|
|
|
*/ |
117
|
|
|
private $warehouseCode; |
118
|
|
|
|
119
|
|
|
public function setOrderCode($orderCode) |
120
|
|
|
{ |
121
|
|
|
$this->orderCode = $orderCode; |
122
|
|
|
} |
123
|
|
|
|
124
|
|
|
public function setOrderType($orderType) |
125
|
|
|
{ |
126
|
|
|
$this->orderType = $orderType; |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
public function setWarehouseCode($warehouseCode) |
130
|
|
|
{ |
131
|
|
|
$this->warehouseCode = $warehouseCode; |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
} |
135
|
|
|
|
136
|
|
|
class PddWmsOrderstateSendRequest_RequestOrderLinesItem extends PopBaseJsonEntity |
137
|
|
|
{ |
138
|
|
|
|
139
|
|
|
public function __construct() |
140
|
|
|
{ |
141
|
|
|
|
142
|
|
|
} |
143
|
|
|
|
144
|
|
|
/** |
145
|
|
|
* @JsonProperty(String, "inventoryType") |
146
|
|
|
*/ |
147
|
|
|
private $inventoryType; |
148
|
|
|
|
149
|
|
|
/** |
150
|
|
|
* @JsonProperty(String, "parentWareSn") |
151
|
|
|
*/ |
152
|
|
|
private $parentWareSn; |
153
|
|
|
|
154
|
|
|
/** |
155
|
|
|
* @JsonProperty(String, "quantity") |
156
|
|
|
*/ |
157
|
|
|
private $quantity; |
158
|
|
|
|
159
|
|
|
/** |
160
|
|
|
* @JsonProperty(String, "wareSn") |
161
|
|
|
*/ |
162
|
|
|
private $wareSn; |
163
|
|
|
|
164
|
|
|
public function setInventoryType($inventoryType) |
165
|
|
|
{ |
166
|
|
|
$this->inventoryType = $inventoryType; |
167
|
|
|
} |
168
|
|
|
|
169
|
|
|
public function setParentWareSn($parentWareSn) |
170
|
|
|
{ |
171
|
|
|
$this->parentWareSn = $parentWareSn; |
172
|
|
|
} |
173
|
|
|
|
174
|
|
|
public function setQuantity($quantity) |
175
|
|
|
{ |
176
|
|
|
$this->quantity = $quantity; |
177
|
|
|
} |
178
|
|
|
|
179
|
|
|
public function setWareSn($wareSn) |
180
|
|
|
{ |
181
|
|
|
$this->wareSn = $wareSn; |
182
|
|
|
} |
183
|
|
|
|
184
|
|
|
} |
185
|
|
|
|
186
|
|
|
class PddWmsOrderstateSendRequest_RequestProcess extends PopBaseJsonEntity |
187
|
|
|
{ |
188
|
|
|
|
189
|
|
|
public function __construct() |
190
|
|
|
{ |
191
|
|
|
|
192
|
|
|
} |
193
|
|
|
|
194
|
|
|
/** |
195
|
|
|
* @JsonProperty(String, "operateInfo") |
196
|
|
|
*/ |
197
|
|
|
private $operateInfo; |
198
|
|
|
|
199
|
|
|
/** |
200
|
|
|
* @JsonProperty(String, "operateTime") |
201
|
|
|
*/ |
202
|
|
|
private $operateTime; |
203
|
|
|
|
204
|
|
|
/** |
205
|
|
|
* @JsonProperty(String, "processStatus") |
206
|
|
|
*/ |
207
|
|
|
private $processStatus; |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* @JsonProperty(String, "remark") |
211
|
|
|
*/ |
212
|
|
|
private $remark; |
213
|
|
|
|
214
|
|
|
public function setOperateInfo($operateInfo) |
215
|
|
|
{ |
216
|
|
|
$this->operateInfo = $operateInfo; |
217
|
|
|
} |
218
|
|
|
|
219
|
|
|
public function setOperateTime($operateTime) |
220
|
|
|
{ |
221
|
|
|
$this->operateTime = $operateTime; |
222
|
|
|
} |
223
|
|
|
|
224
|
|
|
public function setProcessStatus($processStatus) |
225
|
|
|
{ |
226
|
|
|
$this->processStatus = $processStatus; |
227
|
|
|
} |
228
|
|
|
|
229
|
|
|
public function setRemark($remark) |
230
|
|
|
{ |
231
|
|
|
$this->remark = $remark; |
232
|
|
|
} |
233
|
|
|
|
234
|
|
|
} |
235
|
|
|
|