@@ -7,548 +7,548 @@ |
||
7 | 7 | class PddWaybillGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequest, "param_waybill_cloud_print_apply_new_request") |
|
15 | - */ |
|
16 | - private $paramWaybillCloudPrintApplyNewRequest; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequest, "param_waybill_cloud_print_apply_new_request") |
|
15 | + */ |
|
16 | + private $paramWaybillCloudPrintApplyNewRequest; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "param_waybill_cloud_print_apply_new_request", $this->paramWaybillCloudPrintApplyNewRequest); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "param_waybill_cloud_print_apply_new_request", $this->paramWaybillCloudPrintApplyNewRequest); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.waybill.get"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.waybill.get"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setParamWaybillCloudPrintApplyNewRequest($paramWaybillCloudPrintApplyNewRequest) |
|
40 | - { |
|
41 | - $this->paramWaybillCloudPrintApplyNewRequest = $paramWaybillCloudPrintApplyNewRequest; |
|
42 | - } |
|
39 | + public function setParamWaybillCloudPrintApplyNewRequest($paramWaybillCloudPrintApplyNewRequest) |
|
40 | + { |
|
41 | + $this->paramWaybillCloudPrintApplyNewRequest = $paramWaybillCloudPrintApplyNewRequest; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequest extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(Boolean, "need_encrypt") |
|
56 | - */ |
|
57 | - private $needEncrypt; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSender, "sender") |
|
61 | - */ |
|
62 | - private $sender; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos") |
|
66 | - */ |
|
67 | - private $tradeOrderInfoDtos; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(String, "wp_code") |
|
71 | - */ |
|
72 | - private $wpCode; |
|
73 | - |
|
74 | - public function setNeedEncrypt($needEncrypt) |
|
75 | - { |
|
76 | - $this->needEncrypt = $needEncrypt; |
|
77 | - } |
|
78 | - |
|
79 | - public function setSender($sender) |
|
80 | - { |
|
81 | - $this->sender = $sender; |
|
82 | - } |
|
83 | - |
|
84 | - public function setTradeOrderInfoDtos($tradeOrderInfoDtos) |
|
85 | - { |
|
86 | - $this->tradeOrderInfoDtos = $tradeOrderInfoDtos; |
|
87 | - } |
|
88 | - |
|
89 | - public function setWpCode($wpCode) |
|
90 | - { |
|
91 | - $this->wpCode = $wpCode; |
|
92 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(Boolean, "need_encrypt") |
|
56 | + */ |
|
57 | + private $needEncrypt; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSender, "sender") |
|
61 | + */ |
|
62 | + private $sender; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos") |
|
66 | + */ |
|
67 | + private $tradeOrderInfoDtos; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(String, "wp_code") |
|
71 | + */ |
|
72 | + private $wpCode; |
|
73 | + |
|
74 | + public function setNeedEncrypt($needEncrypt) |
|
75 | + { |
|
76 | + $this->needEncrypt = $needEncrypt; |
|
77 | + } |
|
78 | + |
|
79 | + public function setSender($sender) |
|
80 | + { |
|
81 | + $this->sender = $sender; |
|
82 | + } |
|
83 | + |
|
84 | + public function setTradeOrderInfoDtos($tradeOrderInfoDtos) |
|
85 | + { |
|
86 | + $this->tradeOrderInfoDtos = $tradeOrderInfoDtos; |
|
87 | + } |
|
88 | + |
|
89 | + public function setWpCode($wpCode) |
|
90 | + { |
|
91 | + $this->wpCode = $wpCode; |
|
92 | + } |
|
93 | 93 | |
94 | 94 | } |
95 | 95 | |
96 | 96 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSender extends PopBaseJsonEntity |
97 | 97 | { |
98 | 98 | |
99 | - public function __construct() |
|
100 | - { |
|
101 | - |
|
102 | - } |
|
103 | - |
|
104 | - /** |
|
105 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSenderAddress, "address") |
|
106 | - */ |
|
107 | - private $address; |
|
108 | - |
|
109 | - /** |
|
110 | - * @JsonProperty(String, "mobile") |
|
111 | - */ |
|
112 | - private $mobile; |
|
113 | - |
|
114 | - /** |
|
115 | - * @JsonProperty(String, "name") |
|
116 | - */ |
|
117 | - private $name; |
|
118 | - |
|
119 | - /** |
|
120 | - * @JsonProperty(String, "phone") |
|
121 | - */ |
|
122 | - private $phone; |
|
123 | - |
|
124 | - public function setAddress($address) |
|
125 | - { |
|
126 | - $this->address = $address; |
|
127 | - } |
|
128 | - |
|
129 | - public function setMobile($mobile) |
|
130 | - { |
|
131 | - $this->mobile = $mobile; |
|
132 | - } |
|
133 | - |
|
134 | - public function setName($name) |
|
135 | - { |
|
136 | - $this->name = $name; |
|
137 | - } |
|
138 | - |
|
139 | - public function setPhone($phone) |
|
140 | - { |
|
141 | - $this->phone = $phone; |
|
142 | - } |
|
99 | + public function __construct() |
|
100 | + { |
|
101 | + |
|
102 | + } |
|
103 | + |
|
104 | + /** |
|
105 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSenderAddress, "address") |
|
106 | + */ |
|
107 | + private $address; |
|
108 | + |
|
109 | + /** |
|
110 | + * @JsonProperty(String, "mobile") |
|
111 | + */ |
|
112 | + private $mobile; |
|
113 | + |
|
114 | + /** |
|
115 | + * @JsonProperty(String, "name") |
|
116 | + */ |
|
117 | + private $name; |
|
118 | + |
|
119 | + /** |
|
120 | + * @JsonProperty(String, "phone") |
|
121 | + */ |
|
122 | + private $phone; |
|
123 | + |
|
124 | + public function setAddress($address) |
|
125 | + { |
|
126 | + $this->address = $address; |
|
127 | + } |
|
128 | + |
|
129 | + public function setMobile($mobile) |
|
130 | + { |
|
131 | + $this->mobile = $mobile; |
|
132 | + } |
|
133 | + |
|
134 | + public function setName($name) |
|
135 | + { |
|
136 | + $this->name = $name; |
|
137 | + } |
|
138 | + |
|
139 | + public function setPhone($phone) |
|
140 | + { |
|
141 | + $this->phone = $phone; |
|
142 | + } |
|
143 | 143 | |
144 | 144 | } |
145 | 145 | |
146 | 146 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestSenderAddress extends PopBaseJsonEntity |
147 | 147 | { |
148 | 148 | |
149 | - public function __construct() |
|
150 | - { |
|
151 | - |
|
152 | - } |
|
153 | - |
|
154 | - /** |
|
155 | - * @JsonProperty(String, "city") |
|
156 | - */ |
|
157 | - private $city; |
|
158 | - |
|
159 | - /** |
|
160 | - * @JsonProperty(String, "detail") |
|
161 | - */ |
|
162 | - private $detail; |
|
163 | - |
|
164 | - /** |
|
165 | - * @JsonProperty(String, "district") |
|
166 | - */ |
|
167 | - private $district; |
|
168 | - |
|
169 | - /** |
|
170 | - * @JsonProperty(String, "province") |
|
171 | - */ |
|
172 | - private $province; |
|
173 | - |
|
174 | - /** |
|
175 | - * @JsonProperty(String, "town") |
|
176 | - */ |
|
177 | - private $town; |
|
178 | - |
|
179 | - /** |
|
180 | - * @JsonProperty(String, "country") |
|
181 | - */ |
|
182 | - private $country; |
|
183 | - |
|
184 | - public function setCity($city) |
|
185 | - { |
|
186 | - $this->city = $city; |
|
187 | - } |
|
188 | - |
|
189 | - public function setDetail($detail) |
|
190 | - { |
|
191 | - $this->detail = $detail; |
|
192 | - } |
|
193 | - |
|
194 | - public function setDistrict($district) |
|
195 | - { |
|
196 | - $this->district = $district; |
|
197 | - } |
|
198 | - |
|
199 | - public function setProvince($province) |
|
200 | - { |
|
201 | - $this->province = $province; |
|
202 | - } |
|
203 | - |
|
204 | - public function setTown($town) |
|
205 | - { |
|
206 | - $this->town = $town; |
|
207 | - } |
|
208 | - |
|
209 | - public function setCountry($country) |
|
210 | - { |
|
211 | - $this->country = $country; |
|
212 | - } |
|
149 | + public function __construct() |
|
150 | + { |
|
151 | + |
|
152 | + } |
|
153 | + |
|
154 | + /** |
|
155 | + * @JsonProperty(String, "city") |
|
156 | + */ |
|
157 | + private $city; |
|
158 | + |
|
159 | + /** |
|
160 | + * @JsonProperty(String, "detail") |
|
161 | + */ |
|
162 | + private $detail; |
|
163 | + |
|
164 | + /** |
|
165 | + * @JsonProperty(String, "district") |
|
166 | + */ |
|
167 | + private $district; |
|
168 | + |
|
169 | + /** |
|
170 | + * @JsonProperty(String, "province") |
|
171 | + */ |
|
172 | + private $province; |
|
173 | + |
|
174 | + /** |
|
175 | + * @JsonProperty(String, "town") |
|
176 | + */ |
|
177 | + private $town; |
|
178 | + |
|
179 | + /** |
|
180 | + * @JsonProperty(String, "country") |
|
181 | + */ |
|
182 | + private $country; |
|
183 | + |
|
184 | + public function setCity($city) |
|
185 | + { |
|
186 | + $this->city = $city; |
|
187 | + } |
|
188 | + |
|
189 | + public function setDetail($detail) |
|
190 | + { |
|
191 | + $this->detail = $detail; |
|
192 | + } |
|
193 | + |
|
194 | + public function setDistrict($district) |
|
195 | + { |
|
196 | + $this->district = $district; |
|
197 | + } |
|
198 | + |
|
199 | + public function setProvince($province) |
|
200 | + { |
|
201 | + $this->province = $province; |
|
202 | + } |
|
203 | + |
|
204 | + public function setTown($town) |
|
205 | + { |
|
206 | + $this->town = $town; |
|
207 | + } |
|
208 | + |
|
209 | + public function setCountry($country) |
|
210 | + { |
|
211 | + $this->country = $country; |
|
212 | + } |
|
213 | 213 | |
214 | 214 | } |
215 | 215 | |
216 | 216 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItem extends PopBaseJsonEntity |
217 | 217 | { |
218 | 218 | |
219 | - public function __construct() |
|
220 | - { |
|
221 | - |
|
222 | - } |
|
223 | - |
|
224 | - /** |
|
225 | - * @JsonProperty(String, "logistics_services") |
|
226 | - */ |
|
227 | - private $logisticsServices; |
|
228 | - |
|
229 | - /** |
|
230 | - * @JsonProperty(String, "object_id") |
|
231 | - */ |
|
232 | - private $objectId; |
|
233 | - |
|
234 | - /** |
|
235 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemOrderInfo, "order_info") |
|
236 | - */ |
|
237 | - private $orderInfo; |
|
238 | - |
|
239 | - /** |
|
240 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfo, "package_info") |
|
241 | - */ |
|
242 | - private $packageInfo; |
|
243 | - |
|
244 | - /** |
|
245 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipient, "recipient") |
|
246 | - */ |
|
247 | - private $recipient; |
|
248 | - |
|
249 | - /** |
|
250 | - * @JsonProperty(String, "template_url") |
|
251 | - */ |
|
252 | - private $templateUrl; |
|
253 | - |
|
254 | - /** |
|
255 | - * @JsonProperty(Long, "user_id") |
|
256 | - */ |
|
257 | - private $userId; |
|
258 | - |
|
259 | - public function setLogisticsServices($logisticsServices) |
|
260 | - { |
|
261 | - $this->logisticsServices = $logisticsServices; |
|
262 | - } |
|
263 | - |
|
264 | - public function setObjectId($objectId) |
|
265 | - { |
|
266 | - $this->objectId = $objectId; |
|
267 | - } |
|
268 | - |
|
269 | - public function setOrderInfo($orderInfo) |
|
270 | - { |
|
271 | - $this->orderInfo = $orderInfo; |
|
272 | - } |
|
273 | - |
|
274 | - public function setPackageInfo($packageInfo) |
|
275 | - { |
|
276 | - $this->packageInfo = $packageInfo; |
|
277 | - } |
|
278 | - |
|
279 | - public function setRecipient($recipient) |
|
280 | - { |
|
281 | - $this->recipient = $recipient; |
|
282 | - } |
|
283 | - |
|
284 | - public function setTemplateUrl($templateUrl) |
|
285 | - { |
|
286 | - $this->templateUrl = $templateUrl; |
|
287 | - } |
|
288 | - |
|
289 | - public function setUserId($userId) |
|
290 | - { |
|
291 | - $this->userId = $userId; |
|
292 | - } |
|
219 | + public function __construct() |
|
220 | + { |
|
221 | + |
|
222 | + } |
|
223 | + |
|
224 | + /** |
|
225 | + * @JsonProperty(String, "logistics_services") |
|
226 | + */ |
|
227 | + private $logisticsServices; |
|
228 | + |
|
229 | + /** |
|
230 | + * @JsonProperty(String, "object_id") |
|
231 | + */ |
|
232 | + private $objectId; |
|
233 | + |
|
234 | + /** |
|
235 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemOrderInfo, "order_info") |
|
236 | + */ |
|
237 | + private $orderInfo; |
|
238 | + |
|
239 | + /** |
|
240 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfo, "package_info") |
|
241 | + */ |
|
242 | + private $packageInfo; |
|
243 | + |
|
244 | + /** |
|
245 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipient, "recipient") |
|
246 | + */ |
|
247 | + private $recipient; |
|
248 | + |
|
249 | + /** |
|
250 | + * @JsonProperty(String, "template_url") |
|
251 | + */ |
|
252 | + private $templateUrl; |
|
253 | + |
|
254 | + /** |
|
255 | + * @JsonProperty(Long, "user_id") |
|
256 | + */ |
|
257 | + private $userId; |
|
258 | + |
|
259 | + public function setLogisticsServices($logisticsServices) |
|
260 | + { |
|
261 | + $this->logisticsServices = $logisticsServices; |
|
262 | + } |
|
263 | + |
|
264 | + public function setObjectId($objectId) |
|
265 | + { |
|
266 | + $this->objectId = $objectId; |
|
267 | + } |
|
268 | + |
|
269 | + public function setOrderInfo($orderInfo) |
|
270 | + { |
|
271 | + $this->orderInfo = $orderInfo; |
|
272 | + } |
|
273 | + |
|
274 | + public function setPackageInfo($packageInfo) |
|
275 | + { |
|
276 | + $this->packageInfo = $packageInfo; |
|
277 | + } |
|
278 | + |
|
279 | + public function setRecipient($recipient) |
|
280 | + { |
|
281 | + $this->recipient = $recipient; |
|
282 | + } |
|
283 | + |
|
284 | + public function setTemplateUrl($templateUrl) |
|
285 | + { |
|
286 | + $this->templateUrl = $templateUrl; |
|
287 | + } |
|
288 | + |
|
289 | + public function setUserId($userId) |
|
290 | + { |
|
291 | + $this->userId = $userId; |
|
292 | + } |
|
293 | 293 | |
294 | 294 | } |
295 | 295 | |
296 | 296 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemOrderInfo extends PopBaseJsonEntity |
297 | 297 | { |
298 | 298 | |
299 | - public function __construct() |
|
300 | - { |
|
299 | + public function __construct() |
|
300 | + { |
|
301 | 301 | |
302 | - } |
|
302 | + } |
|
303 | 303 | |
304 | - /** |
|
305 | - * @JsonProperty(String, "order_channels_type") |
|
306 | - */ |
|
307 | - private $orderChannelsType; |
|
304 | + /** |
|
305 | + * @JsonProperty(String, "order_channels_type") |
|
306 | + */ |
|
307 | + private $orderChannelsType; |
|
308 | 308 | |
309 | - /** |
|
310 | - * @JsonProperty(List<String>, "trade_order_list") |
|
311 | - */ |
|
312 | - private $tradeOrderList; |
|
309 | + /** |
|
310 | + * @JsonProperty(List<String>, "trade_order_list") |
|
311 | + */ |
|
312 | + private $tradeOrderList; |
|
313 | 313 | |
314 | - public function setOrderChannelsType($orderChannelsType) |
|
315 | - { |
|
316 | - $this->orderChannelsType = $orderChannelsType; |
|
317 | - } |
|
314 | + public function setOrderChannelsType($orderChannelsType) |
|
315 | + { |
|
316 | + $this->orderChannelsType = $orderChannelsType; |
|
317 | + } |
|
318 | 318 | |
319 | - public function setTradeOrderList($tradeOrderList) |
|
320 | - { |
|
321 | - $this->tradeOrderList = $tradeOrderList; |
|
322 | - } |
|
319 | + public function setTradeOrderList($tradeOrderList) |
|
320 | + { |
|
321 | + $this->tradeOrderList = $tradeOrderList; |
|
322 | + } |
|
323 | 323 | |
324 | 324 | } |
325 | 325 | |
326 | 326 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfo extends PopBaseJsonEntity |
327 | 327 | { |
328 | 328 | |
329 | - public function __construct() |
|
330 | - { |
|
331 | - |
|
332 | - } |
|
333 | - |
|
334 | - /** |
|
335 | - * @JsonProperty(String, "goods_description") |
|
336 | - */ |
|
337 | - private $goodsDescription; |
|
338 | - |
|
339 | - /** |
|
340 | - * @JsonProperty(String, "id") |
|
341 | - */ |
|
342 | - private $id; |
|
343 | - |
|
344 | - /** |
|
345 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items") |
|
346 | - */ |
|
347 | - private $items; |
|
348 | - |
|
349 | - /** |
|
350 | - * @JsonProperty(String, "packaging_description") |
|
351 | - */ |
|
352 | - private $packagingDescription; |
|
353 | - |
|
354 | - /** |
|
355 | - * @JsonProperty(Integer, "total_packages_count") |
|
356 | - */ |
|
357 | - private $totalPackagesCount; |
|
358 | - |
|
359 | - /** |
|
360 | - * @JsonProperty(Long, "volume") |
|
361 | - */ |
|
362 | - private $volume; |
|
363 | - |
|
364 | - /** |
|
365 | - * @JsonProperty(Long, "weight") |
|
366 | - */ |
|
367 | - private $weight; |
|
368 | - |
|
369 | - public function setGoodsDescription($goodsDescription) |
|
370 | - { |
|
371 | - $this->goodsDescription = $goodsDescription; |
|
372 | - } |
|
373 | - |
|
374 | - public function setId($id) |
|
375 | - { |
|
376 | - $this->id = $id; |
|
377 | - } |
|
378 | - |
|
379 | - public function setItems($items) |
|
380 | - { |
|
381 | - $this->items = $items; |
|
382 | - } |
|
383 | - |
|
384 | - public function setPackagingDescription($packagingDescription) |
|
385 | - { |
|
386 | - $this->packagingDescription = $packagingDescription; |
|
387 | - } |
|
388 | - |
|
389 | - public function setTotalPackagesCount($totalPackagesCount) |
|
390 | - { |
|
391 | - $this->totalPackagesCount = $totalPackagesCount; |
|
392 | - } |
|
393 | - |
|
394 | - public function setVolume($volume) |
|
395 | - { |
|
396 | - $this->volume = $volume; |
|
397 | - } |
|
398 | - |
|
399 | - public function setWeight($weight) |
|
400 | - { |
|
401 | - $this->weight = $weight; |
|
402 | - } |
|
329 | + public function __construct() |
|
330 | + { |
|
331 | + |
|
332 | + } |
|
333 | + |
|
334 | + /** |
|
335 | + * @JsonProperty(String, "goods_description") |
|
336 | + */ |
|
337 | + private $goodsDescription; |
|
338 | + |
|
339 | + /** |
|
340 | + * @JsonProperty(String, "id") |
|
341 | + */ |
|
342 | + private $id; |
|
343 | + |
|
344 | + /** |
|
345 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items") |
|
346 | + */ |
|
347 | + private $items; |
|
348 | + |
|
349 | + /** |
|
350 | + * @JsonProperty(String, "packaging_description") |
|
351 | + */ |
|
352 | + private $packagingDescription; |
|
353 | + |
|
354 | + /** |
|
355 | + * @JsonProperty(Integer, "total_packages_count") |
|
356 | + */ |
|
357 | + private $totalPackagesCount; |
|
358 | + |
|
359 | + /** |
|
360 | + * @JsonProperty(Long, "volume") |
|
361 | + */ |
|
362 | + private $volume; |
|
363 | + |
|
364 | + /** |
|
365 | + * @JsonProperty(Long, "weight") |
|
366 | + */ |
|
367 | + private $weight; |
|
368 | + |
|
369 | + public function setGoodsDescription($goodsDescription) |
|
370 | + { |
|
371 | + $this->goodsDescription = $goodsDescription; |
|
372 | + } |
|
373 | + |
|
374 | + public function setId($id) |
|
375 | + { |
|
376 | + $this->id = $id; |
|
377 | + } |
|
378 | + |
|
379 | + public function setItems($items) |
|
380 | + { |
|
381 | + $this->items = $items; |
|
382 | + } |
|
383 | + |
|
384 | + public function setPackagingDescription($packagingDescription) |
|
385 | + { |
|
386 | + $this->packagingDescription = $packagingDescription; |
|
387 | + } |
|
388 | + |
|
389 | + public function setTotalPackagesCount($totalPackagesCount) |
|
390 | + { |
|
391 | + $this->totalPackagesCount = $totalPackagesCount; |
|
392 | + } |
|
393 | + |
|
394 | + public function setVolume($volume) |
|
395 | + { |
|
396 | + $this->volume = $volume; |
|
397 | + } |
|
398 | + |
|
399 | + public function setWeight($weight) |
|
400 | + { |
|
401 | + $this->weight = $weight; |
|
402 | + } |
|
403 | 403 | |
404 | 404 | } |
405 | 405 | |
406 | 406 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemPackageInfoItemsItem extends PopBaseJsonEntity |
407 | 407 | { |
408 | 408 | |
409 | - public function __construct() |
|
410 | - { |
|
409 | + public function __construct() |
|
410 | + { |
|
411 | 411 | |
412 | - } |
|
412 | + } |
|
413 | 413 | |
414 | - /** |
|
415 | - * @JsonProperty(Integer, "count") |
|
416 | - */ |
|
417 | - private $count; |
|
414 | + /** |
|
415 | + * @JsonProperty(Integer, "count") |
|
416 | + */ |
|
417 | + private $count; |
|
418 | 418 | |
419 | - /** |
|
420 | - * @JsonProperty(String, "name") |
|
421 | - */ |
|
422 | - private $name; |
|
419 | + /** |
|
420 | + * @JsonProperty(String, "name") |
|
421 | + */ |
|
422 | + private $name; |
|
423 | 423 | |
424 | - public function setCount($count) |
|
425 | - { |
|
426 | - $this->count = $count; |
|
427 | - } |
|
424 | + public function setCount($count) |
|
425 | + { |
|
426 | + $this->count = $count; |
|
427 | + } |
|
428 | 428 | |
429 | - public function setName($name) |
|
430 | - { |
|
431 | - $this->name = $name; |
|
432 | - } |
|
429 | + public function setName($name) |
|
430 | + { |
|
431 | + $this->name = $name; |
|
432 | + } |
|
433 | 433 | |
434 | 434 | } |
435 | 435 | |
436 | 436 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipient extends PopBaseJsonEntity |
437 | 437 | { |
438 | 438 | |
439 | - public function __construct() |
|
440 | - { |
|
441 | - |
|
442 | - } |
|
443 | - |
|
444 | - /** |
|
445 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipientAddress, "address") |
|
446 | - */ |
|
447 | - private $address; |
|
448 | - |
|
449 | - /** |
|
450 | - * @JsonProperty(String, "mobile") |
|
451 | - */ |
|
452 | - private $mobile; |
|
453 | - |
|
454 | - /** |
|
455 | - * @JsonProperty(String, "name") |
|
456 | - */ |
|
457 | - private $name; |
|
458 | - |
|
459 | - /** |
|
460 | - * @JsonProperty(String, "phone") |
|
461 | - */ |
|
462 | - private $phone; |
|
463 | - |
|
464 | - public function setAddress($address) |
|
465 | - { |
|
466 | - $this->address = $address; |
|
467 | - } |
|
468 | - |
|
469 | - public function setMobile($mobile) |
|
470 | - { |
|
471 | - $this->mobile = $mobile; |
|
472 | - } |
|
473 | - |
|
474 | - public function setName($name) |
|
475 | - { |
|
476 | - $this->name = $name; |
|
477 | - } |
|
478 | - |
|
479 | - public function setPhone($phone) |
|
480 | - { |
|
481 | - $this->phone = $phone; |
|
482 | - } |
|
439 | + public function __construct() |
|
440 | + { |
|
441 | + |
|
442 | + } |
|
443 | + |
|
444 | + /** |
|
445 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipientAddress, "address") |
|
446 | + */ |
|
447 | + private $address; |
|
448 | + |
|
449 | + /** |
|
450 | + * @JsonProperty(String, "mobile") |
|
451 | + */ |
|
452 | + private $mobile; |
|
453 | + |
|
454 | + /** |
|
455 | + * @JsonProperty(String, "name") |
|
456 | + */ |
|
457 | + private $name; |
|
458 | + |
|
459 | + /** |
|
460 | + * @JsonProperty(String, "phone") |
|
461 | + */ |
|
462 | + private $phone; |
|
463 | + |
|
464 | + public function setAddress($address) |
|
465 | + { |
|
466 | + $this->address = $address; |
|
467 | + } |
|
468 | + |
|
469 | + public function setMobile($mobile) |
|
470 | + { |
|
471 | + $this->mobile = $mobile; |
|
472 | + } |
|
473 | + |
|
474 | + public function setName($name) |
|
475 | + { |
|
476 | + $this->name = $name; |
|
477 | + } |
|
478 | + |
|
479 | + public function setPhone($phone) |
|
480 | + { |
|
481 | + $this->phone = $phone; |
|
482 | + } |
|
483 | 483 | |
484 | 484 | } |
485 | 485 | |
486 | 486 | class PddWaybillGetRequest_ParamWaybillCloudPrintApplyNewRequestTradeOrderInfoDtosItemRecipientAddress extends PopBaseJsonEntity |
487 | 487 | { |
488 | 488 | |
489 | - public function __construct() |
|
490 | - { |
|
491 | - |
|
492 | - } |
|
493 | - |
|
494 | - /** |
|
495 | - * @JsonProperty(String, "city") |
|
496 | - */ |
|
497 | - private $city; |
|
498 | - |
|
499 | - /** |
|
500 | - * @JsonProperty(String, "detail") |
|
501 | - */ |
|
502 | - private $detail; |
|
503 | - |
|
504 | - /** |
|
505 | - * @JsonProperty(String, "district") |
|
506 | - */ |
|
507 | - private $district; |
|
508 | - |
|
509 | - /** |
|
510 | - * @JsonProperty(String, "province") |
|
511 | - */ |
|
512 | - private $province; |
|
513 | - |
|
514 | - /** |
|
515 | - * @JsonProperty(String, "town") |
|
516 | - */ |
|
517 | - private $town; |
|
518 | - |
|
519 | - /** |
|
520 | - * @JsonProperty(String, "country") |
|
521 | - */ |
|
522 | - private $country; |
|
523 | - |
|
524 | - public function setCity($city) |
|
525 | - { |
|
526 | - $this->city = $city; |
|
527 | - } |
|
528 | - |
|
529 | - public function setDetail($detail) |
|
530 | - { |
|
531 | - $this->detail = $detail; |
|
532 | - } |
|
533 | - |
|
534 | - public function setDistrict($district) |
|
535 | - { |
|
536 | - $this->district = $district; |
|
537 | - } |
|
538 | - |
|
539 | - public function setProvince($province) |
|
540 | - { |
|
541 | - $this->province = $province; |
|
542 | - } |
|
543 | - |
|
544 | - public function setTown($town) |
|
545 | - { |
|
546 | - $this->town = $town; |
|
547 | - } |
|
548 | - |
|
549 | - public function setCountry($country) |
|
550 | - { |
|
551 | - $this->country = $country; |
|
552 | - } |
|
489 | + public function __construct() |
|
490 | + { |
|
491 | + |
|
492 | + } |
|
493 | + |
|
494 | + /** |
|
495 | + * @JsonProperty(String, "city") |
|
496 | + */ |
|
497 | + private $city; |
|
498 | + |
|
499 | + /** |
|
500 | + * @JsonProperty(String, "detail") |
|
501 | + */ |
|
502 | + private $detail; |
|
503 | + |
|
504 | + /** |
|
505 | + * @JsonProperty(String, "district") |
|
506 | + */ |
|
507 | + private $district; |
|
508 | + |
|
509 | + /** |
|
510 | + * @JsonProperty(String, "province") |
|
511 | + */ |
|
512 | + private $province; |
|
513 | + |
|
514 | + /** |
|
515 | + * @JsonProperty(String, "town") |
|
516 | + */ |
|
517 | + private $town; |
|
518 | + |
|
519 | + /** |
|
520 | + * @JsonProperty(String, "country") |
|
521 | + */ |
|
522 | + private $country; |
|
523 | + |
|
524 | + public function setCity($city) |
|
525 | + { |
|
526 | + $this->city = $city; |
|
527 | + } |
|
528 | + |
|
529 | + public function setDetail($detail) |
|
530 | + { |
|
531 | + $this->detail = $detail; |
|
532 | + } |
|
533 | + |
|
534 | + public function setDistrict($district) |
|
535 | + { |
|
536 | + $this->district = $district; |
|
537 | + } |
|
538 | + |
|
539 | + public function setProvince($province) |
|
540 | + { |
|
541 | + $this->province = $province; |
|
542 | + } |
|
543 | + |
|
544 | + public function setTown($town) |
|
545 | + { |
|
546 | + $this->town = $town; |
|
547 | + } |
|
548 | + |
|
549 | + public function setCountry($country) |
|
550 | + { |
|
551 | + $this->country = $country; |
|
552 | + } |
|
553 | 553 | |
554 | 554 | } |
@@ -7,78 +7,78 @@ |
||
7 | 7 | class PddWmsOrderQueryRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderQueryRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderQueryRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.wms.order.query"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.wms.order.query"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddWmsOrderQueryRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(String, "orderCode") |
|
56 | - */ |
|
57 | - private $orderCode; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(String, "orderType") |
|
61 | - */ |
|
62 | - private $orderType; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(String, "warehouseCode") |
|
66 | - */ |
|
67 | - private $warehouseCode; |
|
68 | - |
|
69 | - public function setOrderCode($orderCode) |
|
70 | - { |
|
71 | - $this->orderCode = $orderCode; |
|
72 | - } |
|
73 | - |
|
74 | - public function setOrderType($orderType) |
|
75 | - { |
|
76 | - $this->orderType = $orderType; |
|
77 | - } |
|
78 | - |
|
79 | - public function setWarehouseCode($warehouseCode) |
|
80 | - { |
|
81 | - $this->warehouseCode = $warehouseCode; |
|
82 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "orderCode") |
|
56 | + */ |
|
57 | + private $orderCode; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(String, "orderType") |
|
61 | + */ |
|
62 | + private $orderType; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "warehouseCode") |
|
66 | + */ |
|
67 | + private $warehouseCode; |
|
68 | + |
|
69 | + public function setOrderCode($orderCode) |
|
70 | + { |
|
71 | + $this->orderCode = $orderCode; |
|
72 | + } |
|
73 | + |
|
74 | + public function setOrderType($orderType) |
|
75 | + { |
|
76 | + $this->orderType = $orderType; |
|
77 | + } |
|
78 | + |
|
79 | + public function setWarehouseCode($warehouseCode) |
|
80 | + { |
|
81 | + $this->warehouseCode = $warehouseCode; |
|
82 | + } |
|
83 | 83 | |
84 | 84 | } |
@@ -7,145 +7,145 @@ |
||
7 | 7 | class PddVoucherVoucherComplainRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_sn") |
|
15 | - */ |
|
16 | - private $orderSn; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "out_biz_no") |
|
20 | - */ |
|
21 | - private $outBizNo; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddVoucherVoucherComplainRequest_VoucherListItem>, "voucher_list") |
|
25 | - */ |
|
26 | - private $voucherList; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "complain_user") |
|
30 | - */ |
|
31 | - private $complainUser; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "complain_user_mobile") |
|
35 | - */ |
|
36 | - private $complainUserMobile; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "complain_content") |
|
40 | - */ |
|
41 | - private $complainContent; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(List<String>, "complain_attachment_list") |
|
45 | - */ |
|
46 | - private $complainAttachmentList; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "complain_type") |
|
50 | - */ |
|
51 | - private $complainType; |
|
52 | - |
|
53 | - protected function setUserParams(&$params) |
|
54 | - { |
|
55 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
56 | - $this->setUserParam($params, "out_biz_no", $this->outBizNo); |
|
57 | - $this->setUserParam($params, "voucher_list", $this->voucherList); |
|
58 | - $this->setUserParam($params, "complain_user", $this->complainUser); |
|
59 | - $this->setUserParam($params, "complain_user_mobile", $this->complainUserMobile); |
|
60 | - $this->setUserParam($params, "complain_content", $this->complainContent); |
|
61 | - $this->setUserParam($params, "complain_attachment_list", $this->complainAttachmentList); |
|
62 | - $this->setUserParam($params, "complain_type", $this->complainType); |
|
63 | - |
|
64 | - } |
|
65 | - |
|
66 | - public function getVersion() |
|
67 | - { |
|
68 | - return "V1"; |
|
69 | - } |
|
70 | - |
|
71 | - public function getDataType() |
|
72 | - { |
|
73 | - return "JSON"; |
|
74 | - } |
|
75 | - |
|
76 | - public function getType() |
|
77 | - { |
|
78 | - return "pdd.voucher.voucher.complain"; |
|
79 | - } |
|
80 | - |
|
81 | - public function setOrderSn($orderSn) |
|
82 | - { |
|
83 | - $this->orderSn = $orderSn; |
|
84 | - } |
|
85 | - |
|
86 | - public function setOutBizNo($outBizNo) |
|
87 | - { |
|
88 | - $this->outBizNo = $outBizNo; |
|
89 | - } |
|
90 | - |
|
91 | - public function setVoucherList($voucherList) |
|
92 | - { |
|
93 | - $this->voucherList = $voucherList; |
|
94 | - } |
|
95 | - |
|
96 | - public function setComplainUser($complainUser) |
|
97 | - { |
|
98 | - $this->complainUser = $complainUser; |
|
99 | - } |
|
100 | - |
|
101 | - public function setComplainUserMobile($complainUserMobile) |
|
102 | - { |
|
103 | - $this->complainUserMobile = $complainUserMobile; |
|
104 | - } |
|
105 | - |
|
106 | - public function setComplainContent($complainContent) |
|
107 | - { |
|
108 | - $this->complainContent = $complainContent; |
|
109 | - } |
|
110 | - |
|
111 | - public function setComplainAttachmentList($complainAttachmentList) |
|
112 | - { |
|
113 | - $this->complainAttachmentList = $complainAttachmentList; |
|
114 | - } |
|
115 | - |
|
116 | - public function setComplainType($complainType) |
|
117 | - { |
|
118 | - $this->complainType = $complainType; |
|
119 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_sn") |
|
15 | + */ |
|
16 | + private $orderSn; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "out_biz_no") |
|
20 | + */ |
|
21 | + private $outBizNo; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddVoucherVoucherComplainRequest_VoucherListItem>, "voucher_list") |
|
25 | + */ |
|
26 | + private $voucherList; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "complain_user") |
|
30 | + */ |
|
31 | + private $complainUser; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "complain_user_mobile") |
|
35 | + */ |
|
36 | + private $complainUserMobile; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "complain_content") |
|
40 | + */ |
|
41 | + private $complainContent; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(List<String>, "complain_attachment_list") |
|
45 | + */ |
|
46 | + private $complainAttachmentList; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "complain_type") |
|
50 | + */ |
|
51 | + private $complainType; |
|
52 | + |
|
53 | + protected function setUserParams(&$params) |
|
54 | + { |
|
55 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
56 | + $this->setUserParam($params, "out_biz_no", $this->outBizNo); |
|
57 | + $this->setUserParam($params, "voucher_list", $this->voucherList); |
|
58 | + $this->setUserParam($params, "complain_user", $this->complainUser); |
|
59 | + $this->setUserParam($params, "complain_user_mobile", $this->complainUserMobile); |
|
60 | + $this->setUserParam($params, "complain_content", $this->complainContent); |
|
61 | + $this->setUserParam($params, "complain_attachment_list", $this->complainAttachmentList); |
|
62 | + $this->setUserParam($params, "complain_type", $this->complainType); |
|
63 | + |
|
64 | + } |
|
65 | + |
|
66 | + public function getVersion() |
|
67 | + { |
|
68 | + return "V1"; |
|
69 | + } |
|
70 | + |
|
71 | + public function getDataType() |
|
72 | + { |
|
73 | + return "JSON"; |
|
74 | + } |
|
75 | + |
|
76 | + public function getType() |
|
77 | + { |
|
78 | + return "pdd.voucher.voucher.complain"; |
|
79 | + } |
|
80 | + |
|
81 | + public function setOrderSn($orderSn) |
|
82 | + { |
|
83 | + $this->orderSn = $orderSn; |
|
84 | + } |
|
85 | + |
|
86 | + public function setOutBizNo($outBizNo) |
|
87 | + { |
|
88 | + $this->outBizNo = $outBizNo; |
|
89 | + } |
|
90 | + |
|
91 | + public function setVoucherList($voucherList) |
|
92 | + { |
|
93 | + $this->voucherList = $voucherList; |
|
94 | + } |
|
95 | + |
|
96 | + public function setComplainUser($complainUser) |
|
97 | + { |
|
98 | + $this->complainUser = $complainUser; |
|
99 | + } |
|
100 | + |
|
101 | + public function setComplainUserMobile($complainUserMobile) |
|
102 | + { |
|
103 | + $this->complainUserMobile = $complainUserMobile; |
|
104 | + } |
|
105 | + |
|
106 | + public function setComplainContent($complainContent) |
|
107 | + { |
|
108 | + $this->complainContent = $complainContent; |
|
109 | + } |
|
110 | + |
|
111 | + public function setComplainAttachmentList($complainAttachmentList) |
|
112 | + { |
|
113 | + $this->complainAttachmentList = $complainAttachmentList; |
|
114 | + } |
|
115 | + |
|
116 | + public function setComplainType($complainType) |
|
117 | + { |
|
118 | + $this->complainType = $complainType; |
|
119 | + } |
|
120 | 120 | |
121 | 121 | } |
122 | 122 | |
123 | 123 | class PddVoucherVoucherComplainRequest_VoucherListItem extends PopBaseJsonEntity |
124 | 124 | { |
125 | 125 | |
126 | - public function __construct() |
|
127 | - { |
|
126 | + public function __construct() |
|
127 | + { |
|
128 | 128 | |
129 | - } |
|
129 | + } |
|
130 | 130 | |
131 | - /** |
|
132 | - * @JsonProperty(String, "voucher_id") |
|
133 | - */ |
|
134 | - private $voucherId; |
|
131 | + /** |
|
132 | + * @JsonProperty(String, "voucher_id") |
|
133 | + */ |
|
134 | + private $voucherId; |
|
135 | 135 | |
136 | - /** |
|
137 | - * @JsonProperty(String, "voucher_no") |
|
138 | - */ |
|
139 | - private $voucherNo; |
|
136 | + /** |
|
137 | + * @JsonProperty(String, "voucher_no") |
|
138 | + */ |
|
139 | + private $voucherNo; |
|
140 | 140 | |
141 | - public function setVoucherId($voucherId) |
|
142 | - { |
|
143 | - $this->voucherId = $voucherId; |
|
144 | - } |
|
141 | + public function setVoucherId($voucherId) |
|
142 | + { |
|
143 | + $this->voucherId = $voucherId; |
|
144 | + } |
|
145 | 145 | |
146 | - public function setVoucherNo($voucherNo) |
|
147 | - { |
|
148 | - $this->voucherNo = $voucherNo; |
|
149 | - } |
|
146 | + public function setVoucherNo($voucherNo) |
|
147 | + { |
|
148 | + $this->voucherNo = $voucherNo; |
|
149 | + } |
|
150 | 150 | |
151 | 151 | } |
@@ -7,178 +7,178 @@ |
||
7 | 7 | class PddWmsOuborderConfirmRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOuborderConfirmRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOuborderConfirmRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.wms.ouborder.confirm"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.wms.ouborder.confirm"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddWmsOuborderConfirmRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | 51 | |
52 | - } |
|
52 | + } |
|
53 | 53 | |
54 | - /** |
|
55 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOuborderConfirmRequest_RequestOrderLinesItem>, "orderLines") |
|
56 | - */ |
|
57 | - private $orderLines; |
|
54 | + /** |
|
55 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOuborderConfirmRequest_RequestOrderLinesItem>, "orderLines") |
|
56 | + */ |
|
57 | + private $orderLines; |
|
58 | 58 | |
59 | - /** |
|
60 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOuborderConfirmRequest_RequestOubOrder, "oubOrder") |
|
61 | - */ |
|
62 | - private $oubOrder; |
|
59 | + /** |
|
60 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOuborderConfirmRequest_RequestOubOrder, "oubOrder") |
|
61 | + */ |
|
62 | + private $oubOrder; |
|
63 | 63 | |
64 | - /** |
|
65 | - * @JsonProperty(String, "ownerCode") |
|
66 | - */ |
|
67 | - private $ownerCode; |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "ownerCode") |
|
66 | + */ |
|
67 | + private $ownerCode; |
|
68 | 68 | |
69 | - public function setOrderLines($orderLines) |
|
70 | - { |
|
71 | - $this->orderLines = $orderLines; |
|
72 | - } |
|
69 | + public function setOrderLines($orderLines) |
|
70 | + { |
|
71 | + $this->orderLines = $orderLines; |
|
72 | + } |
|
73 | 73 | |
74 | - public function setOubOrder($oubOrder) |
|
75 | - { |
|
76 | - $this->oubOrder = $oubOrder; |
|
77 | - } |
|
74 | + public function setOubOrder($oubOrder) |
|
75 | + { |
|
76 | + $this->oubOrder = $oubOrder; |
|
77 | + } |
|
78 | 78 | |
79 | - public function setOwnerCode($ownerCode) |
|
80 | - { |
|
81 | - $this->ownerCode = $ownerCode; |
|
82 | - } |
|
79 | + public function setOwnerCode($ownerCode) |
|
80 | + { |
|
81 | + $this->ownerCode = $ownerCode; |
|
82 | + } |
|
83 | 83 | |
84 | 84 | } |
85 | 85 | |
86 | 86 | class PddWmsOuborderConfirmRequest_RequestOrderLinesItem extends PopBaseJsonEntity |
87 | 87 | { |
88 | 88 | |
89 | - public function __construct() |
|
90 | - { |
|
89 | + public function __construct() |
|
90 | + { |
|
91 | 91 | |
92 | - } |
|
92 | + } |
|
93 | 93 | |
94 | - /** |
|
95 | - * @JsonProperty(String, "actualSendQuantity") |
|
96 | - */ |
|
97 | - private $actualSendQuantity; |
|
94 | + /** |
|
95 | + * @JsonProperty(String, "actualSendQuantity") |
|
96 | + */ |
|
97 | + private $actualSendQuantity; |
|
98 | 98 | |
99 | - /** |
|
100 | - * @JsonProperty(String, "inventoryType") |
|
101 | - */ |
|
102 | - private $inventoryType; |
|
99 | + /** |
|
100 | + * @JsonProperty(String, "inventoryType") |
|
101 | + */ |
|
102 | + private $inventoryType; |
|
103 | 103 | |
104 | - /** |
|
105 | - * @JsonProperty(String, "wareSn") |
|
106 | - */ |
|
107 | - private $wareSn; |
|
104 | + /** |
|
105 | + * @JsonProperty(String, "wareSn") |
|
106 | + */ |
|
107 | + private $wareSn; |
|
108 | 108 | |
109 | - public function setActualSendQuantity($actualSendQuantity) |
|
110 | - { |
|
111 | - $this->actualSendQuantity = $actualSendQuantity; |
|
112 | - } |
|
109 | + public function setActualSendQuantity($actualSendQuantity) |
|
110 | + { |
|
111 | + $this->actualSendQuantity = $actualSendQuantity; |
|
112 | + } |
|
113 | 113 | |
114 | - public function setInventoryType($inventoryType) |
|
115 | - { |
|
116 | - $this->inventoryType = $inventoryType; |
|
117 | - } |
|
114 | + public function setInventoryType($inventoryType) |
|
115 | + { |
|
116 | + $this->inventoryType = $inventoryType; |
|
117 | + } |
|
118 | 118 | |
119 | - public function setWareSn($wareSn) |
|
120 | - { |
|
121 | - $this->wareSn = $wareSn; |
|
122 | - } |
|
119 | + public function setWareSn($wareSn) |
|
120 | + { |
|
121 | + $this->wareSn = $wareSn; |
|
122 | + } |
|
123 | 123 | |
124 | 124 | } |
125 | 125 | |
126 | 126 | class PddWmsOuborderConfirmRequest_RequestOubOrder extends PopBaseJsonEntity |
127 | 127 | { |
128 | 128 | |
129 | - public function __construct() |
|
130 | - { |
|
131 | - |
|
132 | - } |
|
133 | - |
|
134 | - /** |
|
135 | - * @JsonProperty(String, "orderType") |
|
136 | - */ |
|
137 | - private $orderType; |
|
138 | - |
|
139 | - /** |
|
140 | - * @JsonProperty(String, "oubOrderCode") |
|
141 | - */ |
|
142 | - private $oubOrderCode; |
|
143 | - |
|
144 | - /** |
|
145 | - * @JsonProperty(String, "outBizCode") |
|
146 | - */ |
|
147 | - private $outBizCode; |
|
148 | - |
|
149 | - /** |
|
150 | - * @JsonProperty(String, "status") |
|
151 | - */ |
|
152 | - private $status; |
|
153 | - |
|
154 | - /** |
|
155 | - * @JsonProperty(String, "warehouseCode") |
|
156 | - */ |
|
157 | - private $warehouseCode; |
|
158 | - |
|
159 | - public function setOrderType($orderType) |
|
160 | - { |
|
161 | - $this->orderType = $orderType; |
|
162 | - } |
|
163 | - |
|
164 | - public function setOubOrderCode($oubOrderCode) |
|
165 | - { |
|
166 | - $this->oubOrderCode = $oubOrderCode; |
|
167 | - } |
|
168 | - |
|
169 | - public function setOutBizCode($outBizCode) |
|
170 | - { |
|
171 | - $this->outBizCode = $outBizCode; |
|
172 | - } |
|
173 | - |
|
174 | - public function setStatus($status) |
|
175 | - { |
|
176 | - $this->status = $status; |
|
177 | - } |
|
178 | - |
|
179 | - public function setWarehouseCode($warehouseCode) |
|
180 | - { |
|
181 | - $this->warehouseCode = $warehouseCode; |
|
182 | - } |
|
129 | + public function __construct() |
|
130 | + { |
|
131 | + |
|
132 | + } |
|
133 | + |
|
134 | + /** |
|
135 | + * @JsonProperty(String, "orderType") |
|
136 | + */ |
|
137 | + private $orderType; |
|
138 | + |
|
139 | + /** |
|
140 | + * @JsonProperty(String, "oubOrderCode") |
|
141 | + */ |
|
142 | + private $oubOrderCode; |
|
143 | + |
|
144 | + /** |
|
145 | + * @JsonProperty(String, "outBizCode") |
|
146 | + */ |
|
147 | + private $outBizCode; |
|
148 | + |
|
149 | + /** |
|
150 | + * @JsonProperty(String, "status") |
|
151 | + */ |
|
152 | + private $status; |
|
153 | + |
|
154 | + /** |
|
155 | + * @JsonProperty(String, "warehouseCode") |
|
156 | + */ |
|
157 | + private $warehouseCode; |
|
158 | + |
|
159 | + public function setOrderType($orderType) |
|
160 | + { |
|
161 | + $this->orderType = $orderType; |
|
162 | + } |
|
163 | + |
|
164 | + public function setOubOrderCode($oubOrderCode) |
|
165 | + { |
|
166 | + $this->oubOrderCode = $oubOrderCode; |
|
167 | + } |
|
168 | + |
|
169 | + public function setOutBizCode($outBizCode) |
|
170 | + { |
|
171 | + $this->outBizCode = $outBizCode; |
|
172 | + } |
|
173 | + |
|
174 | + public function setStatus($status) |
|
175 | + { |
|
176 | + $this->status = $status; |
|
177 | + } |
|
178 | + |
|
179 | + public function setWarehouseCode($warehouseCode) |
|
180 | + { |
|
181 | + $this->warehouseCode = $warehouseCode; |
|
182 | + } |
|
183 | 183 | |
184 | 184 | } |
@@ -7,310 +7,310 @@ |
||
7 | 7 | class PddTrainCreateReserveRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "pdd_order_id") |
|
15 | - */ |
|
16 | - private $pddOrderId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "depart_station") |
|
20 | - */ |
|
21 | - private $departStation; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "arrive_station") |
|
25 | - */ |
|
26 | - private $arriveStation; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "train_date") |
|
30 | - */ |
|
31 | - private $trainDate; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "train_no") |
|
35 | - */ |
|
36 | - private $trainNo; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "depart_time") |
|
40 | - */ |
|
41 | - private $departTime; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "arrive_time") |
|
45 | - */ |
|
46 | - private $arriveTime; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "no_seat") |
|
50 | - */ |
|
51 | - private $noSeat; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(String, "choose_seat") |
|
55 | - */ |
|
56 | - private $chooseSeat; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(String, "crh_account") |
|
60 | - */ |
|
61 | - private $crhAccount; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(String, "crh_password") |
|
65 | - */ |
|
66 | - private $crhPassword; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(Integer, "switch_account") |
|
70 | - */ |
|
71 | - private $switchAccount; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCreateReserveRequest_PassengerInfosItem>, "passenger_infos") |
|
75 | - */ |
|
76 | - private $passengerInfos; |
|
77 | - |
|
78 | - protected function setUserParams(&$params) |
|
79 | - { |
|
80 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
81 | - $this->setUserParam($params, "depart_station", $this->departStation); |
|
82 | - $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
83 | - $this->setUserParam($params, "train_date", $this->trainDate); |
|
84 | - $this->setUserParam($params, "train_no", $this->trainNo); |
|
85 | - $this->setUserParam($params, "depart_time", $this->departTime); |
|
86 | - $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
87 | - $this->setUserParam($params, "no_seat", $this->noSeat); |
|
88 | - $this->setUserParam($params, "choose_seat", $this->chooseSeat); |
|
89 | - $this->setUserParam($params, "crh_account", $this->crhAccount); |
|
90 | - $this->setUserParam($params, "crh_password", $this->crhPassword); |
|
91 | - $this->setUserParam($params, "switch_account", $this->switchAccount); |
|
92 | - $this->setUserParam($params, "passenger_infos", $this->passengerInfos); |
|
93 | - |
|
94 | - } |
|
95 | - |
|
96 | - public function getVersion() |
|
97 | - { |
|
98 | - return "V1"; |
|
99 | - } |
|
100 | - |
|
101 | - public function getDataType() |
|
102 | - { |
|
103 | - return "JSON"; |
|
104 | - } |
|
105 | - |
|
106 | - public function getType() |
|
107 | - { |
|
108 | - return "pdd.train.create.reserve"; |
|
109 | - } |
|
110 | - |
|
111 | - public function setPddOrderId($pddOrderId) |
|
112 | - { |
|
113 | - $this->pddOrderId = $pddOrderId; |
|
114 | - } |
|
115 | - |
|
116 | - public function setDepartStation($departStation) |
|
117 | - { |
|
118 | - $this->departStation = $departStation; |
|
119 | - } |
|
120 | - |
|
121 | - public function setArriveStation($arriveStation) |
|
122 | - { |
|
123 | - $this->arriveStation = $arriveStation; |
|
124 | - } |
|
125 | - |
|
126 | - public function setTrainDate($trainDate) |
|
127 | - { |
|
128 | - $this->trainDate = $trainDate; |
|
129 | - } |
|
130 | - |
|
131 | - public function setTrainNo($trainNo) |
|
132 | - { |
|
133 | - $this->trainNo = $trainNo; |
|
134 | - } |
|
135 | - |
|
136 | - public function setDepartTime($departTime) |
|
137 | - { |
|
138 | - $this->departTime = $departTime; |
|
139 | - } |
|
140 | - |
|
141 | - public function setArriveTime($arriveTime) |
|
142 | - { |
|
143 | - $this->arriveTime = $arriveTime; |
|
144 | - } |
|
145 | - |
|
146 | - public function setNoSeat($noSeat) |
|
147 | - { |
|
148 | - $this->noSeat = $noSeat; |
|
149 | - } |
|
150 | - |
|
151 | - public function setChooseSeat($chooseSeat) |
|
152 | - { |
|
153 | - $this->chooseSeat = $chooseSeat; |
|
154 | - } |
|
155 | - |
|
156 | - public function setCrhAccount($crhAccount) |
|
157 | - { |
|
158 | - $this->crhAccount = $crhAccount; |
|
159 | - } |
|
160 | - |
|
161 | - public function setCrhPassword($crhPassword) |
|
162 | - { |
|
163 | - $this->crhPassword = $crhPassword; |
|
164 | - } |
|
165 | - |
|
166 | - public function setSwitchAccount($switchAccount) |
|
167 | - { |
|
168 | - $this->switchAccount = $switchAccount; |
|
169 | - } |
|
170 | - |
|
171 | - public function setPassengerInfos($passengerInfos) |
|
172 | - { |
|
173 | - $this->passengerInfos = $passengerInfos; |
|
174 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "pdd_order_id") |
|
15 | + */ |
|
16 | + private $pddOrderId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "depart_station") |
|
20 | + */ |
|
21 | + private $departStation; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "arrive_station") |
|
25 | + */ |
|
26 | + private $arriveStation; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "train_date") |
|
30 | + */ |
|
31 | + private $trainDate; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "train_no") |
|
35 | + */ |
|
36 | + private $trainNo; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "depart_time") |
|
40 | + */ |
|
41 | + private $departTime; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "arrive_time") |
|
45 | + */ |
|
46 | + private $arriveTime; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "no_seat") |
|
50 | + */ |
|
51 | + private $noSeat; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(String, "choose_seat") |
|
55 | + */ |
|
56 | + private $chooseSeat; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(String, "crh_account") |
|
60 | + */ |
|
61 | + private $crhAccount; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(String, "crh_password") |
|
65 | + */ |
|
66 | + private $crhPassword; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(Integer, "switch_account") |
|
70 | + */ |
|
71 | + private $switchAccount; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCreateReserveRequest_PassengerInfosItem>, "passenger_infos") |
|
75 | + */ |
|
76 | + private $passengerInfos; |
|
77 | + |
|
78 | + protected function setUserParams(&$params) |
|
79 | + { |
|
80 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
81 | + $this->setUserParam($params, "depart_station", $this->departStation); |
|
82 | + $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
83 | + $this->setUserParam($params, "train_date", $this->trainDate); |
|
84 | + $this->setUserParam($params, "train_no", $this->trainNo); |
|
85 | + $this->setUserParam($params, "depart_time", $this->departTime); |
|
86 | + $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
87 | + $this->setUserParam($params, "no_seat", $this->noSeat); |
|
88 | + $this->setUserParam($params, "choose_seat", $this->chooseSeat); |
|
89 | + $this->setUserParam($params, "crh_account", $this->crhAccount); |
|
90 | + $this->setUserParam($params, "crh_password", $this->crhPassword); |
|
91 | + $this->setUserParam($params, "switch_account", $this->switchAccount); |
|
92 | + $this->setUserParam($params, "passenger_infos", $this->passengerInfos); |
|
93 | + |
|
94 | + } |
|
95 | + |
|
96 | + public function getVersion() |
|
97 | + { |
|
98 | + return "V1"; |
|
99 | + } |
|
100 | + |
|
101 | + public function getDataType() |
|
102 | + { |
|
103 | + return "JSON"; |
|
104 | + } |
|
105 | + |
|
106 | + public function getType() |
|
107 | + { |
|
108 | + return "pdd.train.create.reserve"; |
|
109 | + } |
|
110 | + |
|
111 | + public function setPddOrderId($pddOrderId) |
|
112 | + { |
|
113 | + $this->pddOrderId = $pddOrderId; |
|
114 | + } |
|
115 | + |
|
116 | + public function setDepartStation($departStation) |
|
117 | + { |
|
118 | + $this->departStation = $departStation; |
|
119 | + } |
|
120 | + |
|
121 | + public function setArriveStation($arriveStation) |
|
122 | + { |
|
123 | + $this->arriveStation = $arriveStation; |
|
124 | + } |
|
125 | + |
|
126 | + public function setTrainDate($trainDate) |
|
127 | + { |
|
128 | + $this->trainDate = $trainDate; |
|
129 | + } |
|
130 | + |
|
131 | + public function setTrainNo($trainNo) |
|
132 | + { |
|
133 | + $this->trainNo = $trainNo; |
|
134 | + } |
|
135 | + |
|
136 | + public function setDepartTime($departTime) |
|
137 | + { |
|
138 | + $this->departTime = $departTime; |
|
139 | + } |
|
140 | + |
|
141 | + public function setArriveTime($arriveTime) |
|
142 | + { |
|
143 | + $this->arriveTime = $arriveTime; |
|
144 | + } |
|
145 | + |
|
146 | + public function setNoSeat($noSeat) |
|
147 | + { |
|
148 | + $this->noSeat = $noSeat; |
|
149 | + } |
|
150 | + |
|
151 | + public function setChooseSeat($chooseSeat) |
|
152 | + { |
|
153 | + $this->chooseSeat = $chooseSeat; |
|
154 | + } |
|
155 | + |
|
156 | + public function setCrhAccount($crhAccount) |
|
157 | + { |
|
158 | + $this->crhAccount = $crhAccount; |
|
159 | + } |
|
160 | + |
|
161 | + public function setCrhPassword($crhPassword) |
|
162 | + { |
|
163 | + $this->crhPassword = $crhPassword; |
|
164 | + } |
|
165 | + |
|
166 | + public function setSwitchAccount($switchAccount) |
|
167 | + { |
|
168 | + $this->switchAccount = $switchAccount; |
|
169 | + } |
|
170 | + |
|
171 | + public function setPassengerInfos($passengerInfos) |
|
172 | + { |
|
173 | + $this->passengerInfos = $passengerInfos; |
|
174 | + } |
|
175 | 175 | |
176 | 176 | } |
177 | 177 | |
178 | 178 | class PddTrainCreateReserveRequest_PassengerInfosItem extends PopBaseJsonEntity |
179 | 179 | { |
180 | 180 | |
181 | - public function __construct() |
|
182 | - { |
|
183 | - |
|
184 | - } |
|
185 | - |
|
186 | - /** |
|
187 | - * @JsonProperty(String, "card_type") |
|
188 | - */ |
|
189 | - private $cardType; |
|
190 | - |
|
191 | - /** |
|
192 | - * @JsonProperty(String, "card_no") |
|
193 | - */ |
|
194 | - private $cardNo; |
|
195 | - |
|
196 | - /** |
|
197 | - * @JsonProperty(String, "name") |
|
198 | - */ |
|
199 | - private $name; |
|
200 | - |
|
201 | - /** |
|
202 | - * @JsonProperty(Integer, "ticket_type") |
|
203 | - */ |
|
204 | - private $ticketType; |
|
205 | - |
|
206 | - /** |
|
207 | - * @JsonProperty(Integer, "seat_type") |
|
208 | - */ |
|
209 | - private $seatType; |
|
210 | - |
|
211 | - /** |
|
212 | - * @JsonProperty(Long, "ticket_price") |
|
213 | - */ |
|
214 | - private $ticketPrice; |
|
215 | - |
|
216 | - /** |
|
217 | - * @JsonProperty(String, "sub_pdd_order_id") |
|
218 | - */ |
|
219 | - private $subPddOrderId; |
|
220 | - |
|
221 | - /** |
|
222 | - * @JsonProperty(String, "birthday") |
|
223 | - */ |
|
224 | - private $birthday; |
|
225 | - |
|
226 | - /** |
|
227 | - * @JsonProperty(String, "effective_Date") |
|
228 | - */ |
|
229 | - private $effectiveDate; |
|
230 | - |
|
231 | - /** |
|
232 | - * @JsonProperty(String, "sex") |
|
233 | - */ |
|
234 | - private $sex; |
|
235 | - |
|
236 | - /** |
|
237 | - * @JsonProperty(String, "country") |
|
238 | - */ |
|
239 | - private $country; |
|
240 | - |
|
241 | - /** |
|
242 | - * @JsonProperty(String, "mobile") |
|
243 | - */ |
|
244 | - private $mobile; |
|
245 | - |
|
246 | - /** |
|
247 | - * @JsonProperty(String, "email") |
|
248 | - */ |
|
249 | - private $email; |
|
250 | - |
|
251 | - public function setCardType($cardType) |
|
252 | - { |
|
253 | - $this->cardType = $cardType; |
|
254 | - } |
|
255 | - |
|
256 | - public function setCardNo($cardNo) |
|
257 | - { |
|
258 | - $this->cardNo = $cardNo; |
|
259 | - } |
|
260 | - |
|
261 | - public function setName($name) |
|
262 | - { |
|
263 | - $this->name = $name; |
|
264 | - } |
|
265 | - |
|
266 | - public function setTicketType($ticketType) |
|
267 | - { |
|
268 | - $this->ticketType = $ticketType; |
|
269 | - } |
|
270 | - |
|
271 | - public function setSeatType($seatType) |
|
272 | - { |
|
273 | - $this->seatType = $seatType; |
|
274 | - } |
|
275 | - |
|
276 | - public function setTicketPrice($ticketPrice) |
|
277 | - { |
|
278 | - $this->ticketPrice = $ticketPrice; |
|
279 | - } |
|
280 | - |
|
281 | - public function setSubPddOrderId($subPddOrderId) |
|
282 | - { |
|
283 | - $this->subPddOrderId = $subPddOrderId; |
|
284 | - } |
|
285 | - |
|
286 | - public function setBirthday($birthday) |
|
287 | - { |
|
288 | - $this->birthday = $birthday; |
|
289 | - } |
|
290 | - |
|
291 | - public function setEffectiveDate($effectiveDate) |
|
292 | - { |
|
293 | - $this->effectiveDate = $effectiveDate; |
|
294 | - } |
|
295 | - |
|
296 | - public function setSex($sex) |
|
297 | - { |
|
298 | - $this->sex = $sex; |
|
299 | - } |
|
300 | - |
|
301 | - public function setCountry($country) |
|
302 | - { |
|
303 | - $this->country = $country; |
|
304 | - } |
|
305 | - |
|
306 | - public function setMobile($mobile) |
|
307 | - { |
|
308 | - $this->mobile = $mobile; |
|
309 | - } |
|
310 | - |
|
311 | - public function setEmail($email) |
|
312 | - { |
|
313 | - $this->email = $email; |
|
314 | - } |
|
181 | + public function __construct() |
|
182 | + { |
|
183 | + |
|
184 | + } |
|
185 | + |
|
186 | + /** |
|
187 | + * @JsonProperty(String, "card_type") |
|
188 | + */ |
|
189 | + private $cardType; |
|
190 | + |
|
191 | + /** |
|
192 | + * @JsonProperty(String, "card_no") |
|
193 | + */ |
|
194 | + private $cardNo; |
|
195 | + |
|
196 | + /** |
|
197 | + * @JsonProperty(String, "name") |
|
198 | + */ |
|
199 | + private $name; |
|
200 | + |
|
201 | + /** |
|
202 | + * @JsonProperty(Integer, "ticket_type") |
|
203 | + */ |
|
204 | + private $ticketType; |
|
205 | + |
|
206 | + /** |
|
207 | + * @JsonProperty(Integer, "seat_type") |
|
208 | + */ |
|
209 | + private $seatType; |
|
210 | + |
|
211 | + /** |
|
212 | + * @JsonProperty(Long, "ticket_price") |
|
213 | + */ |
|
214 | + private $ticketPrice; |
|
215 | + |
|
216 | + /** |
|
217 | + * @JsonProperty(String, "sub_pdd_order_id") |
|
218 | + */ |
|
219 | + private $subPddOrderId; |
|
220 | + |
|
221 | + /** |
|
222 | + * @JsonProperty(String, "birthday") |
|
223 | + */ |
|
224 | + private $birthday; |
|
225 | + |
|
226 | + /** |
|
227 | + * @JsonProperty(String, "effective_Date") |
|
228 | + */ |
|
229 | + private $effectiveDate; |
|
230 | + |
|
231 | + /** |
|
232 | + * @JsonProperty(String, "sex") |
|
233 | + */ |
|
234 | + private $sex; |
|
235 | + |
|
236 | + /** |
|
237 | + * @JsonProperty(String, "country") |
|
238 | + */ |
|
239 | + private $country; |
|
240 | + |
|
241 | + /** |
|
242 | + * @JsonProperty(String, "mobile") |
|
243 | + */ |
|
244 | + private $mobile; |
|
245 | + |
|
246 | + /** |
|
247 | + * @JsonProperty(String, "email") |
|
248 | + */ |
|
249 | + private $email; |
|
250 | + |
|
251 | + public function setCardType($cardType) |
|
252 | + { |
|
253 | + $this->cardType = $cardType; |
|
254 | + } |
|
255 | + |
|
256 | + public function setCardNo($cardNo) |
|
257 | + { |
|
258 | + $this->cardNo = $cardNo; |
|
259 | + } |
|
260 | + |
|
261 | + public function setName($name) |
|
262 | + { |
|
263 | + $this->name = $name; |
|
264 | + } |
|
265 | + |
|
266 | + public function setTicketType($ticketType) |
|
267 | + { |
|
268 | + $this->ticketType = $ticketType; |
|
269 | + } |
|
270 | + |
|
271 | + public function setSeatType($seatType) |
|
272 | + { |
|
273 | + $this->seatType = $seatType; |
|
274 | + } |
|
275 | + |
|
276 | + public function setTicketPrice($ticketPrice) |
|
277 | + { |
|
278 | + $this->ticketPrice = $ticketPrice; |
|
279 | + } |
|
280 | + |
|
281 | + public function setSubPddOrderId($subPddOrderId) |
|
282 | + { |
|
283 | + $this->subPddOrderId = $subPddOrderId; |
|
284 | + } |
|
285 | + |
|
286 | + public function setBirthday($birthday) |
|
287 | + { |
|
288 | + $this->birthday = $birthday; |
|
289 | + } |
|
290 | + |
|
291 | + public function setEffectiveDate($effectiveDate) |
|
292 | + { |
|
293 | + $this->effectiveDate = $effectiveDate; |
|
294 | + } |
|
295 | + |
|
296 | + public function setSex($sex) |
|
297 | + { |
|
298 | + $this->sex = $sex; |
|
299 | + } |
|
300 | + |
|
301 | + public function setCountry($country) |
|
302 | + { |
|
303 | + $this->country = $country; |
|
304 | + } |
|
305 | + |
|
306 | + public function setMobile($mobile) |
|
307 | + { |
|
308 | + $this->mobile = $mobile; |
|
309 | + } |
|
310 | + |
|
311 | + public function setEmail($email) |
|
312 | + { |
|
313 | + $this->email = $email; |
|
314 | + } |
|
315 | 315 | |
316 | 316 | } |
@@ -7,88 +7,88 @@ |
||
7 | 7 | class PddWmsOutboundChangedateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOutboundChangedateRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOutboundChangedateRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.wms.outbound.changedate"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.wms.outbound.changedate"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddWmsOutboundChangedateRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(String, "deliveryOrderCode") |
|
56 | - */ |
|
57 | - private $deliveryOrderCode; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(String, "warehouseCode") |
|
61 | - */ |
|
62 | - private $warehouseCode; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(String, "scheduleStart") |
|
66 | - */ |
|
67 | - private $scheduleStart; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(String, "scheduleEnd") |
|
71 | - */ |
|
72 | - private $scheduleEnd; |
|
73 | - |
|
74 | - public function setDeliveryOrderCode($deliveryOrderCode) |
|
75 | - { |
|
76 | - $this->deliveryOrderCode = $deliveryOrderCode; |
|
77 | - } |
|
78 | - |
|
79 | - public function setWarehouseCode($warehouseCode) |
|
80 | - { |
|
81 | - $this->warehouseCode = $warehouseCode; |
|
82 | - } |
|
83 | - |
|
84 | - public function setScheduleStart($scheduleStart) |
|
85 | - { |
|
86 | - $this->scheduleStart = $scheduleStart; |
|
87 | - } |
|
88 | - |
|
89 | - public function setScheduleEnd($scheduleEnd) |
|
90 | - { |
|
91 | - $this->scheduleEnd = $scheduleEnd; |
|
92 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "deliveryOrderCode") |
|
56 | + */ |
|
57 | + private $deliveryOrderCode; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(String, "warehouseCode") |
|
61 | + */ |
|
62 | + private $warehouseCode; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "scheduleStart") |
|
66 | + */ |
|
67 | + private $scheduleStart; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(String, "scheduleEnd") |
|
71 | + */ |
|
72 | + private $scheduleEnd; |
|
73 | + |
|
74 | + public function setDeliveryOrderCode($deliveryOrderCode) |
|
75 | + { |
|
76 | + $this->deliveryOrderCode = $deliveryOrderCode; |
|
77 | + } |
|
78 | + |
|
79 | + public function setWarehouseCode($warehouseCode) |
|
80 | + { |
|
81 | + $this->warehouseCode = $warehouseCode; |
|
82 | + } |
|
83 | + |
|
84 | + public function setScheduleStart($scheduleStart) |
|
85 | + { |
|
86 | + $this->scheduleStart = $scheduleStart; |
|
87 | + } |
|
88 | + |
|
89 | + public function setScheduleEnd($scheduleEnd) |
|
90 | + { |
|
91 | + $this->scheduleEnd = $scheduleEnd; |
|
92 | + } |
|
93 | 93 | |
94 | 94 | } |
@@ -7,333 +7,333 @@ |
||
7 | 7 | class PddTrainCallbackOtcbookRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "arrive_date") |
|
15 | - */ |
|
16 | - private $arriveDate; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "arrive_station") |
|
20 | - */ |
|
21 | - private $arriveStation; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "arrive_time") |
|
25 | - */ |
|
26 | - private $arriveTime; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Long, "code") |
|
30 | - */ |
|
31 | - private $code; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "crh_order") |
|
35 | - */ |
|
36 | - private $crhOrder; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "depart_date") |
|
40 | - */ |
|
41 | - private $departDate; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "depart_station") |
|
45 | - */ |
|
46 | - private $departStation; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(String, "depart_time") |
|
50 | - */ |
|
51 | - private $departTime; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(String, "msg") |
|
55 | - */ |
|
56 | - private $msg; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(String, "order_id") |
|
60 | - */ |
|
61 | - private $orderId; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCallbackOtcbookRequest_PassengersItem>, "passengers") |
|
65 | - */ |
|
66 | - private $passengers; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(String, "pdd_order_id") |
|
70 | - */ |
|
71 | - private $pddOrderId; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(String, "request_id") |
|
75 | - */ |
|
76 | - private $requestId; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(String, "train_no") |
|
80 | - */ |
|
81 | - private $trainNo; |
|
82 | - |
|
83 | - /** |
|
84 | - * @JsonProperty(Integer, "use_id_card_in") |
|
85 | - */ |
|
86 | - private $useIdCardIn; |
|
87 | - |
|
88 | - /** |
|
89 | - * @JsonProperty(String, "vendor_time") |
|
90 | - */ |
|
91 | - private $vendorTime; |
|
92 | - |
|
93 | - protected function setUserParams(&$params) |
|
94 | - { |
|
95 | - $this->setUserParam($params, "arrive_date", $this->arriveDate); |
|
96 | - $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
97 | - $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
98 | - $this->setUserParam($params, "code", $this->code); |
|
99 | - $this->setUserParam($params, "crh_order", $this->crhOrder); |
|
100 | - $this->setUserParam($params, "depart_date", $this->departDate); |
|
101 | - $this->setUserParam($params, "depart_station", $this->departStation); |
|
102 | - $this->setUserParam($params, "depart_time", $this->departTime); |
|
103 | - $this->setUserParam($params, "msg", $this->msg); |
|
104 | - $this->setUserParam($params, "order_id", $this->orderId); |
|
105 | - $this->setUserParam($params, "passengers", $this->passengers); |
|
106 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
107 | - $this->setUserParam($params, "request_id", $this->requestId); |
|
108 | - $this->setUserParam($params, "train_no", $this->trainNo); |
|
109 | - $this->setUserParam($params, "use_id_card_in", $this->useIdCardIn); |
|
110 | - $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
111 | - |
|
112 | - } |
|
113 | - |
|
114 | - public function getVersion() |
|
115 | - { |
|
116 | - return "V1"; |
|
117 | - } |
|
118 | - |
|
119 | - public function getDataType() |
|
120 | - { |
|
121 | - return "JSON"; |
|
122 | - } |
|
123 | - |
|
124 | - public function getType() |
|
125 | - { |
|
126 | - return "pdd.train.callback.otcbook"; |
|
127 | - } |
|
128 | - |
|
129 | - public function setArriveDate($arriveDate) |
|
130 | - { |
|
131 | - $this->arriveDate = $arriveDate; |
|
132 | - } |
|
133 | - |
|
134 | - public function setArriveStation($arriveStation) |
|
135 | - { |
|
136 | - $this->arriveStation = $arriveStation; |
|
137 | - } |
|
138 | - |
|
139 | - public function setArriveTime($arriveTime) |
|
140 | - { |
|
141 | - $this->arriveTime = $arriveTime; |
|
142 | - } |
|
143 | - |
|
144 | - public function setCode($code) |
|
145 | - { |
|
146 | - $this->code = $code; |
|
147 | - } |
|
148 | - |
|
149 | - public function setCrhOrder($crhOrder) |
|
150 | - { |
|
151 | - $this->crhOrder = $crhOrder; |
|
152 | - } |
|
153 | - |
|
154 | - public function setDepartDate($departDate) |
|
155 | - { |
|
156 | - $this->departDate = $departDate; |
|
157 | - } |
|
158 | - |
|
159 | - public function setDepartStation($departStation) |
|
160 | - { |
|
161 | - $this->departStation = $departStation; |
|
162 | - } |
|
163 | - |
|
164 | - public function setDepartTime($departTime) |
|
165 | - { |
|
166 | - $this->departTime = $departTime; |
|
167 | - } |
|
168 | - |
|
169 | - public function setMsg($msg) |
|
170 | - { |
|
171 | - $this->msg = $msg; |
|
172 | - } |
|
173 | - |
|
174 | - public function setOrderId($orderId) |
|
175 | - { |
|
176 | - $this->orderId = $orderId; |
|
177 | - } |
|
178 | - |
|
179 | - public function setPassengers($passengers) |
|
180 | - { |
|
181 | - $this->passengers = $passengers; |
|
182 | - } |
|
183 | - |
|
184 | - public function setPddOrderId($pddOrderId) |
|
185 | - { |
|
186 | - $this->pddOrderId = $pddOrderId; |
|
187 | - } |
|
188 | - |
|
189 | - public function setRequestId($requestId) |
|
190 | - { |
|
191 | - $this->requestId = $requestId; |
|
192 | - } |
|
193 | - |
|
194 | - public function setTrainNo($trainNo) |
|
195 | - { |
|
196 | - $this->trainNo = $trainNo; |
|
197 | - } |
|
198 | - |
|
199 | - public function setUseIdCardIn($useIdCardIn) |
|
200 | - { |
|
201 | - $this->useIdCardIn = $useIdCardIn; |
|
202 | - } |
|
203 | - |
|
204 | - public function setVendorTime($vendorTime) |
|
205 | - { |
|
206 | - $this->vendorTime = $vendorTime; |
|
207 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "arrive_date") |
|
15 | + */ |
|
16 | + private $arriveDate; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "arrive_station") |
|
20 | + */ |
|
21 | + private $arriveStation; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "arrive_time") |
|
25 | + */ |
|
26 | + private $arriveTime; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Long, "code") |
|
30 | + */ |
|
31 | + private $code; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "crh_order") |
|
35 | + */ |
|
36 | + private $crhOrder; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "depart_date") |
|
40 | + */ |
|
41 | + private $departDate; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "depart_station") |
|
45 | + */ |
|
46 | + private $departStation; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(String, "depart_time") |
|
50 | + */ |
|
51 | + private $departTime; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(String, "msg") |
|
55 | + */ |
|
56 | + private $msg; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(String, "order_id") |
|
60 | + */ |
|
61 | + private $orderId; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCallbackOtcbookRequest_PassengersItem>, "passengers") |
|
65 | + */ |
|
66 | + private $passengers; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(String, "pdd_order_id") |
|
70 | + */ |
|
71 | + private $pddOrderId; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(String, "request_id") |
|
75 | + */ |
|
76 | + private $requestId; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(String, "train_no") |
|
80 | + */ |
|
81 | + private $trainNo; |
|
82 | + |
|
83 | + /** |
|
84 | + * @JsonProperty(Integer, "use_id_card_in") |
|
85 | + */ |
|
86 | + private $useIdCardIn; |
|
87 | + |
|
88 | + /** |
|
89 | + * @JsonProperty(String, "vendor_time") |
|
90 | + */ |
|
91 | + private $vendorTime; |
|
92 | + |
|
93 | + protected function setUserParams(&$params) |
|
94 | + { |
|
95 | + $this->setUserParam($params, "arrive_date", $this->arriveDate); |
|
96 | + $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
97 | + $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
98 | + $this->setUserParam($params, "code", $this->code); |
|
99 | + $this->setUserParam($params, "crh_order", $this->crhOrder); |
|
100 | + $this->setUserParam($params, "depart_date", $this->departDate); |
|
101 | + $this->setUserParam($params, "depart_station", $this->departStation); |
|
102 | + $this->setUserParam($params, "depart_time", $this->departTime); |
|
103 | + $this->setUserParam($params, "msg", $this->msg); |
|
104 | + $this->setUserParam($params, "order_id", $this->orderId); |
|
105 | + $this->setUserParam($params, "passengers", $this->passengers); |
|
106 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
107 | + $this->setUserParam($params, "request_id", $this->requestId); |
|
108 | + $this->setUserParam($params, "train_no", $this->trainNo); |
|
109 | + $this->setUserParam($params, "use_id_card_in", $this->useIdCardIn); |
|
110 | + $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
111 | + |
|
112 | + } |
|
113 | + |
|
114 | + public function getVersion() |
|
115 | + { |
|
116 | + return "V1"; |
|
117 | + } |
|
118 | + |
|
119 | + public function getDataType() |
|
120 | + { |
|
121 | + return "JSON"; |
|
122 | + } |
|
123 | + |
|
124 | + public function getType() |
|
125 | + { |
|
126 | + return "pdd.train.callback.otcbook"; |
|
127 | + } |
|
128 | + |
|
129 | + public function setArriveDate($arriveDate) |
|
130 | + { |
|
131 | + $this->arriveDate = $arriveDate; |
|
132 | + } |
|
133 | + |
|
134 | + public function setArriveStation($arriveStation) |
|
135 | + { |
|
136 | + $this->arriveStation = $arriveStation; |
|
137 | + } |
|
138 | + |
|
139 | + public function setArriveTime($arriveTime) |
|
140 | + { |
|
141 | + $this->arriveTime = $arriveTime; |
|
142 | + } |
|
143 | + |
|
144 | + public function setCode($code) |
|
145 | + { |
|
146 | + $this->code = $code; |
|
147 | + } |
|
148 | + |
|
149 | + public function setCrhOrder($crhOrder) |
|
150 | + { |
|
151 | + $this->crhOrder = $crhOrder; |
|
152 | + } |
|
153 | + |
|
154 | + public function setDepartDate($departDate) |
|
155 | + { |
|
156 | + $this->departDate = $departDate; |
|
157 | + } |
|
158 | + |
|
159 | + public function setDepartStation($departStation) |
|
160 | + { |
|
161 | + $this->departStation = $departStation; |
|
162 | + } |
|
163 | + |
|
164 | + public function setDepartTime($departTime) |
|
165 | + { |
|
166 | + $this->departTime = $departTime; |
|
167 | + } |
|
168 | + |
|
169 | + public function setMsg($msg) |
|
170 | + { |
|
171 | + $this->msg = $msg; |
|
172 | + } |
|
173 | + |
|
174 | + public function setOrderId($orderId) |
|
175 | + { |
|
176 | + $this->orderId = $orderId; |
|
177 | + } |
|
178 | + |
|
179 | + public function setPassengers($passengers) |
|
180 | + { |
|
181 | + $this->passengers = $passengers; |
|
182 | + } |
|
183 | + |
|
184 | + public function setPddOrderId($pddOrderId) |
|
185 | + { |
|
186 | + $this->pddOrderId = $pddOrderId; |
|
187 | + } |
|
188 | + |
|
189 | + public function setRequestId($requestId) |
|
190 | + { |
|
191 | + $this->requestId = $requestId; |
|
192 | + } |
|
193 | + |
|
194 | + public function setTrainNo($trainNo) |
|
195 | + { |
|
196 | + $this->trainNo = $trainNo; |
|
197 | + } |
|
198 | + |
|
199 | + public function setUseIdCardIn($useIdCardIn) |
|
200 | + { |
|
201 | + $this->useIdCardIn = $useIdCardIn; |
|
202 | + } |
|
203 | + |
|
204 | + public function setVendorTime($vendorTime) |
|
205 | + { |
|
206 | + $this->vendorTime = $vendorTime; |
|
207 | + } |
|
208 | 208 | |
209 | 209 | } |
210 | 210 | |
211 | 211 | class PddTrainCallbackOtcbookRequest_PassengersItem extends PopBaseJsonEntity |
212 | 212 | { |
213 | 213 | |
214 | - public function __construct() |
|
215 | - { |
|
216 | - |
|
217 | - } |
|
218 | - |
|
219 | - /** |
|
220 | - * @JsonProperty(String, "card_no") |
|
221 | - */ |
|
222 | - private $cardNo; |
|
223 | - |
|
224 | - /** |
|
225 | - * @JsonProperty(String, "card_type") |
|
226 | - */ |
|
227 | - private $cardType; |
|
228 | - |
|
229 | - /** |
|
230 | - * @JsonProperty(String, "coach_name") |
|
231 | - */ |
|
232 | - private $coachName; |
|
233 | - |
|
234 | - /** |
|
235 | - * @JsonProperty(String, "name") |
|
236 | - */ |
|
237 | - private $name; |
|
238 | - |
|
239 | - /** |
|
240 | - * @JsonProperty(String, "seat_name") |
|
241 | - */ |
|
242 | - private $seatName; |
|
243 | - |
|
244 | - /** |
|
245 | - * @JsonProperty(Integer, "seat_position") |
|
246 | - */ |
|
247 | - private $seatPosition; |
|
248 | - |
|
249 | - /** |
|
250 | - * @JsonProperty(Integer, "seat_type") |
|
251 | - */ |
|
252 | - private $seatType; |
|
253 | - |
|
254 | - /** |
|
255 | - * @JsonProperty(String, "sub_crh_order") |
|
256 | - */ |
|
257 | - private $subCrhOrder; |
|
258 | - |
|
259 | - /** |
|
260 | - * @JsonProperty(String, "sub_order_id") |
|
261 | - */ |
|
262 | - private $subOrderId; |
|
263 | - |
|
264 | - /** |
|
265 | - * @JsonProperty(String, "sub_pdd_order_id") |
|
266 | - */ |
|
267 | - private $subPddOrderId; |
|
268 | - |
|
269 | - /** |
|
270 | - * @JsonProperty(Long, "ticket_price") |
|
271 | - */ |
|
272 | - private $ticketPrice; |
|
273 | - |
|
274 | - /** |
|
275 | - * @JsonProperty(Integer, "ticket_type") |
|
276 | - */ |
|
277 | - private $ticketType; |
|
278 | - |
|
279 | - public function setCardNo($cardNo) |
|
280 | - { |
|
281 | - $this->cardNo = $cardNo; |
|
282 | - } |
|
283 | - |
|
284 | - public function setCardType($cardType) |
|
285 | - { |
|
286 | - $this->cardType = $cardType; |
|
287 | - } |
|
288 | - |
|
289 | - public function setCoachName($coachName) |
|
290 | - { |
|
291 | - $this->coachName = $coachName; |
|
292 | - } |
|
293 | - |
|
294 | - public function setName($name) |
|
295 | - { |
|
296 | - $this->name = $name; |
|
297 | - } |
|
298 | - |
|
299 | - public function setSeatName($seatName) |
|
300 | - { |
|
301 | - $this->seatName = $seatName; |
|
302 | - } |
|
303 | - |
|
304 | - public function setSeatPosition($seatPosition) |
|
305 | - { |
|
306 | - $this->seatPosition = $seatPosition; |
|
307 | - } |
|
308 | - |
|
309 | - public function setSeatType($seatType) |
|
310 | - { |
|
311 | - $this->seatType = $seatType; |
|
312 | - } |
|
313 | - |
|
314 | - public function setSubCrhOrder($subCrhOrder) |
|
315 | - { |
|
316 | - $this->subCrhOrder = $subCrhOrder; |
|
317 | - } |
|
318 | - |
|
319 | - public function setSubOrderId($subOrderId) |
|
320 | - { |
|
321 | - $this->subOrderId = $subOrderId; |
|
322 | - } |
|
323 | - |
|
324 | - public function setSubPddOrderId($subPddOrderId) |
|
325 | - { |
|
326 | - $this->subPddOrderId = $subPddOrderId; |
|
327 | - } |
|
328 | - |
|
329 | - public function setTicketPrice($ticketPrice) |
|
330 | - { |
|
331 | - $this->ticketPrice = $ticketPrice; |
|
332 | - } |
|
333 | - |
|
334 | - public function setTicketType($ticketType) |
|
335 | - { |
|
336 | - $this->ticketType = $ticketType; |
|
337 | - } |
|
214 | + public function __construct() |
|
215 | + { |
|
216 | + |
|
217 | + } |
|
218 | + |
|
219 | + /** |
|
220 | + * @JsonProperty(String, "card_no") |
|
221 | + */ |
|
222 | + private $cardNo; |
|
223 | + |
|
224 | + /** |
|
225 | + * @JsonProperty(String, "card_type") |
|
226 | + */ |
|
227 | + private $cardType; |
|
228 | + |
|
229 | + /** |
|
230 | + * @JsonProperty(String, "coach_name") |
|
231 | + */ |
|
232 | + private $coachName; |
|
233 | + |
|
234 | + /** |
|
235 | + * @JsonProperty(String, "name") |
|
236 | + */ |
|
237 | + private $name; |
|
238 | + |
|
239 | + /** |
|
240 | + * @JsonProperty(String, "seat_name") |
|
241 | + */ |
|
242 | + private $seatName; |
|
243 | + |
|
244 | + /** |
|
245 | + * @JsonProperty(Integer, "seat_position") |
|
246 | + */ |
|
247 | + private $seatPosition; |
|
248 | + |
|
249 | + /** |
|
250 | + * @JsonProperty(Integer, "seat_type") |
|
251 | + */ |
|
252 | + private $seatType; |
|
253 | + |
|
254 | + /** |
|
255 | + * @JsonProperty(String, "sub_crh_order") |
|
256 | + */ |
|
257 | + private $subCrhOrder; |
|
258 | + |
|
259 | + /** |
|
260 | + * @JsonProperty(String, "sub_order_id") |
|
261 | + */ |
|
262 | + private $subOrderId; |
|
263 | + |
|
264 | + /** |
|
265 | + * @JsonProperty(String, "sub_pdd_order_id") |
|
266 | + */ |
|
267 | + private $subPddOrderId; |
|
268 | + |
|
269 | + /** |
|
270 | + * @JsonProperty(Long, "ticket_price") |
|
271 | + */ |
|
272 | + private $ticketPrice; |
|
273 | + |
|
274 | + /** |
|
275 | + * @JsonProperty(Integer, "ticket_type") |
|
276 | + */ |
|
277 | + private $ticketType; |
|
278 | + |
|
279 | + public function setCardNo($cardNo) |
|
280 | + { |
|
281 | + $this->cardNo = $cardNo; |
|
282 | + } |
|
283 | + |
|
284 | + public function setCardType($cardType) |
|
285 | + { |
|
286 | + $this->cardType = $cardType; |
|
287 | + } |
|
288 | + |
|
289 | + public function setCoachName($coachName) |
|
290 | + { |
|
291 | + $this->coachName = $coachName; |
|
292 | + } |
|
293 | + |
|
294 | + public function setName($name) |
|
295 | + { |
|
296 | + $this->name = $name; |
|
297 | + } |
|
298 | + |
|
299 | + public function setSeatName($seatName) |
|
300 | + { |
|
301 | + $this->seatName = $seatName; |
|
302 | + } |
|
303 | + |
|
304 | + public function setSeatPosition($seatPosition) |
|
305 | + { |
|
306 | + $this->seatPosition = $seatPosition; |
|
307 | + } |
|
308 | + |
|
309 | + public function setSeatType($seatType) |
|
310 | + { |
|
311 | + $this->seatType = $seatType; |
|
312 | + } |
|
313 | + |
|
314 | + public function setSubCrhOrder($subCrhOrder) |
|
315 | + { |
|
316 | + $this->subCrhOrder = $subCrhOrder; |
|
317 | + } |
|
318 | + |
|
319 | + public function setSubOrderId($subOrderId) |
|
320 | + { |
|
321 | + $this->subOrderId = $subOrderId; |
|
322 | + } |
|
323 | + |
|
324 | + public function setSubPddOrderId($subPddOrderId) |
|
325 | + { |
|
326 | + $this->subPddOrderId = $subPddOrderId; |
|
327 | + } |
|
328 | + |
|
329 | + public function setTicketPrice($ticketPrice) |
|
330 | + { |
|
331 | + $this->ticketPrice = $ticketPrice; |
|
332 | + } |
|
333 | + |
|
334 | + public function setTicketType($ticketType) |
|
335 | + { |
|
336 | + $this->ticketType = $ticketType; |
|
337 | + } |
|
338 | 338 | |
339 | 339 | } |
@@ -7,148 +7,148 @@ |
||
7 | 7 | class PddVasOrderSearchRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "create_time_end") |
|
15 | - */ |
|
16 | - private $createTimeEnd; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "create_time_start") |
|
20 | - */ |
|
21 | - private $createTimeStart; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(Long, "mall_id") |
|
25 | - */ |
|
26 | - private $mallId; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "order_sn") |
|
30 | - */ |
|
31 | - private $orderSn; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Integer, "order_status") |
|
35 | - */ |
|
36 | - private $orderStatus; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "page") |
|
40 | - */ |
|
41 | - private $page; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "page_size") |
|
45 | - */ |
|
46 | - private $pageSize; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Long, "pay_time_end") |
|
50 | - */ |
|
51 | - private $payTimeEnd; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Long, "pay_time_start") |
|
55 | - */ |
|
56 | - private $payTimeStart; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(Long, "sku_id") |
|
60 | - */ |
|
61 | - private $skuId; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(Integer, "refund_status") |
|
65 | - */ |
|
66 | - private $refundStatus; |
|
67 | - |
|
68 | - protected function setUserParams(&$params) |
|
69 | - { |
|
70 | - $this->setUserParam($params, "create_time_end", $this->createTimeEnd); |
|
71 | - $this->setUserParam($params, "create_time_start", $this->createTimeStart); |
|
72 | - $this->setUserParam($params, "mall_id", $this->mallId); |
|
73 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
74 | - $this->setUserParam($params, "order_status", $this->orderStatus); |
|
75 | - $this->setUserParam($params, "page", $this->page); |
|
76 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
77 | - $this->setUserParam($params, "pay_time_end", $this->payTimeEnd); |
|
78 | - $this->setUserParam($params, "pay_time_start", $this->payTimeStart); |
|
79 | - $this->setUserParam($params, "sku_id", $this->skuId); |
|
80 | - $this->setUserParam($params, "refund_status", $this->refundStatus); |
|
81 | - |
|
82 | - } |
|
83 | - |
|
84 | - public function getVersion() |
|
85 | - { |
|
86 | - return "V1"; |
|
87 | - } |
|
88 | - |
|
89 | - public function getDataType() |
|
90 | - { |
|
91 | - return "JSON"; |
|
92 | - } |
|
93 | - |
|
94 | - public function getType() |
|
95 | - { |
|
96 | - return "pdd.vas.order.search"; |
|
97 | - } |
|
98 | - |
|
99 | - public function setCreateTimeEnd($createTimeEnd) |
|
100 | - { |
|
101 | - $this->createTimeEnd = $createTimeEnd; |
|
102 | - } |
|
103 | - |
|
104 | - public function setCreateTimeStart($createTimeStart) |
|
105 | - { |
|
106 | - $this->createTimeStart = $createTimeStart; |
|
107 | - } |
|
108 | - |
|
109 | - public function setMallId($mallId) |
|
110 | - { |
|
111 | - $this->mallId = $mallId; |
|
112 | - } |
|
113 | - |
|
114 | - public function setOrderSn($orderSn) |
|
115 | - { |
|
116 | - $this->orderSn = $orderSn; |
|
117 | - } |
|
118 | - |
|
119 | - public function setOrderStatus($orderStatus) |
|
120 | - { |
|
121 | - $this->orderStatus = $orderStatus; |
|
122 | - } |
|
123 | - |
|
124 | - public function setPage($page) |
|
125 | - { |
|
126 | - $this->page = $page; |
|
127 | - } |
|
128 | - |
|
129 | - public function setPageSize($pageSize) |
|
130 | - { |
|
131 | - $this->pageSize = $pageSize; |
|
132 | - } |
|
133 | - |
|
134 | - public function setPayTimeEnd($payTimeEnd) |
|
135 | - { |
|
136 | - $this->payTimeEnd = $payTimeEnd; |
|
137 | - } |
|
138 | - |
|
139 | - public function setPayTimeStart($payTimeStart) |
|
140 | - { |
|
141 | - $this->payTimeStart = $payTimeStart; |
|
142 | - } |
|
143 | - |
|
144 | - public function setSkuId($skuId) |
|
145 | - { |
|
146 | - $this->skuId = $skuId; |
|
147 | - } |
|
148 | - |
|
149 | - public function setRefundStatus($refundStatus) |
|
150 | - { |
|
151 | - $this->refundStatus = $refundStatus; |
|
152 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "create_time_end") |
|
15 | + */ |
|
16 | + private $createTimeEnd; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "create_time_start") |
|
20 | + */ |
|
21 | + private $createTimeStart; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(Long, "mall_id") |
|
25 | + */ |
|
26 | + private $mallId; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "order_sn") |
|
30 | + */ |
|
31 | + private $orderSn; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Integer, "order_status") |
|
35 | + */ |
|
36 | + private $orderStatus; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "page") |
|
40 | + */ |
|
41 | + private $page; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "page_size") |
|
45 | + */ |
|
46 | + private $pageSize; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Long, "pay_time_end") |
|
50 | + */ |
|
51 | + private $payTimeEnd; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Long, "pay_time_start") |
|
55 | + */ |
|
56 | + private $payTimeStart; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(Long, "sku_id") |
|
60 | + */ |
|
61 | + private $skuId; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(Integer, "refund_status") |
|
65 | + */ |
|
66 | + private $refundStatus; |
|
67 | + |
|
68 | + protected function setUserParams(&$params) |
|
69 | + { |
|
70 | + $this->setUserParam($params, "create_time_end", $this->createTimeEnd); |
|
71 | + $this->setUserParam($params, "create_time_start", $this->createTimeStart); |
|
72 | + $this->setUserParam($params, "mall_id", $this->mallId); |
|
73 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
74 | + $this->setUserParam($params, "order_status", $this->orderStatus); |
|
75 | + $this->setUserParam($params, "page", $this->page); |
|
76 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
77 | + $this->setUserParam($params, "pay_time_end", $this->payTimeEnd); |
|
78 | + $this->setUserParam($params, "pay_time_start", $this->payTimeStart); |
|
79 | + $this->setUserParam($params, "sku_id", $this->skuId); |
|
80 | + $this->setUserParam($params, "refund_status", $this->refundStatus); |
|
81 | + |
|
82 | + } |
|
83 | + |
|
84 | + public function getVersion() |
|
85 | + { |
|
86 | + return "V1"; |
|
87 | + } |
|
88 | + |
|
89 | + public function getDataType() |
|
90 | + { |
|
91 | + return "JSON"; |
|
92 | + } |
|
93 | + |
|
94 | + public function getType() |
|
95 | + { |
|
96 | + return "pdd.vas.order.search"; |
|
97 | + } |
|
98 | + |
|
99 | + public function setCreateTimeEnd($createTimeEnd) |
|
100 | + { |
|
101 | + $this->createTimeEnd = $createTimeEnd; |
|
102 | + } |
|
103 | + |
|
104 | + public function setCreateTimeStart($createTimeStart) |
|
105 | + { |
|
106 | + $this->createTimeStart = $createTimeStart; |
|
107 | + } |
|
108 | + |
|
109 | + public function setMallId($mallId) |
|
110 | + { |
|
111 | + $this->mallId = $mallId; |
|
112 | + } |
|
113 | + |
|
114 | + public function setOrderSn($orderSn) |
|
115 | + { |
|
116 | + $this->orderSn = $orderSn; |
|
117 | + } |
|
118 | + |
|
119 | + public function setOrderStatus($orderStatus) |
|
120 | + { |
|
121 | + $this->orderStatus = $orderStatus; |
|
122 | + } |
|
123 | + |
|
124 | + public function setPage($page) |
|
125 | + { |
|
126 | + $this->page = $page; |
|
127 | + } |
|
128 | + |
|
129 | + public function setPageSize($pageSize) |
|
130 | + { |
|
131 | + $this->pageSize = $pageSize; |
|
132 | + } |
|
133 | + |
|
134 | + public function setPayTimeEnd($payTimeEnd) |
|
135 | + { |
|
136 | + $this->payTimeEnd = $payTimeEnd; |
|
137 | + } |
|
138 | + |
|
139 | + public function setPayTimeStart($payTimeStart) |
|
140 | + { |
|
141 | + $this->payTimeStart = $payTimeStart; |
|
142 | + } |
|
143 | + |
|
144 | + public function setSkuId($skuId) |
|
145 | + { |
|
146 | + $this->skuId = $skuId; |
|
147 | + } |
|
148 | + |
|
149 | + public function setRefundStatus($refundStatus) |
|
150 | + { |
|
151 | + $this->refundStatus = $refundStatus; |
|
152 | + } |
|
153 | 153 | |
154 | 154 | } |
@@ -7,112 +7,112 @@ |
||
7 | 7 | class PddVoucherAppointmentInfoSendRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_sn") |
|
15 | - */ |
|
16 | - private $orderSn; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "out_biz_no") |
|
20 | - */ |
|
21 | - private $outBizNo; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddVoucherAppointmentInfoSendRequest_VoucherListItem>, "voucher_list") |
|
25 | - */ |
|
26 | - private $voucherList; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "logistics_type") |
|
30 | - */ |
|
31 | - private $logisticsType; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Long, "appointment_time") |
|
35 | - */ |
|
36 | - private $appointmentTime; |
|
37 | - |
|
38 | - protected function setUserParams(&$params) |
|
39 | - { |
|
40 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
41 | - $this->setUserParam($params, "out_biz_no", $this->outBizNo); |
|
42 | - $this->setUserParam($params, "voucher_list", $this->voucherList); |
|
43 | - $this->setUserParam($params, "logistics_type", $this->logisticsType); |
|
44 | - $this->setUserParam($params, "appointment_time", $this->appointmentTime); |
|
45 | - |
|
46 | - } |
|
47 | - |
|
48 | - public function getVersion() |
|
49 | - { |
|
50 | - return "V1"; |
|
51 | - } |
|
52 | - |
|
53 | - public function getDataType() |
|
54 | - { |
|
55 | - return "JSON"; |
|
56 | - } |
|
57 | - |
|
58 | - public function getType() |
|
59 | - { |
|
60 | - return "pdd.voucher.appointment.info.send"; |
|
61 | - } |
|
62 | - |
|
63 | - public function setOrderSn($orderSn) |
|
64 | - { |
|
65 | - $this->orderSn = $orderSn; |
|
66 | - } |
|
67 | - |
|
68 | - public function setOutBizNo($outBizNo) |
|
69 | - { |
|
70 | - $this->outBizNo = $outBizNo; |
|
71 | - } |
|
72 | - |
|
73 | - public function setVoucherList($voucherList) |
|
74 | - { |
|
75 | - $this->voucherList = $voucherList; |
|
76 | - } |
|
77 | - |
|
78 | - public function setLogisticsType($logisticsType) |
|
79 | - { |
|
80 | - $this->logisticsType = $logisticsType; |
|
81 | - } |
|
82 | - |
|
83 | - public function setAppointmentTime($appointmentTime) |
|
84 | - { |
|
85 | - $this->appointmentTime = $appointmentTime; |
|
86 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_sn") |
|
15 | + */ |
|
16 | + private $orderSn; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "out_biz_no") |
|
20 | + */ |
|
21 | + private $outBizNo; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddVoucherAppointmentInfoSendRequest_VoucherListItem>, "voucher_list") |
|
25 | + */ |
|
26 | + private $voucherList; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "logistics_type") |
|
30 | + */ |
|
31 | + private $logisticsType; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Long, "appointment_time") |
|
35 | + */ |
|
36 | + private $appointmentTime; |
|
37 | + |
|
38 | + protected function setUserParams(&$params) |
|
39 | + { |
|
40 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
41 | + $this->setUserParam($params, "out_biz_no", $this->outBizNo); |
|
42 | + $this->setUserParam($params, "voucher_list", $this->voucherList); |
|
43 | + $this->setUserParam($params, "logistics_type", $this->logisticsType); |
|
44 | + $this->setUserParam($params, "appointment_time", $this->appointmentTime); |
|
45 | + |
|
46 | + } |
|
47 | + |
|
48 | + public function getVersion() |
|
49 | + { |
|
50 | + return "V1"; |
|
51 | + } |
|
52 | + |
|
53 | + public function getDataType() |
|
54 | + { |
|
55 | + return "JSON"; |
|
56 | + } |
|
57 | + |
|
58 | + public function getType() |
|
59 | + { |
|
60 | + return "pdd.voucher.appointment.info.send"; |
|
61 | + } |
|
62 | + |
|
63 | + public function setOrderSn($orderSn) |
|
64 | + { |
|
65 | + $this->orderSn = $orderSn; |
|
66 | + } |
|
67 | + |
|
68 | + public function setOutBizNo($outBizNo) |
|
69 | + { |
|
70 | + $this->outBizNo = $outBizNo; |
|
71 | + } |
|
72 | + |
|
73 | + public function setVoucherList($voucherList) |
|
74 | + { |
|
75 | + $this->voucherList = $voucherList; |
|
76 | + } |
|
77 | + |
|
78 | + public function setLogisticsType($logisticsType) |
|
79 | + { |
|
80 | + $this->logisticsType = $logisticsType; |
|
81 | + } |
|
82 | + |
|
83 | + public function setAppointmentTime($appointmentTime) |
|
84 | + { |
|
85 | + $this->appointmentTime = $appointmentTime; |
|
86 | + } |
|
87 | 87 | |
88 | 88 | } |
89 | 89 | |
90 | 90 | class PddVoucherAppointmentInfoSendRequest_VoucherListItem extends PopBaseJsonEntity |
91 | 91 | { |
92 | 92 | |
93 | - public function __construct() |
|
94 | - { |
|
93 | + public function __construct() |
|
94 | + { |
|
95 | 95 | |
96 | - } |
|
96 | + } |
|
97 | 97 | |
98 | - /** |
|
99 | - * @JsonProperty(String, "voucher_id") |
|
100 | - */ |
|
101 | - private $voucherId; |
|
98 | + /** |
|
99 | + * @JsonProperty(String, "voucher_id") |
|
100 | + */ |
|
101 | + private $voucherId; |
|
102 | 102 | |
103 | - /** |
|
104 | - * @JsonProperty(String, "voucher_no") |
|
105 | - */ |
|
106 | - private $voucherNo; |
|
103 | + /** |
|
104 | + * @JsonProperty(String, "voucher_no") |
|
105 | + */ |
|
106 | + private $voucherNo; |
|
107 | 107 | |
108 | - public function setVoucherId($voucherId) |
|
109 | - { |
|
110 | - $this->voucherId = $voucherId; |
|
111 | - } |
|
108 | + public function setVoucherId($voucherId) |
|
109 | + { |
|
110 | + $this->voucherId = $voucherId; |
|
111 | + } |
|
112 | 112 | |
113 | - public function setVoucherNo($voucherNo) |
|
114 | - { |
|
115 | - $this->voucherNo = $voucherNo; |
|
116 | - } |
|
113 | + public function setVoucherNo($voucherNo) |
|
114 | + { |
|
115 | + $this->voucherNo = $voucherNo; |
|
116 | + } |
|
117 | 117 | |
118 | 118 | } |