Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
src/service/pinduoduo/bin/src/Api/Request/PddFdsWaybillGetRequest.php 1 patch
Indentation   +356 added lines, -356 removed lines patch added patch discarded remove patch
@@ -7,438 +7,438 @@
 block discarded – undo
7 7
 class PddFdsWaybillGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest, "param_fds_waybill_get_request")
15
-	*/
16
-	private $paramFdsWaybillGetRequest;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest, "param_fds_waybill_get_request")
15
+     */
16
+    private $paramFdsWaybillGetRequest;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "param_fds_waybill_get_request", $this->paramFdsWaybillGetRequest);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "param_fds_waybill_get_request", $this->paramFdsWaybillGetRequest);
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.fds.waybill.get";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.fds.waybill.get";
37
+    }
38 38
 
39
-	public function setParamFdsWaybillGetRequest($paramFdsWaybillGetRequest)
40
-	{
41
-		$this->paramFdsWaybillGetRequest = $paramFdsWaybillGetRequest;
42
-	}
39
+    public function setParamFdsWaybillGetRequest($paramFdsWaybillGetRequest)
40
+    {
41
+        $this->paramFdsWaybillGetRequest = $paramFdsWaybillGetRequest;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest 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(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender, "sender")
56
-	*/
57
-	private $sender;
54
+    /**
55
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender, "sender")
56
+     */
57
+    private $sender;
58 58
 
59
-	/**
60
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos")
61
-	*/
62
-	private $tradeOrderInfoDtos;
59
+    /**
60
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos")
61
+     */
62
+    private $tradeOrderInfoDtos;
63 63
 
64
-	/**
65
-	* @JsonProperty(String, "wp_code")
66
-	*/
67
-	private $wpCode;
64
+    /**
65
+     * @JsonProperty(String, "wp_code")
66
+     */
67
+    private $wpCode;
68 68
 
69
-	public function setSender($sender)
70
-	{
71
-		$this->sender = $sender;
72
-	}
69
+    public function setSender($sender)
70
+    {
71
+        $this->sender = $sender;
72
+    }
73 73
 
74
-	public function setTradeOrderInfoDtos($tradeOrderInfoDtos)
75
-	{
76
-		$this->tradeOrderInfoDtos = $tradeOrderInfoDtos;
77
-	}
74
+    public function setTradeOrderInfoDtos($tradeOrderInfoDtos)
75
+    {
76
+        $this->tradeOrderInfoDtos = $tradeOrderInfoDtos;
77
+    }
78 78
 
79
-	public function setWpCode($wpCode)
80
-	{
81
-		$this->wpCode = $wpCode;
82
-	}
79
+    public function setWpCode($wpCode)
80
+    {
81
+        $this->wpCode = $wpCode;
82
+    }
83 83
 
84 84
 }
85 85
 
86 86
 class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender extends PopBaseJsonEntity
87 87
 {
88 88
 
89
-	public function __construct()
90
-	{
91
-
92
-	}
93
-
94
-	/**
95
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress, "address")
96
-	*/
97
-	private $address;
98
-
99
-	/**
100
-	* @JsonProperty(String, "mobile")
101
-	*/
102
-	private $mobile;
103
-
104
-	/**
105
-	* @JsonProperty(String, "name")
106
-	*/
107
-	private $name;
108
-
109
-	/**
110
-	* @JsonProperty(String, "phone")
111
-	*/
112
-	private $phone;
113
-
114
-	public function setAddress($address)
115
-	{
116
-		$this->address = $address;
117
-	}
118
-
119
-	public function setMobile($mobile)
120
-	{
121
-		$this->mobile = $mobile;
122
-	}
123
-
124
-	public function setName($name)
125
-	{
126
-		$this->name = $name;
127
-	}
128
-
129
-	public function setPhone($phone)
130
-	{
131
-		$this->phone = $phone;
132
-	}
89
+    public function __construct()
90
+    {
91
+
92
+    }
93
+
94
+    /**
95
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress, "address")
96
+     */
97
+    private $address;
98
+
99
+    /**
100
+     * @JsonProperty(String, "mobile")
101
+     */
102
+    private $mobile;
103
+
104
+    /**
105
+     * @JsonProperty(String, "name")
106
+     */
107
+    private $name;
108
+
109
+    /**
110
+     * @JsonProperty(String, "phone")
111
+     */
112
+    private $phone;
113
+
114
+    public function setAddress($address)
115
+    {
116
+        $this->address = $address;
117
+    }
118
+
119
+    public function setMobile($mobile)
120
+    {
121
+        $this->mobile = $mobile;
122
+    }
123
+
124
+    public function setName($name)
125
+    {
126
+        $this->name = $name;
127
+    }
128
+
129
+    public function setPhone($phone)
130
+    {
131
+        $this->phone = $phone;
132
+    }
133 133
 
134 134
 }
