Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
service/pinduoduo/bin/src/Api/Request/PddGoodsCpsMallUnitQueryRequest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,27 +7,27 @@
 block discarded – undo
7 7
 class PddGoodsCpsMallUnitQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	protected function setUserParams(&$params)
14
-	{
12
+    }
13
+    protected function setUserParams(&$params)
14
+    {
15 15
 
16
-	}
16
+    }
17 17
 
18
-	public function getVersion()
19
-	{
20
-		return "V1";
21
-	}
18
+    public function getVersion()
19
+    {
20
+        return "V1";
21
+    }
22 22
 
23
-	public function getDataType()
24
-	{
25
-		return "JSON";
26
-	}
23
+    public function getDataType()
24
+    {
25
+        return "JSON";
26
+    }
27 27
 
28
-	public function getType()
29
-	{
30
-		return "pdd.goods.cps.mall.unit.query";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.goods.cps.mall.unit.query";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddLogisticsCompaniesGetRequest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,27 +7,27 @@
 block discarded – undo
7 7
 class PddLogisticsCompaniesGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	protected function setUserParams(&$params)
14
-	{
12
+    }
13
+    protected function setUserParams(&$params)
14
+    {
15 15
 
16
-	}
16
+    }
17 17
 
18
-	public function getVersion()
19
-	{
20
-		return "V1";
21
-	}
18
+    public function getVersion()
19
+    {
20
+        return "V1";
21
+    }
22 22
 
23
-	public function getDataType()
24
-	{
25
-		return "JSON";
26
-	}
23
+    public function getDataType()
24
+    {
25
+        return "JSON";
26
+    }
27 27
 
28
-	public function getType()
29
-	{
30
-		return "pdd.logistics.companies.get";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.logistics.companies.get";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddGoodsLogisticsTemplateGetRequest.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 PddGoodsLogisticsTemplateGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "page")
15
-	*/
16
-	private $page;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "page_size")
20
-	*/
21
-	private $pageSize;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "page", $this->page);
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.goods.logistics.template.get";
43
-	}
44
-
45
-	public function setPage($page)
46
-	{
47
-		$this->page = $page;
48
-	}
49
-
50
-	public function setPageSize($pageSize)
51
-	{
52
-		$this->pageSize = $pageSize;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "page")
15
+     */
16
+    private $page;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "page_size")
20
+     */
21
+    private $pageSize;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "page", $this->page);
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.goods.logistics.template.get";
43
+    }
44
+
45
+    public function setPage($page)
46
+    {
47
+        $this->page = $page;
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.
bin/src/Api/Request/PddAdApiAdvertiserQueryAccountBalanceRequest.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -7,27 +7,27 @@
 block discarded – undo
7 7
 class PddAdApiAdvertiserQueryAccountBalanceRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	protected function setUserParams(&$params)
14
-	{
12
+    }
13
+    protected function setUserParams(&$params)
14
+    {
15 15
 
16
-	}
16
+    }
17 17
 
18
-	public function getVersion()
19
-	{
20
-		return "V1";
21
-	}
18
+    public function getVersion()
19
+    {
20
+        return "V1";
21
+    }
22 22
 
23
-	public function getDataType()
24
-	{
25
-		return "JSON";
26
-	}
23
+    public function getDataType()
24
+    {
25
+        return "JSON";
26
+    }
27 27
 
28
-	public function getType()
29
-	{
30
-		return "pdd.ad.api.advertiser.query.account.balance";
31
-	}
28
+    public function getType()
29
+    {
30
+        return "pdd.ad.api.advertiser.query.account.balance";
31
+    }
32 32
 
33 33
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddStockWareListRequest.php 1 patch
Indentation   +88 added lines, -88 removed lines patch added patch discarded remove patch
@@ -7,93 +7,93 @@
 block discarded – undo
7 7
 class PddStockWareListRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "id")
