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 PddWmsDeliveryorderConfirmRequest extends PopBaseHttpRequest |
8
|
|
|
{ |
9
|
|
|
public function __construct() |
10
|
|
|
{ |
11
|
|
|
|
12
|
|
|
} |
13
|
|
|
/** |
14
|
|
|
* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsDeliveryorderConfirmRequest_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.deliveryorder.confirm"; |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
public function setRequest($request) |
40
|
|
|
{ |
41
|
|
|
$this->request = $request; |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
} |
45
|
|
|
|
46
|
|
|
class PddWmsDeliveryorderConfirmRequest_Request extends PopBaseJsonEntity |
47
|
|
|
{ |
48
|
|
|
|
49
|
|
|
public function __construct() |
50
|
|
|
{ |
51
|
|
|
|
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
/** |
55
|
|
|
* @JsonProperty(String, "deliveryOrderCode") |
56
|
|
|
*/ |
57
|
|
|
private $deliveryOrderCode; |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @JsonProperty(String, "expressCode") |
61
|
|
|
*/ |
62
|
|
|
private $expressCode; |
63
|
|
|
|
64
|
|
|
/** |
65
|
|
|
* @JsonProperty(String, "logisticsCode") |
66
|
|
|
*/ |
67
|
|
|
private $logisticsCode; |
68
|
|
|
|
69
|
|
|
/** |
70
|
|
|
* @JsonProperty(String, "logisticsName") |
71
|
|
|
*/ |
72
|
|
|
private $logisticsName; |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsDeliveryorderConfirmRequest_RequestOrderLinesItem>, "orderLines") |
76
|
|
|
*/ |
77
|
|
|
private $orderLines; |
78
|
|
|
|
79
|
|
|
/** |
80
|
|
|
* @JsonProperty(String, "orderType") |
81
|
|
|
*/ |
82
|
|
|
private $orderType; |
83
|
|
|
|
84
|
|
|
/** |
85
|
|
|
* @JsonProperty(String, "outBizCode") |
86
|
|
|
*/ |
87
|
|
|
private $outBizCode; |
88
|
|
|
|
89
|
|
|
/** |
90
|
|
|
* @JsonProperty(String, "ownerCode") |
91
|
|
|
*/ |
92
|
|
|
private $ownerCode; |
93
|
|
|
|
94
|
|
|
/** |
95
|
|
|
* @JsonProperty(String, "status") |
96
|
|
|
*/ |
97
|
|
|
private $status; |
98
|
|
|
|
99
|
|
|
/** |
100
|
|
|
* @JsonProperty(String, "warehouseCode") |
101
|
|
|
*/ |
102
|
|
|
private $warehouseCode; |
103
|
|
|
|
104
|
|
|
public function setDeliveryOrderCode($deliveryOrderCode) |
105
|
|
|
{ |
106
|
|
|
$this->deliveryOrderCode = $deliveryOrderCode; |
107
|
|
|
} |
108
|
|
|
|
109
|
|
|
public function setExpressCode($expressCode) |
110
|
|
|
{ |
111
|
|
|
$this->expressCode = $expressCode; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
public function setLogisticsCode($logisticsCode) |
115
|
|
|
{ |
116
|
|
|
$this->logisticsCode = $logisticsCode; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
public function setLogisticsName($logisticsName) |
120
|
|
|
{ |
121
|
|
|
$this->logisticsName = $logisticsName; |
122
|
|
|
} |
123
|
|
|
|
124
|
|
|
public function setOrderLines($orderLines) |
125
|
|
|
{ |
126
|
|
|
$this->orderLines = $orderLines; |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
public function setOrderType($orderType) |
130
|
|
|
{ |
131
|
|
|
$this->orderType = $orderType; |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
public function setOutBizCode($outBizCode) |
135
|
|
|
{ |
136
|
|
|
$this->outBizCode = $outBizCode; |
137
|
|
|
} |
138
|
|
|
|
139
|
|
|
public function setOwnerCode($ownerCode) |
140
|
|
|
{ |
141
|
|
|
$this->ownerCode = $ownerCode; |
142
|
|
|
} |
143
|
|
|
|
144
|
|
|
public function setStatus($status) |
145
|
|
|
{ |
146
|
|
|
$this->status = $status; |
147
|
|
|
} |
148
|
|
|
|
149
|
|
|
public function setWarehouseCode($warehouseCode) |
150
|
|
|
{ |
151
|
|
|
$this->warehouseCode = $warehouseCode; |
152
|
|
|
} |
153
|
|
|
|
154
|
|
|
} |
155
|
|
|
|
156
|
|
|
class PddWmsDeliveryorderConfirmRequest_RequestOrderLinesItem extends PopBaseJsonEntity |
157
|
|
|
{ |
158
|
|
|
|
159
|
|
|
public function __construct() |
160
|
|
|
{ |
161
|
|
|
|
162
|
|
|
} |
163
|
|
|
|
164
|
|
|
/** |
165
|
|
|
* @JsonProperty(String, "inventoryType") |
166
|
|
|
*/ |
167
|
|
|
private $inventoryType; |
168
|
|
|
|
169
|
|
|
/** |
170
|
|
|
* @JsonProperty(String, "parentWareSn") |
171
|
|
|
*/ |
172
|
|
|
private $parentWareSn; |
173
|
|
|
|
174
|
|
|
/** |
175
|
|
|
* @JsonProperty(String, "quantity") |
176
|
|
|
*/ |
177
|
|
|
private $quantity; |
178
|
|
|
|
179
|
|
|
/** |
180
|
|
|
* @JsonProperty(String, "wareSn") |
181
|
|
|
*/ |
182
|
|
|
private $wareSn; |
183
|
|
|
|
184
|
|
|
public function setInventoryType($inventoryType) |
185
|
|
|
{ |
186
|
|
|
$this->inventoryType = $inventoryType; |
187
|
|
|
} |
188
|
|
|
|
189
|
|
|
public function setParentWareSn($parentWareSn) |
190
|
|
|
{ |
191
|
|
|
$this->parentWareSn = $parentWareSn; |
192
|
|
|
} |
193
|
|
|
|
194
|
|
|
public function setQuantity($quantity) |
195
|
|
|
{ |
196
|
|
|
$this->quantity = $quantity; |
197
|
|
|
} |
198
|
|
|
|
199
|
|
|
public function setWareSn($wareSn) |
200
|
|
|
{ |
201
|
|
|
$this->wareSn = $wareSn; |
202
|
|
|
} |
203
|
|
|
|
204
|
|
|
} |
205
|
|
|
|