135 135
 
136 136
 class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress extends PopBaseJsonEntity
137 137
 {
138 138
 
139
-	public function __construct()
140
-	{
141
-
142
-	}
143
-
144
-	/**
145
-	* @JsonProperty(String, "city")
146
-	*/
147
-	private $city;
148
-
149
-	/**
150
-	* @JsonProperty(String, "country")
151
-	*/
152
-	private $country;
153
-
154
-	/**
155
-	* @JsonProperty(String, "detail")
156
-	*/
157
-	private $detail;
158
-
159
-	/**
160
-	* @JsonProperty(String, "district")
161
-	*/
162
-	private $district;
163
-
164
-	/**
165
-	* @JsonProperty(String, "province")
166
-	*/
167
-	private $province;
168
-
169
-	/**
170
-	* @JsonProperty(String, "town")
171
-	*/
172
-	private $town;
173
-
174
-	public function setCity($city)
175
-	{
176
-		$this->city = $city;
177
-	}
178
-
179
-	public function setCountry($country)
180
-	{
181
-		$this->country = $country;
182
-	}
183
-
184
-	public function setDetail($detail)
185
-	{
186
-		$this->detail = $detail;
187
-	}
188
-
189
-	public function setDistrict($district)
190
-	{
191
-		$this->district = $district;
192
-	}
193
-
194
-	public function setProvince($province)
195
-	{
196
-		$this->province = $province;
197
-	}
198
-
199
-	public function setTown($town)
200
-	{
201
-		$this->town = $town;
202
-	}
139
+    public function __construct()
140
+    {
141
+
142
+    }
143
+
144
+    /**
145
+     * @JsonProperty(String, "city")
146
+     */
147
+    private $city;
148
+
149
+    /**
150
+     * @JsonProperty(String, "country")
151
+     */
152
+    private $country;
153
+
154
+    /**
155
+     * @JsonProperty(String, "detail")
156
+     */
157
+    private $detail;
158
+
159
+    /**
160
+     * @JsonProperty(String, "district")
161
+     */
162
+    private $district;
163
+
164
+    /**
165
+     * @JsonProperty(String, "province")
166
+     */
167
+    private $province;
168
+
169
+    /**
170
+     * @JsonProperty(String, "town")
171
+     */
172
+    private $town;
173
+
174
+    public function setCity($city)
175
+    {
176
+        $this->city = $city;
177
+    }
178
+
179
+    public function setCountry($country)
180
+    {
181
+        $this->country = $country;
182
+    }
183
+
184
+    public function setDetail($detail)
185
+    {
186
+        $this->detail = $detail;
187
+    }
188
+
189
+    public function setDistrict($district)
190
+    {
191
+        $this->district = $district;
192
+    }
193
+
194
+    public function setProvince($province)
195
+    {
196
+        $this->province = $province;
197
+    }
198
+
199
+    public function setTown($town)
200
+    {
201
+        $this->town = $town;
202
+    }
203 203
 
204 204
 }
205 205
 
206 206
 class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem extends PopBaseJsonEntity