15
-	*/
16
-	private $id;
17
-
18
-	/**
19
-	* @JsonProperty(String, "ware_sn")
20
-	*/
21
-	private $wareSn;
22
-
23
-	/**
24
-	* @JsonProperty(String, "ware_name")
25
-	*/
26
-	private $wareName;
27
-
28
-	/**
29
-	* @JsonProperty(Integer, "ware_type")
30
-	*/
31
-	private $wareType;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "page")
35
-	*/
36
-	private $page;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "size")
40
-	*/
41
-	private $size;
42
-
43
-	protected function setUserParams(&$params)
44
-	{
45
-		$this->setUserParam($params, "id", $this->id);
46
-		$this->setUserParam($params, "ware_sn", $this->wareSn);
47
-		$this->setUserParam($params, "ware_name", $this->wareName);
48
-		$this->setUserParam($params, "ware_type", $this->wareType);
49
-		$this->setUserParam($params, "page", $this->page);
50
-		$this->setUserParam($params, "size", $this->size);
51
-
52
-	}
53
-
54
-	public function getVersion()
55
-	{
56
-		return "V1";
57
-	}
58
-
59
-	public function getDataType()
60
-	{
61
-		return "JSON";
62
-	}
63
-
64
-	public function getType()
65
-	{
66
-		return "pdd.stock.ware.list";
67
-	}
68
-
69
-	public function setId($id)
70
-	{
71
-		$this->id = $id;
72
-	}
73
-
74
-	public function setWareSn($wareSn)
75
-	{
76
-		$this->wareSn = $wareSn;
77
-	}
78
-
79
-	public function setWareName($wareName)
80
-	{
81
-		$this->wareName = $wareName;
82
-	}
83
-
84
-	public function setWareType($wareType)
85
-	{
86
-		$this->wareType = $wareType;
87
-	}
88
-
89
-	public function setPage($page)
90
-	{
91
-		$this->page = $page;
92
-	}
93
-
94
-	public function setSize($size)
95
-	{
96
-		$this->size = $size;
97
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "id")
15
+     */
16
+    private $id;
17
+
18
+    /**
19
+     * @JsonProperty(String, "ware_sn")
20
+     */
21
+    private $wareSn;
22
+
23
+    /**
24
+     * @JsonProperty(String, "ware_name")
25
+     */
26
+    private $wareName;
27
+
28
+    /**
29
+     * @JsonProperty(Integer, "ware_type")
30
+     */
31
+    private $wareType;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "page")
35
+     */
36
+    private $page;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "size")
40
+     */
41
+    private $size;
42
+
43
+    protected function setUserParams(&$params)
44
+    {
45
+        $this->setUserParam($params, "id", $this->id);
46
+        $this->setUserParam($params, "ware_sn", $this->wareSn);
47
+        $this->setUserParam($params, "ware_name", $this->wareName);
48
+        $this->setUserParam($params, "ware_type", $this->wareType);
49
+        $this->setUserParam($params, "page", $this->page);
50
+        $this->setUserParam($params, "size", $this->size);
51
+
52
+    }
53
+
54
+    public function getVersion()
55
+    {
56
+        return "V1";
57
+    }
58
+
59
+    public function getDataType()
60
+    {
61
+        return "JSON";
62
+    }
63
+
64
+    public function getType()
65
+    {
66
+        return "pdd.stock.ware.list";
67
+    }
68
+
69
+    public function setId($id)
70
+    {
71
+        $this->id = $id;
72
+    }
73
+
74
+    public function setWareSn($wareSn)
75
+    {
76
+        $this->wareSn = $wareSn;
77
+    }
78
+
79
+    public function setWareName($wareName)
80
+    {
81
+        $this->wareName = $wareName;
82
+    }
83
+
84
+    public function setWareType($wareType)
85
+    {
86
+        $this->wareType = $wareType;
87
+    }
88
+
89
+    public function setPage($page)
90
+    {
91
+        $this->page = $page;
92
+    }
93
+
94
+    public function setSize($size)
95
+    {
96
+        $this->size = $size;
97
+    }
98 98
 