207 207
 {
208 208
 
209
-	public function __construct()
210
-	{
211
-
212
-	}
213
-
214
-	/**
215
-	* @JsonProperty(String, "logistics_services")
216
-	*/
217
-	private $logisticsServices;
218
-
219
-	/**
220
-	* @JsonProperty(String, "object_id")
221
-	*/
222
-	private $objectId;
223
-
224
-	/**
225
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo, "order_info")
226
-	*/
227
-	private $orderInfo;
228
-
229
-	/**
230
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo, "package_info")
231
-	*/
232
-	private $packageInfo;
233
-
234
-	/**
235
-	* @JsonProperty(String, "template_url")
236
-	*/
237
-	private $templateUrl;
238
-
239
-	/**
240
-	* @JsonProperty(Long, "user_id")
241
-	*/
242
-	private $userId;
243
-
244
-	public function setLogisticsServices($logisticsServices)
245
-	{
246
-		$this->logisticsServices = $logisticsServices;
247
-	}
248
-
249
-	public function setObjectId($objectId)
250
-	{
251
-		$this->objectId = $objectId;
252
-	}
253
-
254
-	public function setOrderInfo($orderInfo)
255
-	{
256
-		$this->orderInfo = $orderInfo;
257
-	}
258
-
259
-	public function setPackageInfo($packageInfo)
260
-	{
261
-		$this->packageInfo = $packageInfo;
262
-	}
263
-
264
-	public function setTemplateUrl($templateUrl)
265
-	{
266
-		$this->templateUrl = $templateUrl;
267
-	}
268
-
269
-	public function setUserId($userId)
270
-	{
271
-		$this->userId = $userId;
272
-	}
209
+    public function __construct()
210
+    {
211
+
212
+    }
213
+
214
+    /**
215
+     * @JsonProperty(String, "logistics_services")
216
+     */
217
+    private $logisticsServices;
218
+
219
+    /**
220
+     * @JsonProperty(String, "object_id")
221
+     */
222
+    private $objectId;
223
+
224
+    /**
225
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo, "order_info")
226
+     */
227
+    private $orderInfo;
228
+
229
+    /**
230
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo, "package_info")
231
+     */
232
+    private $packageInfo;
233
+
234
+    /**
235
+     * @JsonProperty(String, "template_url")
236
+     */
237
+    private $templateUrl;
238
+
239
+    /**
240
+     * @JsonProperty(Long, "user_id")
241
+     */
242
+    private $userId;
243
+
244
+    public function setLogisticsServices($logisticsServices)
245
+    {
246
+        $this->logisticsServices = $logisticsServices;
247
+    }
248
+
249
+    public function setObjectId($objectId)
250
+    {
251
+        $this->objectId = $objectId;
252
+    }
253
+
254
+    public function setOrderInfo($orderInfo)
255
+    {
256
+        $this->orderInfo = $orderInfo;
257
+    }
258
+
259
+    public function setPackageInfo($packageInfo)
260
+    {
261
+        $this->packageInfo = $packageInfo;
262
+    }
263
+
264
+    public function setTemplateUrl($templateUrl)
265
+    {
266
+        $this->templateUrl = $templateUrl;
267
+    }
268
+
269
+    public function setUserId($userId)
270
+    {
271
+        $this->userId = $userId;
272
+    }
273 273
 
274 274
 }
275 275
 
276 276
 class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo extends PopBaseJsonEntity
277 277
 {
278 278
 
279
-	public function __construct()
280
-	{
279
+    public function __construct()
280
+    {
281 281
 
282
-	}
282
+    }
283 283
 
284
-	/**
285
-	* @JsonProperty(String, "order_channels_type")
286
-	*/
287
-	private $orderChannelsType;
284
+    /**
285
+     * @JsonProperty(String, "order_channels_type")
286
+     */
287
+    private $orderChannelsType;
288 288
 
289
-	/**
290
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem>, "trade_order_list")
291
-	*/
292
-	private $tradeOrderList;
289
+    /**
290
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem>, "trade_order_list")
291
+     */
292
+    private $tradeOrderList;
293 293
 
294
-	public function setOrderChannelsType($orderChannelsType)
295
-	{
296
-		$this->orderChannelsType = $orderChannelsType;
297
-	}
294
+    public function setOrderChannelsType($orderChannelsType)
295
+    {
296
+        $this->orderChannelsType = $orderChannelsType;
297
+    }
298 298
 
299
-	public function setTradeOrderList($tradeOrderList)
300
-	{
301
-		$this->tradeOrderList = $tradeOrderList;
302
-	}
299
+    public function setTradeOrderList($tradeOrderList)
300
+    {
301
+        $this->tradeOrderList = $tradeOrderList;
302
+    }
303 303
 
304 304
 }
305 305
 
306 306
 class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem extends PopBaseJsonEntity
307 307
 {
308 308
 
309
-	public function __construct()
310
-	{
309
+    public function __construct()
310
+    {
311 311
 
312
-	}
312
+    }
313 313
 
314
-	/**
315
-	* @JsonProperty(String, "mall_mask_id")
316
-	*/
317
-	private $mallMaskId;
314
+    /**
315
+     * @JsonProperty(String, "mall_mask_id")
316
+     */
317
+    private $mallMaskId;
318 318
 
319
-	/**
320
-	* @JsonProperty(String, "order_mask_sn")
321
-	*/
322
-	private $orderMaskSn;
319
+    /**
320
+     * @JsonProperty(String, "order_mask_sn")
321
+     */
322
+    private $orderMaskSn;
323 323
 
324
-	public function setMallMaskId($mallMaskId)
325
-	{
326
-		$this->mallMaskId = $mallMaskId;
327
-	}
324
+    public function setMallMaskId($mallMaskId)
325
+    {
326
+        $this->mallMaskId = $mallMaskId;
327
+    }
328 328
 
329
-	public function setOrderMaskSn($orderMaskSn)
330
-	{
331
-		$this->orderMaskSn = $orderMaskSn;
332
-	}
329
+    public function setOrderMaskSn($orderMaskSn)
330
+    {
331
+        $this->orderMaskSn = $orderMaskSn;
332
+    }
333 333
 
334 334
 }
335 335
 
336 336
 class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo extends PopBaseJsonEntity
337 337
 {
338 338
 
339
-	public function __construct()
340
-	{
341
-
342
-	}
343
-
344
-	/**
345
-	* @JsonProperty(String, "goods_description")
346
-	*/
347
-	private $goodsDescription;
348
-
349
-	/**
350
-	* @JsonProperty(String, "id")
351
-	*/
352
-	private $id;
353
-
354
-	/**
355
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items")
356
-	*/
357
-	private $items;
358
-
359
-	/**
360
-	* @JsonProperty(String, "packaging_description")
361
-	*/
362
-	private $packagingDescription;
363
-
364
-	/**
365
-	* @JsonProperty(String, "total_packages_count")
366
-	*/
367
-	private $totalPackagesCount;
368
-
369
-	/**
370
-	* @JsonProperty(Integer, "volume")
371
-	*/
372
-	private $volume;
373
-
374
-	/**
375
-	* @JsonProperty(Integer, "weight")
376
-	*/
377
-	private $weight;
378
-
379
-	public function setGoodsDescription($goodsDescription)
380
-	{
381
-		$this->goodsDescription = $goodsDescription;
382
-	}
383
-
384
-	public function setId($id)
385
-	{
386
-		$this->id = $id;
387
-	}
388
-
389
-	public function setItems($items)
390
-	{
391
-		$this->items = $items;
392
-	}
393
-
394
-	public function setPackagingDescription($packagingDescription)
395
-	{
396
-		$this->packagingDescription = $packagingDescription;
397
-	}
398
-
399
-	public function setTotalPackagesCount($totalPackagesCount)
400
-	{
401
-		$this->totalPackagesCount = $totalPackagesCount;
402
-	}
403
-
404
-	public function setVolume($volume)
405
-	{
406
-		$this->volume = $volume;
407
-	}
408
-
409
-	public function setWeight($weight)
410
-	{
411
-		$this->weight = $weight;
412
-	}
339
+    public function __construct()
340
+    {
341
+
342
+    }
343
+
344
+    /**
345
+     * @JsonProperty(String, "goods_description")
346
+     */
347
+    private $goodsDescription;
348
+
349
+    /**
350
+     * @JsonProperty(String, "id")
351
+     */
352
+    private $id;
353
+
354
+    /**
355
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items")
356
+     */
357
+    private $items;
358
+
359
+    /**
360
+     * @JsonProperty(String, "packaging_description")
361
+     */
362
+    private $packagingDescription;
363
+
364
+    /**
365
+     * @JsonProperty(String, "total_packages_count")
366
+     */
367
+    private $totalPackagesCount;
368
+
369
+    /**
370
+     * @JsonProperty(Integer, "volume")
371
+     */
372
+    private $volume;
373
+
374
+    /**
375
+     * @JsonProperty(Integer, "weight")
376
+     */
377
+    private $weight;
378
+
379
+    public function setGoodsDescription($goodsDescription)
380
+    {
381
+        $this->goodsDescription = $goodsDescription;
382
+    }
383
+
384
+    public function setId($id)
385
+    {
386
+        $this->id = $id;
387
+    }
388
+
389
+    public function setItems($items)
390
+    {
391
+        $this->items = $items;
392
+    }
393
+
394
+    public function setPackagingDescription($packagingDescription)
395
+    {
396
+        $this->packagingDescription = $packagingDescription;
397
+    }
398
+
399
+    public function setTotalPackagesCount($totalPackagesCount)
400
+    {
401
+        $this->totalPackagesCount = $totalPackagesCount;
402
+    }
403
+
404
+    public function setVolume($volume)
405
+    {
406
+        $this->volume = $volume;
407
+    }
408
+
409
+    public function setWeight($weight)
410
+    {
411
+        $this->weight = $weight;
412
+    }
413 413
 
414 414
 }