99 99
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddDeleteGoodsCommitRequest.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 PddDeleteGoodsCommitRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "goods_ids")
15
-	*/
16
-	private $goodsIds;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "goods_ids", $this->goodsIds);
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.delete.goods.commit";
37
-	}
38
-
39
-	public function setGoodsIds($goodsIds)
40
-	{
41
-		$this->goodsIds = $goodsIds;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "goods_ids")
15
+     */
16
+    private $goodsIds;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "goods_ids", $this->goodsIds);
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.delete.goods.commit";
37
+    }
38
+
39
+    public function setGoodsIds($goodsIds)
40
+    {
41
+        $this->goodsIds = $goodsIds;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddAdApiPlanUpdatePlanNameRequest.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 PddAdApiPlanUpdatePlanNameRequest 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(String, "planName")
20
-	*/
21
-	private $planName;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "planId", $this->planId);
26
-		$this->setUserParam($params, "planName", $this->planName);
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.update.plan.name";
43
-	}
44
-
45
-	public function setPlanId($planId)
46
-	{
47
-		$this->planId = $planId;
48
-	}
49
-
50
-	public function setPlanName($planName)
51
-	{
52
-		$this->planName = $planName;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "planId")
15
+     */
16
+    private $planId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "planName")
20
+     */
21
+    private $planName;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "planId", $this->planId);
26
+        $this->setUserParam($params, "planName", $this->planName);
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.update.plan.name";
43
+    }
44
+
45
+    public function setPlanId($planId)
46
+    {
47
+        $this->planId = $planId;
48
+    }
49
+
50
+    public function setPlanName($planName)
51
+    {
52
+        $this->planName = $planName;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddRefundInformationGetRequest.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 PddRefundInformationGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "after_sales_id")
15
-	*/
16
-	private $afterSalesId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "order_sn")
20
-	*/
21
-	private $orderSn;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "after_sales_id", $this->afterSalesId);
26
-		$this->setUserParam($params, "order_sn", $this->orderSn);
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.refund.information.get";
43
-	}
44
-
45
-	public function setAfterSalesId($afterSalesId)
46
-	{
47
-		$this->afterSalesId = $afterSalesId;
48
-	}
49
-
50
-	public function setOrderSn($orderSn)
51
-	{
52
-		$this->orderSn = $orderSn;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "after_sales_id")
15
+     */
16
+    private $afterSalesId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "order_sn")
20
+     */
21
+    private $orderSn;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "after_sales_id", $this->afterSalesId);
26
+        $this->setUserParam($params, "order_sn", $this->orderSn);
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.refund.information.get";
43
+    }
44
+
45
+    public function setAfterSalesId($afterSalesId)
46
+    {
47
+        $this->afterSalesId = $afterSalesId;
48
+    }
49
+
50
+    public function setOrderSn($orderSn)
51
+    {
52
+        $this->orderSn = $orderSn;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddDdkGoodsSearchRequest.php 1 patch
Indentation   +265 added lines, -265 removed lines patch added patch discarded remove patch
@@ -7,276 +7,276 @@
 block discarded – undo
7 7
 class PddDdkGoodsSearchRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Integer>, "activity_tags")