415 415
 
416 416
 class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem extends PopBaseJsonEntity
417 417
 {
418 418
 
419
-	public function __construct()
420
-	{
419
+    public function __construct()
420
+    {
421 421
 
422
-	}
422
+    }
423 423
 
424
-	/**
425
-	* @JsonProperty(Integer, "count")
426
-	*/
427
-	private $count;
424
+    /**
425
+     * @JsonProperty(Integer, "count")
426
+     */
427
+    private $count;
428 428
 
429
-	/**
430
-	* @JsonProperty(String, "name")
431
-	*/
432
-	private $name;
429
+    /**
430
+     * @JsonProperty(String, "name")
431
+     */
432
+    private $name;
433 433
 
434
-	public function setCount($count)
435
-	{
436
-		$this->count = $count;
437
-	}
434
+    public function setCount($count)
435
+    {
436
+        $this->count = $count;
437
+    }
438 438
 
439
-	public function setName($name)
440
-	{
441
-		$this->name = $name;
442
-	}
439
+    public function setName($name)
440
+    {
441
+        $this->name = $name;
442
+    }
443 443
 
444 444
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddPopAuthTokenCreateRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class PddPopAuthTokenCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "code")
15
-	*/
16
-	private $code;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "code", $this->code);
21
-
22
-	}
23
-
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
28
-
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
33
-
34
-	public function getType()
35
-	{
36
-		return "pdd.pop.auth.token.create";
37
-	}
38
-
39
-	public function setCode($code)
40
-	{
41
-		$this->code = $code;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "code")
15
+     */
16
+    private $code;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "code", $this->code);
21
+
22
+    }
23
+
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28
+
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33
+
34
+    public function getType()
35
+    {
36
+        return "pdd.pop.auth.token.create";
37
+    }
38
+
39
+    public function setCode($code)
40
+    {
41
+        $this->code = $code;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddKttUserSitePagequeryRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,49 +7,49 @@
 block discarded – undo
7 7
 class PddKttUserSitePagequeryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "page_no")
15
-	*/
16
-	private $pageNo;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "page_size")
20
-	*/
21
-	private $pageSize;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "page_no", $this->pageNo);
26
-		$this->setUserParam($params, "page_size", $this->pageSize);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.ktt.user.site.pagequery";
43
-	}
44
-
45
-	public function setPageNo($pageNo)
46
-	{
47
-		$this->pageNo = $pageNo;
48
-	}
49
-
50
-	public function setPageSize($pageSize)
51
-	{
52
-		$this->pageSize = $pageSize;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "page_no")
15
+     */
16
+    private $pageNo;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "page_size")
20
+     */
21
+    private $pageSize;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "page_no", $this->pageNo);
26
+        $this->setUserParam($params, "page_size", $this->pageSize);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.ktt.user.site.pagequery";
43
+    }
44
+
45
+    public function setPageNo($pageNo)
46
+    {
47
+        $this->pageNo = $pageNo;
48
+    }
49
+
50
+    public function setPageSize($pageSize)
51
+    {
52
+        $this->pageSize = $pageSize;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddDdkOauthOrderDetailGetRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,49 +7,49 @@
 block discarded – undo
7 7
 class PddDdkOauthOrderDetailGetRequest 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(Integer, "query_order_type")
20
-	*/
21
-	private $queryOrderType;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "order_sn", $this->orderSn);
26
-		$this->setUserParam($params, "query_order_type", $this->queryOrderType);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.ddk.oauth.order.detail.get";
43
-	}
44
-
45
-	public function setOrderSn($orderSn)
46
-	{
47
-		$this->orderSn = $orderSn;
48
-	}
49
-
50
-	public function setQueryOrderType($queryOrderType)
51
-	{
52
-		$this->queryOrderType = $queryOrderType;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "order_sn")
15
+     */
16
+    private $orderSn;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "query_order_type")
20
+     */
21
+    private $queryOrderType;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "order_sn", $this->orderSn);
26
+        $this->setUserParam($params, "query_order_type", $this->queryOrderType);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.ddk.oauth.order.detail.get";
43
+    }
44
+
45
+    public function setOrderSn($orderSn)
46
+    {
47
+        $this->orderSn = $orderSn;
48
+    }
49
+
50
+    public function setQueryOrderType($queryOrderType)
51
+    {
52
+        $this->queryOrderType = $queryOrderType;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddAdApiPlanDeleteRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,49 +7,49 @@
 block discarded – undo
7 7
 class PddAdApiPlanDeleteRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "planId")
15
-	*/
16
-	private $planId;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "scenesType")
20
-	*/
21
-	private $scenesType;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "planId", $this->planId);
26
-		$this->setUserParam($params, "scenesType", $this->scenesType);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.ad.api.plan.delete";
43
-	}
44
-
45
-	public function setPlanId($planId)
46
-	{
47
-		$this->planId = $planId;
48
-	}
49
-
50
-	public function setScenesType($scenesType)
51
-	{
52
-		$this->scenesType = $scenesType;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "planId")
15
+     */
16
+    private $planId;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "scenesType")
20
+     */
21
+    private $scenesType;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "planId", $this->planId);
26
+        $this->setUserParam($params, "scenesType", $this->scenesType);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.ad.api.plan.delete";
43
+    }
44
+
45
+    public function setPlanId($planId)
46
+    {
47
+        $this->planId = $planId;
48
+    }
49
+
50
+    public function setScenesType($scenesType)
51
+    {
52
+        $this->scenesType = $scenesType;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddOpenKmsSearchBatchRequest.php 1 patch
Indentation   +45 added lines, -45 removed lines patch added patch discarded remove patch
@@ -7,68 +7,68 @@
 block discarded – undo
7 7
 class PddOpenKmsSearchBatchRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddOpenKmsSearchBatchRequest_InputListItem>, "input_list")
15
-	*/
16
-	private $inputList;
12
+    }
13
+    /**
14
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddOpenKmsSearchBatchRequest_InputListItem>, "input_list")
15
+     */
16
+    private $inputList;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "input_list", $this->inputList);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "input_list", $this->inputList);
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.open.kms.search.batch";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.open.kms.search.batch";
37
+    }
38 38
 
39
-	public function setInputList($inputList)
40
-	{
41
-		$this->inputList = $inputList;
42
-	}
39
+    public function setInputList($inputList)
40
+    {
41
+        $this->inputList = $inputList;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddOpenKmsSearchBatchRequest_InputListItem 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(String, "input")
56
-	*/
57
-	private $input;
54
+    /**
55
+     * @JsonProperty(String, "input")
56
+     */
57
+    private $input;
58 58
 
59
-	/**
60
-	* @JsonProperty(String, "type")
61
-	*/
62
-	private $type;
59
+    /**
60
+     * @JsonProperty(String, "type")
61
+     */
62
+    private $type;
63 63
 
64
-	public function setInput($input)
65
-	{
66
-		$this->input = $input;
67
-	}
64
+    public function setInput($input)
65
+    {
66
+        $this->input = $input;
67
+    }
68 68
 
69
-	public function setType($type)
70
-	{
71
-		$this->type = $type;
72
-	}
69
+    public function setType($type)
70
+    {
71
+        $this->type = $type;
72
+    }
73 73
 
74 74
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddKttGoodsQuerySingleRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class PddKttGoodsQuerySingleRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "goods_id")
15
-	*/
16
-	private $goodsId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "goods_id", $this->goodsId);
21
-
22
-	}
23
-
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
28
-
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
33
-
34
-	public function getType()
35
-	{
36
-		return "pdd.ktt.goods.query.single";
37
-	}
38
-
39
-	public function setGoodsId($goodsId)
40
-	{
41
-		$this->goodsId = $goodsId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "goods_id")
15
+     */
16
+    private $goodsId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "goods_id", $this->goodsId);
21
+
22
+    }
23
+
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28
+
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33
+
34
+    public function getType()
35
+    {
36
+        return "pdd.ktt.goods.query.single";
37
+    }
38
+
39
+    public function setGoodsId($goodsId)
40
+    {
41
+        $this->goodsId = $goodsId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsCatTemplateGetRequest.php 1 patch
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -7,38 +7,38 @@
 block discarded – undo
7 7
 class PddGoodsCatTemplateGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "cat_id")