15
-	*/
16
-	private $activityTags;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "cat_id")
20
-	*/
21
-	private $catId;
22
-
23
-	/**
24
-	* @JsonProperty(String, "custom_parameters")
25
-	*/
26
-	private $customParameters;
27
-
28
-	/**
29
-	* @JsonProperty(List<Long>, "goods_id_list")
30
-	*/
31
-	private $goodsIdList;
32
-
33
-	/**
34
-	* @JsonProperty(Boolean, "is_brand_goods")
35
-	*/
36
-	private $isBrandGoods;
37
-
38
-	/**
39
-	* @JsonProperty(String, "keyword")
40
-	*/
41
-	private $keyword;
42
-
43
-	/**
44
-	* @JsonProperty(String, "list_id")
45
-	*/
46
-	private $listId;
47
-
48
-	/**
49
-	* @JsonProperty(Integer, "merchant_type")
50
-	*/
51
-	private $merchantType;
52
-
53
-	/**
54
-	* @JsonProperty(List<Integer>, "merchant_type_list")
55
-	*/
56
-	private $merchantTypeList;
57
-
58
-	/**
59
-	* @JsonProperty(Long, "opt_id")
60
-	*/
61
-	private $optId;
62
-
63
-	/**
64
-	* @JsonProperty(Integer, "page")
65
-	*/
66
-	private $page;
67
-
68
-	/**
69
-	* @JsonProperty(Integer, "page_size")
70
-	*/
71
-	private $pageSize;
72
-
73
-	/**
74
-	* @JsonProperty(String, "pid")
75
-	*/
76
-	private $pid;
77
-
78
-	/**
79
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkGoodsSearchRequest_RangeListItem>, "range_list")
80
-	*/
81
-	private $rangeList;
82
-
83
-	/**
84
-	* @JsonProperty(Integer, "sort_type")
85
-	*/
86
-	private $sortType;
87
-
88
-	/**
89
-	* @JsonProperty(Boolean, "with_coupon")
90
-	*/
91
-	private $withCoupon;
92
-
93
-	/**
94
-	* @JsonProperty(List<Integer>, "block_cats")
95
-	*/
96
-	private $blockCats;
97
-
98
-	/**
99
-	* @JsonProperty(List<Integer>, "block_cat_packages")
100
-	*/
101
-	private $blockCatPackages;
102
-
103
-	/**
104
-	* @JsonProperty(List<String>, "goods_sign_list")
105
-	*/
106
-	private $goodsSignList;
107
-
108
-	protected function setUserParams(&$params)
109
-	{
110
-		$this->setUserParam($params, "activity_tags", $this->activityTags);
111
-		$this->setUserParam($params, "cat_id", $this->catId);
112
-		$this->setUserParam($params, "custom_parameters", $this->customParameters);
113
-		$this->setUserParam($params, "goods_id_list", $this->goodsIdList);
114
-		$this->setUserParam($params, "is_brand_goods", $this->isBrandGoods);
115
-		$this->setUserParam($params, "keyword", $this->keyword);
116
-		$this->setUserParam($params, "list_id", $this->listId);
117
-		$this->setUserParam($params, "merchant_type", $this->merchantType);
118
-		$this->setUserParam($params, "merchant_type_list", $this->merchantTypeList);
119
-		$this->setUserParam($params, "opt_id", $this->optId);
120
-		$this->setUserParam($params, "page", $this->page);
121
-		$this->setUserParam($params, "page_size", $this->pageSize);
122
-		$this->setUserParam($params, "pid", $this->pid);
123
-		$this->setUserParam($params, "range_list", $this->rangeList);
124
-		$this->setUserParam($params, "sort_type", $this->sortType);
125
-		$this->setUserParam($params, "with_coupon", $this->withCoupon);
126
-		$this->setUserParam($params, "block_cats", $this->blockCats);
127
-		$this->setUserParam($params, "block_cat_packages", $this->blockCatPackages);
128
-		$this->setUserParam($params, "goods_sign_list", $this->goodsSignList);
129
-
130
-	}
131
-
132
-	public function getVersion()
133
-	{
134
-		return "V1";
135
-	}
136
-
137
-	public function getDataType()
138
-	{
139
-		return "JSON";
140
-	}
141
-
142
-	public function getType()
143
-	{
144
-		return "pdd.ddk.goods.search";
145
-	}
146
-
147
-	public function setActivityTags($activityTags)
148
-	{
149
-		$this->activityTags = $activityTags;
150
-	}
151
-
152
-	public function setCatId($catId)
153
-	{
154
-		$this->catId = $catId;
155
-	}
156
-
157
-	public function setCustomParameters($customParameters)
158
-	{
159
-		$this->customParameters = $customParameters;
160
-	}
161
-
162
-	public function setGoodsIdList($goodsIdList)
163
-	{
164
-		$this->goodsIdList = $goodsIdList;
165
-	}
166
-
167
-	public function setIsBrandGoods($isBrandGoods)
168
-	{
169
-		$this->isBrandGoods = $isBrandGoods;
170
-	}
171
-
172
-	public function setKeyword($keyword)
173
-	{
174
-		$this->keyword = $keyword;
175
-	}
176
-
177
-	public function setListId($listId)
178
-	{
179
-		$this->listId = $listId;
180
-	}
181
-
182
-	public function setMerchantType($merchantType)
183
-	{
184
-		$this->merchantType = $merchantType;
185
-	}
186
-
187
-	public function setMerchantTypeList($merchantTypeList)
188
-	{
189
-		$this->merchantTypeList = $merchantTypeList;
190
-	}
191
-
192
-	public function setOptId($optId)
193
-	{
194
-		$this->optId = $optId;
195
-	}
196
-
197
-	public function setPage($page)
198
-	{
199
-		$this->page = $page;
200
-	}
201
-
202
-	public function setPageSize($pageSize)
203
-	{
204
-		$this->pageSize = $pageSize;
205
-	}
206
-
207
-	public function setPid($pid)
208
-	{
209
-		$this->pid = $pid;
210
-	}
211
-
212
-	public function setRangeList($rangeList)
213
-	{
214
-		$this->rangeList = $rangeList;
215
-	}
216
-
217
-	public function setSortType($sortType)
218
-	{
219
-		$this->sortType = $sortType;
220
-	}
221
-
222
-	public function setWithCoupon($withCoupon)
223
-	{
224
-		$this->withCoupon = $withCoupon;
225
-	}
226
-
227
-	public function setBlockCats($blockCats)
228
-	{
229
-		$this->blockCats = $blockCats;
230
-	}
231
-
232
-	public function setBlockCatPackages($blockCatPackages)
233
-	{
234
-		$this->blockCatPackages = $blockCatPackages;
235
-	}
236
-
237
-	public function setGoodsSignList($goodsSignList)
238
-	{
239
-		$this->goodsSignList = $goodsSignList;
240
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Integer>, "activity_tags")
15
+     */
16
+    private $activityTags;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "cat_id")
20
+     */
21
+    private $catId;
22
+
23
+    /**
24
+     * @JsonProperty(String, "custom_parameters")
25
+     */
26
+    private $customParameters;
27
+
28
+    /**
29
+     * @JsonProperty(List<Long>, "goods_id_list")
30
+     */
31
+    private $goodsIdList;
32
+
33
+    /**
34
+     * @JsonProperty(Boolean, "is_brand_goods")
35
+     */
36
+    private $isBrandGoods;
37
+
38
+    /**
39
+     * @JsonProperty(String, "keyword")
40
+     */
41
+    private $keyword;
42
+
43
+    /**
44
+     * @JsonProperty(String, "list_id")
45
+     */
46
+    private $listId;
47
+
48
+    /**
49
+     * @JsonProperty(Integer, "merchant_type")
50
+     */
51
+    private $merchantType;
52
+
53
+    /**
54
+     * @JsonProperty(List<Integer>, "merchant_type_list")
55
+     */
56
+    private $merchantTypeList;
57
+
58
+    /**
59
+     * @JsonProperty(Long, "opt_id")
60
+     */
61
+    private $optId;
62
+
63
+    /**
64
+     * @JsonProperty(Integer, "page")
65
+     */
66
+    private $page;
67
+
68
+    /**
69
+     * @JsonProperty(Integer, "page_size")
70
+     */
71
+    private $pageSize;
72
+
73
+    /**
74
+     * @JsonProperty(String, "pid")
75
+     */
76
+    private $pid;
77
+
78
+    /**
79
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkGoodsSearchRequest_RangeListItem>, "range_list")
80
+     */
81
+    private $rangeList;
82
+
83
+    /**
84
+     * @JsonProperty(Integer, "sort_type")
85
+     */
86
+    private $sortType;
87
+
88
+    /**
89
+     * @JsonProperty(Boolean, "with_coupon")
90
+     */
91
+    private $withCoupon;
92
+
93
+    /**
94
+     * @JsonProperty(List<Integer>, "block_cats")
95
+     */
96
+    private $blockCats;
97
+
98
+    /**
99
+     * @JsonProperty(List<Integer>, "block_cat_packages")
100
+     */
101
+    private $blockCatPackages;
102
+
103
+    /**
104
+     * @JsonProperty(List<String>, "goods_sign_list")
105
+     */
106
+    private $goodsSignList;
107
+
108
+    protected function setUserParams(&$params)
109
+    {
110
+        $this->setUserParam($params, "activity_tags", $this->activityTags);
111
+        $this->setUserParam($params, "cat_id", $this->catId);
112
+        $this->setUserParam($params, "custom_parameters", $this->customParameters);
113
+        $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
114
+        $this->setUserParam($params, "is_brand_goods", $this->isBrandGoods);
115
+        $this->setUserParam($params, "keyword", $this->keyword);
116
+        $this->setUserParam($params, "list_id", $this->listId);
117
+        $this->setUserParam($params, "merchant_type", $this->merchantType);
118
+        $this->setUserParam($params, "merchant_type_list", $this->merchantTypeList);
119
+        $this->setUserParam($params, "opt_id", $this->optId);
120
+        $this->setUserParam($params, "page", $this->page);
121
+        $this->setUserParam($params, "page_size", $this->pageSize);
122
+        $this->setUserParam($params, "pid", $this->pid);
123
+        $this->setUserParam($params, "range_list", $this->rangeList);
124
+        $this->setUserParam($params, "sort_type", $this->sortType);
125
+        $this->setUserParam($params, "with_coupon", $this->withCoupon);
126
+        $this->setUserParam($params, "block_cats", $this->blockCats);
127
+        $this->setUserParam($params, "block_cat_packages", $this->blockCatPackages);
128
+        $this->setUserParam($params, "goods_sign_list", $this->goodsSignList);
129
+
130
+    }
131
+
132
+    public function getVersion()
133
+    {
134
+        return "V1";
135
+    }
136
+
137
+    public function getDataType()
138
+    {
139
+        return "JSON";
140
+    }
141
+
142
+    public function getType()
143
+    {
144
+        return "pdd.ddk.goods.search";
145
+    }
146
+
147
+    public function setActivityTags($activityTags)
148
+    {
149
+        $this->activityTags = $activityTags;
150
+    }
151
+
152
+    public function setCatId($catId)
153
+    {
154
+        $this->catId = $catId;
155
+    }
156
+
157
+    public function setCustomParameters($customParameters)
158
+    {
159
+        $this->customParameters = $customParameters;
160
+    }
161
+
162
+    public function setGoodsIdList($goodsIdList)
163
+    {
164
+        $this->goodsIdList = $goodsIdList;
165
+    }
166
+
167
+    public function setIsBrandGoods($isBrandGoods)
168
+    {
169
+        $this->isBrandGoods = $isBrandGoods;
170
+    }
171
+
172
+    public function setKeyword($keyword)
173
+    {
174
+        $this->keyword = $keyword;
175
+    }
176
+
177
+    public function setListId($listId)
178
+    {
179
+        $this->listId = $listId;
180
+    }
181
+
182
+    public function setMerchantType($merchantType)
183
+    {
184
+        $this->merchantType = $merchantType;
185
+    }
186
+
187
+    public function setMerchantTypeList($merchantTypeList)
188
+    {
189
+        $this->merchantTypeList = $merchantTypeList;
190
+    }
191
+
192
+    public function setOptId($optId)
193
+    {
194
+        $this->optId = $optId;
195
+    }
196
+
197
+    public function setPage($page)
198
+    {
199
+        $this->page = $page;
200
+    }
201
+
202
+    public function setPageSize($pageSize)
203
+    {
204
+        $this->pageSize = $pageSize;
205
+    }
206
+
207
+    public function setPid($pid)
208
+    {
209
+        $this->pid = $pid;
210
+    }
211
+
212
+    public function setRangeList($rangeList)
213
+    {
214
+        $this->rangeList = $rangeList;
215
+    }
216
+
217
+    public function setSortType($sortType)
218
+    {
219
+        $this->sortType = $sortType;
220
+    }
221
+
222
+    public function setWithCoupon($withCoupon)
223
+    {
224
+        $this->withCoupon = $withCoupon;
225
+    }
226
+
227
+    public function setBlockCats($blockCats)
228
+    {
229
+        $this->blockCats = $blockCats;
230
+    }
231
+
232
+    public function setBlockCatPackages($blockCatPackages)
233
+    {
234
+        $this->blockCatPackages = $blockCatPackages;
235
+    }
236
+
237
+    public function setGoodsSignList($goodsSignList)
238
+    {
239
+        $this->goodsSignList = $goodsSignList;
240
+    }
241 241
 