15
-	*/
16
-	private $catId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "cat_id", $this->catId);
21
-
22
-	}
23
-
24
-	public function getVersion()
25
-	{
26
-		return "V1";
27
-	}
28
-
29
-	public function getDataType()
30
-	{
31
-		return "JSON";
32
-	}
33
-
34
-	public function getType()
35
-	{
36
-		return "pdd.goods.cat.template.get";
37
-	}
38
-
39
-	public function setCatId($catId)
40
-	{
41
-		$this->catId = $catId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "cat_id")
15
+     */
16
+    private $catId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "cat_id", $this->catId);
21
+
22
+    }
23
+
24
+    public function getVersion()
25
+    {
26
+        return "V1";
27
+    }
28
+
29
+    public function getDataType()
30
+    {
31
+        return "JSON";
32
+    }
33
+
34
+    public function getType()
35
+    {
36
+        return "pdd.goods.cat.template.get";
37
+    }
38
+
39
+    public function setCatId($catId)
40
+    {
41
+        $this->catId = $catId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddAdApiUnitCreativeUpdateDataOperateStatusRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,49 +7,49 @@
 block discarded – undo
7 7
 class PddAdApiUnitCreativeUpdateDataOperateStatusRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "dataOperateStatus")
15
-	*/
16
-	private $dataOperateStatus;
17
-
18
-	/**
19
-	* @JsonProperty(List<Long>, "unitCreativeIds")
20
-	*/
21
-	private $unitCreativeIds;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "dataOperateStatus", $this->dataOperateStatus);
26
-		$this->setUserParam($params, "unitCreativeIds", $this->unitCreativeIds);
27
-
28
-	}
29
-
30
-	public function getVersion()
31
-	{
32
-		return "V1";
33
-	}
34
-
35
-	public function getDataType()
36
-	{
37
-		return "JSON";
38
-	}
39
-
40
-	public function getType()
41
-	{
42
-		return "pdd.ad.api.unit.creative.update.data.operate.status";
43
-	}
44
-
45
-	public function setDataOperateStatus($dataOperateStatus)
46
-	{
47
-		$this->dataOperateStatus = $dataOperateStatus;
48
-	}
49
-
50
-	public function setUnitCreativeIds($unitCreativeIds)
51
-	{
52
-		$this->unitCreativeIds = $unitCreativeIds;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "dataOperateStatus")
15
+     */
16
+    private $dataOperateStatus;
17
+
18
+    /**
19
+     * @JsonProperty(List<Long>, "unitCreativeIds")
20
+     */
21
+    private $unitCreativeIds;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "dataOperateStatus", $this->dataOperateStatus);
26
+        $this->setUserParam($params, "unitCreativeIds", $this->unitCreativeIds);
27
+
28
+    }
29
+
30
+    public function getVersion()
31
+    {
32
+        return "V1";
33
+    }
34
+
35
+    public function getDataType()
36
+    {
37
+        return "JSON";
38
+    }
39
+
40
+    public function getType()
41
+    {
42
+        return "pdd.ad.api.unit.creative.update.data.operate.status";
43
+    }
44
+
45
+    public function setDataOperateStatus($dataOperateStatus)
46
+    {
47
+        $this->dataOperateStatus = $dataOperateStatus;
48
+    }
49
+
50
+    public function setUnitCreativeIds($unitCreativeIds)
51
+    {
52
+        $this->unitCreativeIds = $unitCreativeIds;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.