242 242
 }
243 243
 
244 244
 class PddDdkGoodsSearchRequest_RangeListItem extends PopBaseJsonEntity
245 245
 {
246 246
 
247
-	public function __construct()
248
-	{
249
-
250
-	}
251
-
252
-	/**
253
-	* @JsonProperty(Long, "range_from")
254
-	*/
255
-	private $rangeFrom;
256
-
257
-	/**
258
-	* @JsonProperty(Integer, "range_id")
259
-	*/
260
-	private $rangeId;
261
-
262
-	/**
263
-	* @JsonProperty(Long, "range_to")
264
-	*/
265
-	private $rangeTo;
266
-
267
-	public function setRangeFrom($rangeFrom)
268
-	{
269
-		$this->rangeFrom = $rangeFrom;
270
-	}
271
-
272
-	public function setRangeId($rangeId)
273
-	{
274
-		$this->rangeId = $rangeId;
275
-	}
276
-
277
-	public function setRangeTo($rangeTo)
278
-	{
279
-		$this->rangeTo = $rangeTo;
280
-	}
247
+    public function __construct()
248
+    {
249
+
250
+    }
251
+
252
+    /**
253
+     * @JsonProperty(Long, "range_from")
254
+     */
255
+    private $rangeFrom;
256
+
257
+    /**
258
+     * @JsonProperty(Integer, "range_id")
259
+     */
260
+    private $rangeId;
261
+
262
+    /**
263
+     * @JsonProperty(Long, "range_to")
264
+     */
265
+    private $rangeTo;
266
+
267
+    public function setRangeFrom($rangeFrom)
268
+    {
269
+        $this->rangeFrom = $rangeFrom;
270
+    }
271
+
272
+    public function setRangeId($rangeId)
273
+    {
274
+        $this->rangeId = $rangeId;
275
+    }
276
+
277
+    public function setRangeTo($rangeTo)
278
+    {
279
+        $this->rangeTo = $rangeTo;
280
+    }
281 281
 
282 282
 }
Please login to merge, or discard this patch.