Passed
Push — v6 ( 32f4f3...27c58a )
by 光春
03:39
created
src/service/pinduoduo/bin/src/Api/Request/PddCloudIsvPageCodeRequest.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -7,60 +7,60 @@
 block discarded – undo
7 7
 class PddCloudIsvPageCodeRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(List<String>, "mallIdList")
15
-	*/
16
-	private $mallIdList;
12
+    }
13
+    /**
14
+     * @JsonProperty(List<String>, "mallIdList")
15
+     */
16
+    private $mallIdList;
17 17
 
18
-	/**
19
-	* @JsonProperty(String, "httpReferer")
20
-	*/
21
-	private $httpReferer;
18
+    /**
19
+     * @JsonProperty(String, "httpReferer")
20
+     */
21
+    private $httpReferer;
22 22
 
23
-	/**
24
-	* @JsonProperty(String, "userId")
25
-	*/
26
-	private $userId;
23
+    /**
24
+     * @JsonProperty(String, "userId")
25
+     */
26
+    private $userId;
27 27
 
28
-	protected function setUserParams(&$params)
29
-	{
30
-		$this->setUserParam($params, "mallIdList", $this->mallIdList);
31
-		$this->setUserParam($params, "httpReferer", $this->httpReferer);
32
-		$this->setUserParam($params, "userId", $this->userId);
28
+    protected function setUserParams(&$params)
29
+    {
30
+        $this->setUserParam($params, "mallIdList", $this->mallIdList);
31
+        $this->setUserParam($params, "httpReferer", $this->httpReferer);
32
+        $this->setUserParam($params, "userId", $this->userId);
33 33
 
34
-	}
34
+    }
35 35
 
36
-	public function getVersion()
37
-	{
38
-		return "V1";
39
-	}
36
+    public function getVersion()
37
+    {
38
+        return "V1";
39
+    }
40 40
 
41
-	public function getDataType()
42
-	{
43
-		return "JSON";
44
-	}
41
+    public function getDataType()
42
+    {
43
+        return "JSON";
44
+    }
45 45
 
46
-	public function getType()
47
-	{
48
-		return "pdd.cloud.isv.page.code";
49
-	}
46
+    public function getType()
47
+    {
48
+        return "pdd.cloud.isv.page.code";
49
+    }
50 50
 
51
-	public function setMallIdList($mallIdList)
52
-	{
53
-		$this->mallIdList = $mallIdList;
54
-	}
51
+    public function setMallIdList($mallIdList)
52
+    {
53
+        $this->mallIdList = $mallIdList;
54
+    }
55 55
 
56
-	public function setHttpReferer($httpReferer)
57
-	{
58
-		$this->httpReferer = $httpReferer;
59
-	}
56
+    public function setHttpReferer($httpReferer)
57
+    {
58
+        $this->httpReferer = $httpReferer;
59
+    }
60 60
 
61
-	public function setUserId($userId)
62
-	{
63
-		$this->userId = $userId;
64
-	}
61
+    public function setUserId($userId)
62
+    {
63
+        $this->userId = $userId;
64
+    }
65 65
 
66 66
 }
Please login to merge, or discard this patch.
bin/src/Api/Request/PddAdApiUnitCreativeUpdateSmartCreativeRequest.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 PddAdApiUnitCreativeUpdateSmartCreativeRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "text")
15
-	*/
16
-	private $text;
17
-
18
-	/**
19
-	* @JsonProperty(Long, "unitCreativeId")
20
-	*/
21
-	private $unitCreativeId;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "text", $this->text);
26
-		$this->setUserParam($params, "unitCreativeId", $this->unitCreativeId);
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.smart.creative";
43
-	}
44
-
45
-	public function setText($text)
46
-	{
47
-		$this->text = $text;
48
-	}
49
-
50
-	public function setUnitCreativeId($unitCreativeId)
51
-	{
52
-		$this->unitCreativeId = $unitCreativeId;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "text")
15
+     */
16
+    private $text;
17
+
18
+    /**
19
+     * @JsonProperty(Long, "unitCreativeId")
20
+     */
21
+    private $unitCreativeId;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "text", $this->text);
26
+        $this->setUserParam($params, "unitCreativeId", $this->unitCreativeId);
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.smart.creative";
43
+    }
44
+
45
+    public function setText($text)
46
+    {
47
+        $this->text = $text;
48
+    }
49
+
50
+    public function setUnitCreativeId($unitCreativeId)
51
+    {
52
+        $this->unitCreativeId = $unitCreativeId;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddGoodsLogisticsSerTemplateCreateRequest.php 1 patch
Indentation   +209 added lines, -209 removed lines patch added patch discarded remove patch
@@ -7,252 +7,252 @@
 block discarded – undo
7 7
 class PddGoodsLogisticsSerTemplateCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "template_type")
15
-	*/
16
-	private $templateType;
17
-
18
-	/**
19
-	* @JsonProperty(String, "template_name")
20
-	*/
21
-	private $templateName;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "price_unit")
25
-	*/
26
-	private $priceUnit;
27
-
28
-	/**
29
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_ServiceAreaListItem>, "service_area_list")
30
-	*/
31
-	private $serviceAreaList;
32
-
33
-	/**
34
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItem>, "cat_list")
35
-	*/
36
-	private $catList;
37
-
38
-	protected function setUserParams(&$params)
39
-	{
40
-		$this->setUserParam($params, "template_type", $this->templateType);
41
-		$this->setUserParam($params, "template_name", $this->templateName);
42
-		$this->setUserParam($params, "price_unit", $this->priceUnit);
43
-		$this->setUserParam($params, "service_area_list", $this->serviceAreaList);
44
-		$this->setUserParam($params, "cat_list", $this->catList);
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.goods.logistics.ser.template.create";
61
-	}
62
-
63
-	public function setTemplateType($templateType)
64
-	{
65
-		$this->templateType = $templateType;
66
-	}
67
-
68
-	public function setTemplateName($templateName)
69
-	{
70
-		$this->templateName = $templateName;
71
-	}
72
-
73
-	public function setPriceUnit($priceUnit)
74
-	{
75
-		$this->priceUnit = $priceUnit;
76
-	}
77
-
78
-	public function setServiceAreaList($serviceAreaList)
79
-	{
80
-		$this->serviceAreaList = $serviceAreaList;
81
-	}
82
-
83
-	public function setCatList($catList)
84
-	{
85
-		$this->catList = $catList;
86
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "template_type")
15
+     */
16
+    private $templateType;
17
+
18
+    /**
19
+     * @JsonProperty(String, "template_name")
20
+     */
21
+    private $templateName;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "price_unit")
25
+     */
26
+    private $priceUnit;
27
+
28
+    /**
29
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_ServiceAreaListItem>, "service_area_list")
30
+     */
31
+    private $serviceAreaList;
32
+
33
+    /**
34
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItem>, "cat_list")
35
+     */
36
+    private $catList;
37
+
38
+    protected function setUserParams(&$params)
39
+    {
40
+        $this->setUserParam($params, "template_type", $this->templateType);
41
+        $this->setUserParam($params, "template_name", $this->templateName);
42
+        $this->setUserParam($params, "price_unit", $this->priceUnit);
43
+        $this->setUserParam($params, "service_area_list", $this->serviceAreaList);
44
+        $this->setUserParam($params, "cat_list", $this->catList);
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.goods.logistics.ser.template.create";
61
+    }
62
+
63
+    public function setTemplateType($templateType)
64
+    {
65
+        $this->templateType = $templateType;
66
+    }
67
+
68
+    public function setTemplateName($templateName)
69
+    {
70
+        $this->templateName = $templateName;
71
+    }
72
+
73
+    public function setPriceUnit($priceUnit)
74
+    {
75
+        $this->priceUnit = $priceUnit;
76
+    }
77
+
78
+    public function setServiceAreaList($serviceAreaList)
79
+    {
80
+        $this->serviceAreaList = $serviceAreaList;
81
+    }
82
+
83
+    public function setCatList($catList)
84
+    {
85
+        $this->catList = $catList;
86
+    }
87 87
 
88 88
 }
89 89
 
90 90
 class PddGoodsLogisticsSerTemplateCreateRequest_ServiceAreaListItem extends PopBaseJsonEntity
91 91
 {
92 92
 
93
-	public function __construct()
94
-	{
95
-
96
-	}
97
-
98
-	/**
99
-	* @JsonProperty(String, "value")
100
-	*/
101
-	private $value;
102
-
103
-	/**
104
-	* @JsonProperty(String, "district_id")
105
-	*/
106
-	private $districtId;
107
-
108
-	/**
109
-	* @JsonProperty(String, "city_id")
110
-	*/
111
-	private $cityId;
112
-
113
-	/**
114
-	* @JsonProperty(String, "province_id")
115
-	*/
116
-	private $provinceId;
117
-
118
-	public function setValue($value)
119
-	{
120
-		$this->value = $value;
121
-	}
122
-
123
-	public function setDistrictId($districtId)
124
-	{
125
-		$this->districtId = $districtId;
126
-	}
127
-
128
-	public function setCityId($cityId)
129
-	{
130
-		$this->cityId = $cityId;
131
-	}
132
-
133
-	public function setProvinceId($provinceId)
134
-	{
135
-		$this->provinceId = $provinceId;
136
-	}
93
+    public function __construct()
94
+    {
95
+
96
+    }
97
+
98
+    /**
99
+     * @JsonProperty(String, "value")
100
+     */
101
+    private $value;
102
+
103
+    /**
104
+     * @JsonProperty(String, "district_id")
105
+     */
106
+    private $districtId;
107
+
108
+    /**
109
+     * @JsonProperty(String, "city_id")
110
+     */
111
+    private $cityId;
112
+
113
+    /**
114
+     * @JsonProperty(String, "province_id")
115
+     */
116
+    private $provinceId;
117
+
118
+    public function setValue($value)
119
+    {
120
+        $this->value = $value;
121
+    }
122
+
123
+    public function setDistrictId($districtId)
124
+    {
125
+        $this->districtId = $districtId;
126
+    }
127
+
128
+    public function setCityId($cityId)
129
+    {
130
+        $this->cityId = $cityId;
131
+    }
132
+
133
+    public function setProvinceId($provinceId)
134
+    {
135
+        $this->provinceId = $provinceId;
136
+    }
137 137
 
138 138
 }
139 139
 
140 140
 class PddGoodsLogisticsSerTemplateCreateRequest_CatListItem extends PopBaseJsonEntity
141 141
 {
142 142
 
143
-	public function __construct()
144
-	{
143
+    public function __construct()
144
+    {
145 145
 
146
-	}
146
+    }
147 147
 
148
-	/**
149
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItem>, "list")
150
-	*/
151
-	private $list;
148
+    /**
149
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItem>, "list")
150
+     */
151
+    private $list;
152 152
 
153
-	/**
154
-	* @JsonProperty(Long, "cat_id4")
155
-	*/
156
-	private $catId4;
153
+    /**
154
+     * @JsonProperty(Long, "cat_id4")
155
+     */
156
+    private $catId4;
157 157
 
158
-	/**
159
-	* @JsonProperty(Long, "cat_id3")
160
-	*/
161
-	private $catId3;
158
+    /**
159
+     * @JsonProperty(Long, "cat_id3")
160
+     */
161
+    private $catId3;
162 162
 
163
-	public function setList($list)
164
-	{
165
-		$this->list = $list;
166
-	}
163
+    public function setList($list)
164
+    {
165
+        $this->list = $list;
166
+    }
167 167
 
168
-	public function setCatId4($catId4)
169
-	{
170
-		$this->catId4 = $catId4;
171
-	}
168
+    public function setCatId4($catId4)
169
+    {
170
+        $this->catId4 = $catId4;
171
+    }
172 172
 
173
-	public function setCatId3($catId3)
174
-	{
175
-		$this->catId3 = $catId3;
176
-	}
173
+    public function setCatId3($catId3)
174
+    {
175
+        $this->catId3 = $catId3;
176
+    }
177 177
 
178 178
 }
179 179
 
180 180
 class PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItem extends PopBaseJsonEntity
181 181
 {
182 182
 
183
-	public function __construct()
184
-	{
183
+    public function __construct()
184
+    {
185 185
 
186
-	}
186
+    }
187 187
 
188
-	/**
189
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItemContentItem>, "content")
190
-	*/
191
-	private $content;
188
+    /**
189
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItemContentItem>, "content")
190
+     */
191
+    private $content;
192 192
 
193
-	/**
194
-	* @JsonProperty(Long, "value")
195
-	*/
196
-	private $value;
193
+    /**
194
+     * @JsonProperty(Long, "value")
195
+     */
196
+    private $value;
197 197
 
198
-	/**
199
-	* @JsonProperty(Integer, "limit_type")
200
-	*/
201
-	private $limitType;
198
+    /**
199
+     * @JsonProperty(Integer, "limit_type")
200
+     */
201
+    private $limitType;
202 202
 
203
-	public function setContent($content)
204
-	{
205
-		$this->content = $content;
206
-	}
203
+    public function setContent($content)
204
+    {
205
+        $this->content = $content;
206
+    }
207 207
 
208
-	public function setValue($value)
209
-	{
210
-		$this->value = $value;
211
-	}
208
+    public function setValue($value)
209
+    {
210
+        $this->value = $value;
211
+    }
212 212
 
213
-	public function setLimitType($limitType)
214
-	{
215
-		$this->limitType = $limitType;
216
-	}
213
+    public function setLimitType($limitType)
214
+    {
215
+        $this->limitType = $limitType;
216
+    }
217 217
 
218 218
 }
219 219
 
220 220
 class PddGoodsLogisticsSerTemplateCreateRequest_CatListItemListItemContentItem extends PopBaseJsonEntity
221 221
 {
222 222
 
223
-	public function __construct()
224
-	{
225
-
226
-	}
227
-
228
-	/**
229
-	* @JsonProperty(Long, "price")
230
-	*/
231
-	private $price;
232
-
233
-	/**
234
-	* @JsonProperty(Long, "max_pro")
235
-	*/
236
-	private $maxPro;
237
-
238
-	/**
239
-	* @JsonProperty(Long, "min_pro")
240
-	*/
241
-	private $minPro;
242
-
243
-	public function setPrice($price)
244
-	{
245
-		$this->price = $price;
246
-	}
247
-
248
-	public function setMaxPro($maxPro)
249
-	{
250
-		$this->maxPro = $maxPro;
251
-	}
252
-
253
-	public function setMinPro($minPro)
254
-	{
255
-		$this->minPro = $minPro;
256
-	}
223
+    public function __construct()
224
+    {
225
+
226
+    }
227
+
228
+    /**
229
+     * @JsonProperty(Long, "price")
230
+     */
231
+    private $price;
232
+
233
+    /**
234
+     * @JsonProperty(Long, "max_pro")
235
+     */
236
+    private $maxPro;
237
+
238
+    /**
239
+     * @JsonProperty(Long, "min_pro")
240
+     */
241
+    private $minPro;
242
+
243
+    public function setPrice($price)
244
+    {
245
+        $this->price = $price;
246
+    }
247
+
248
+    public function setMaxPro($maxPro)
249
+    {
250
+        $this->maxPro = $maxPro;
251
+    }
252
+
253
+    public function setMinPro($minPro)
254
+    {
255
+        $this->minPro = $minPro;
256
+    }
257 257
 
258 258
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddDdkOauthGoodsPromUrlGenerateRequest.php 1 patch
Indentation   +187 added lines, -187 removed lines patch added patch discarded remove patch
@@ -7,192 +7,192 @@
 block discarded – undo
7 7
 class PddDdkOauthGoodsPromUrlGenerateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "custom_parameters")
15
-	*/
16
-	private $customParameters;
17
-
18
-	/**
19
-	* @JsonProperty(Boolean, "generate_mall_collect_coupon")
20
-	*/
21
-	private $generateMallCollectCoupon;
22
-
23
-	/**
24
-	* @JsonProperty(Boolean, "generate_qq_app")
25
-	*/
26
-	private $generateQqApp;
27
-
28
-	/**
29
-	* @JsonProperty(Boolean, "generate_schema_url")
30
-	*/
31
-	private $generateSchemaUrl;
32
-
33
-	/**
34
-	* @JsonProperty(Boolean, "generate_short_url")
35
-	*/
36
-	private $generateShortUrl;
37
-
38
-	/**
39
-	* @JsonProperty(Boolean, "generate_weapp_webview")
40
-	*/
41
-	private $generateWeappWebview;
42
-
43
-	/**
44
-	* @JsonProperty(Boolean, "generate_weiboapp_webview")
45
-	*/
46
-	private $generateWeiboappWebview;
47
-
48
-	/**
49
-	* @JsonProperty(Boolean, "generate_we_app")
50
-	*/
51
-	private $generateWeApp;
52
-
53
-	/**
54
-	* @JsonProperty(List<Long>, "goods_id_list")
55
-	*/
56
-	private $goodsIdList;
57
-
58
-	/**
59
-	* @JsonProperty(Boolean, "multi_group")
60
-	*/
61
-	private $multiGroup;
62
-
63
-	/**
64
-	* @JsonProperty(String, "p_id")
65
-	*/
66
-	private $pId;
67
-
68
-	/**
69
-	* @JsonProperty(String, "search_id")
70
-	*/
71
-	private $searchId;
72
-
73
-	/**
74
-	* @JsonProperty(Long, "zs_duo_id")
75
-	*/
76
-	private $zsDuoId;
77
-
78
-	/**
79
-	* @JsonProperty(Boolean, "force_duo_id")
80
-	*/
81
-	private $forceDuoId;
82
-
83
-	/**
84
-	* @JsonProperty(Boolean, "generate_authority_url")
85
-	*/
86
-	private $generateAuthorityUrl;
87
-
88
-	protected function setUserParams(&$params)
89
-	{
90
-		$this->setUserParam($params, "custom_parameters", $this->customParameters);
91
-		$this->setUserParam($params, "generate_mall_collect_coupon", $this->generateMallCollectCoupon);
92
-		$this->setUserParam($params, "generate_qq_app", $this->generateQqApp);
93
-		$this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl);
94
-		$this->setUserParam($params, "generate_short_url", $this->generateShortUrl);
95
-		$this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview);
96
-		$this->setUserParam($params, "generate_weiboapp_webview", $this->generateWeiboappWebview);
97
-		$this->setUserParam($params, "generate_we_app", $this->generateWeApp);
98
-		$this->setUserParam($params, "goods_id_list", $this->goodsIdList);
99
-		$this->setUserParam($params, "multi_group", $this->multiGroup);
100
-		$this->setUserParam($params, "p_id", $this->pId);
101
-		$this->setUserParam($params, "search_id", $this->searchId);
102
-		$this->setUserParam($params, "zs_duo_id", $this->zsDuoId);
103
-		$this->setUserParam($params, "force_duo_id", $this->forceDuoId);
104
-		$this->setUserParam($params, "generate_authority_url", $this->generateAuthorityUrl);
105
-
106
-	}
107
-
108
-	public function getVersion()
109
-	{
110
-		return "V1";
111
-	}
112
-
113
-	public function getDataType()
114
-	{
115
-		return "JSON";
116
-	}
117
-
118
-	public function getType()
119
-	{
120
-		return "pdd.ddk.oauth.goods.prom.url.generate";
121
-	}
122
-
123
-	public function setCustomParameters($customParameters)
124
-	{
125
-		$this->customParameters = $customParameters;
126
-	}
127
-
128
-	public function setGenerateMallCollectCoupon($generateMallCollectCoupon)
129
-	{
130
-		$this->generateMallCollectCoupon = $generateMallCollectCoupon;
131
-	}
132
-
133
-	public function setGenerateQqApp($generateQqApp)
134
-	{
135
-		$this->generateQqApp = $generateQqApp;
136
-	}
137
-
138
-	public function setGenerateSchemaUrl($generateSchemaUrl)
139
-	{
140
-		$this->generateSchemaUrl = $generateSchemaUrl;
141
-	}
142
-
143
-	public function setGenerateShortUrl($generateShortUrl)
144
-	{
145
-		$this->generateShortUrl = $generateShortUrl;
146
-	}
147
-
148
-	public function setGenerateWeappWebview($generateWeappWebview)
149
-	{
150
-		$this->generateWeappWebview = $generateWeappWebview;
151
-	}
152
-
153
-	public function setGenerateWeiboappWebview($generateWeiboappWebview)
154
-	{
155
-		$this->generateWeiboappWebview = $generateWeiboappWebview;
156
-	}
157
-
158
-	public function setGenerateWeApp($generateWeApp)
159
-	{
160
-		$this->generateWeApp = $generateWeApp;
161
-	}
162
-
163
-	public function setGoodsIdList($goodsIdList)
164
-	{
165
-		$this->goodsIdList = $goodsIdList;
166
-	}
167
-
168
-	public function setMultiGroup($multiGroup)
169
-	{
170
-		$this->multiGroup = $multiGroup;
171
-	}
172
-
173
-	public function setPId($pId)
174
-	{
175
-		$this->pId = $pId;
176
-	}
177
-
178
-	public function setSearchId($searchId)
179
-	{
180
-		$this->searchId = $searchId;
181
-	}
182
-
183
-	public function setZsDuoId($zsDuoId)
184
-	{
185
-		$this->zsDuoId = $zsDuoId;
186
-	}
187
-
188
-	public function setForceDuoId($forceDuoId)
189
-	{
190
-		$this->forceDuoId = $forceDuoId;
191
-	}
192
-
193
-	public function setGenerateAuthorityUrl($generateAuthorityUrl)
194
-	{
195
-		$this->generateAuthorityUrl = $generateAuthorityUrl;
196
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "custom_parameters")
15
+     */
16
+    private $customParameters;
17
+
18
+    /**
19
+     * @JsonProperty(Boolean, "generate_mall_collect_coupon")
20
+     */
21
+    private $generateMallCollectCoupon;
22
+
23
+    /**
24
+     * @JsonProperty(Boolean, "generate_qq_app")
25
+     */
26
+    private $generateQqApp;
27
+
28
+    /**
29
+     * @JsonProperty(Boolean, "generate_schema_url")
30
+     */
31
+    private $generateSchemaUrl;
32
+
33
+    /**
34
+     * @JsonProperty(Boolean, "generate_short_url")
35
+     */
36
+    private $generateShortUrl;
37
+
38
+    /**
39
+     * @JsonProperty(Boolean, "generate_weapp_webview")
40
+     */
41
+    private $generateWeappWebview;
42
+
43
+    /**
44
+     * @JsonProperty(Boolean, "generate_weiboapp_webview")
45
+     */
46
+    private $generateWeiboappWebview;
47
+
48
+    /**
49
+     * @JsonProperty(Boolean, "generate_we_app")
50
+     */
51
+    private $generateWeApp;
52
+
53
+    /**
54
+     * @JsonProperty(List<Long>, "goods_id_list")
55
+     */
56
+    private $goodsIdList;
57
+
58
+    /**
59
+     * @JsonProperty(Boolean, "multi_group")
60
+     */
61
+    private $multiGroup;
62
+
63
+    /**
64
+     * @JsonProperty(String, "p_id")
65
+     */
66
+    private $pId;
67
+
68
+    /**
69
+     * @JsonProperty(String, "search_id")
70
+     */
71
+    private $searchId;
72
+
73
+    /**
74
+     * @JsonProperty(Long, "zs_duo_id")
75
+     */
76
+    private $zsDuoId;
77
+
78
+    /**
79
+     * @JsonProperty(Boolean, "force_duo_id")
80
+     */
81
+    private $forceDuoId;
82
+
83
+    /**
84
+     * @JsonProperty(Boolean, "generate_authority_url")
85
+     */
86
+    private $generateAuthorityUrl;
87
+
88
+    protected function setUserParams(&$params)
89
+    {
90
+        $this->setUserParam($params, "custom_parameters", $this->customParameters);
91
+        $this->setUserParam($params, "generate_mall_collect_coupon", $this->generateMallCollectCoupon);
92
+        $this->setUserParam($params, "generate_qq_app", $this->generateQqApp);
93
+        $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl);
94
+        $this->setUserParam($params, "generate_short_url", $this->generateShortUrl);
95
+        $this->setUserParam($params, "generate_weapp_webview", $this->generateWeappWebview);
96
+        $this->setUserParam($params, "generate_weiboapp_webview", $this->generateWeiboappWebview);
97
+        $this->setUserParam($params, "generate_we_app", $this->generateWeApp);
98
+        $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
99
+        $this->setUserParam($params, "multi_group", $this->multiGroup);
100
+        $this->setUserParam($params, "p_id", $this->pId);
101
+        $this->setUserParam($params, "search_id", $this->searchId);
102
+        $this->setUserParam($params, "zs_duo_id", $this->zsDuoId);
103
+        $this->setUserParam($params, "force_duo_id", $this->forceDuoId);
104
+        $this->setUserParam($params, "generate_authority_url", $this->generateAuthorityUrl);
105
+
106
+    }
107
+
108
+    public function getVersion()
109
+    {
110
+        return "V1";
111
+    }
112
+
113
+    public function getDataType()
114
+    {
115
+        return "JSON";
116
+    }
117
+
118
+    public function getType()
119
+    {
120
+        return "pdd.ddk.oauth.goods.prom.url.generate";
121
+    }
122
+
123
+    public function setCustomParameters($customParameters)
124
+    {
125
+        $this->customParameters = $customParameters;
126
+    }
127
+
128
+    public function setGenerateMallCollectCoupon($generateMallCollectCoupon)
129
+    {
130
+        $this->generateMallCollectCoupon = $generateMallCollectCoupon;
131
+    }
132
+
133
+    public function setGenerateQqApp($generateQqApp)
134
+    {
135
+        $this->generateQqApp = $generateQqApp;
136
+    }
137
+
138
+    public function setGenerateSchemaUrl($generateSchemaUrl)
139
+    {
140
+        $this->generateSchemaUrl = $generateSchemaUrl;
141
+    }
142
+
143
+    public function setGenerateShortUrl($generateShortUrl)
144
+    {
145
+        $this->generateShortUrl = $generateShortUrl;
146
+    }
147
+
148
+    public function setGenerateWeappWebview($generateWeappWebview)
149
+    {
150
+        $this->generateWeappWebview = $generateWeappWebview;
151
+    }
152
+
153
+    public function setGenerateWeiboappWebview($generateWeiboappWebview)
154
+    {
155
+        $this->generateWeiboappWebview = $generateWeiboappWebview;
156
+    }
157
+
158
+    public function setGenerateWeApp($generateWeApp)
159
+    {
160
+        $this->generateWeApp = $generateWeApp;
161
+    }
162
+
163
+    public function setGoodsIdList($goodsIdList)
164
+    {
165
+        $this->goodsIdList = $goodsIdList;
166
+    }
167
+
168
+    public function setMultiGroup($multiGroup)
169
+    {
170
+        $this->multiGroup = $multiGroup;
171
+    }
172
+
173
+    public function setPId($pId)
174
+    {
175
+        $this->pId = $pId;
176
+    }
177
+
178
+    public function setSearchId($searchId)
179
+    {
180
+        $this->searchId = $searchId;
181
+    }
182
+
183
+    public function setZsDuoId($zsDuoId)
184
+    {
185
+        $this->zsDuoId = $zsDuoId;
186
+    }
187
+
188
+    public function setForceDuoId($forceDuoId)
189
+    {
190
+        $this->forceDuoId = $forceDuoId;
191
+    }
192
+
193
+    public function setGenerateAuthorityUrl($generateAuthorityUrl)
194
+    {
195
+        $this->generateAuthorityUrl = $generateAuthorityUrl;
196
+    }
197 197
 
198 198
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddFinanceBalanceDailyBillUrlGetRequest.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 PddFinanceBalanceDailyBillUrlGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "bill_date")
15
-	*/
16
-	private $billDate;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "bill_date", $this->billDate);
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.finance.balance.daily.bill.url.get";
37
-	}
38
-
39
-	public function setBillDate($billDate)
40
-	{
41
-		$this->billDate = $billDate;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "bill_date")
15
+     */
16
+    private $billDate;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "bill_date", $this->billDate);
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.finance.balance.daily.bill.url.get";
37
+    }
38
+
39
+    public function setBillDate($billDate)
40
+    {
41
+        $this->billDate = $billDate;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddGoodsMaterialQueryRequest.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 PddGoodsMaterialQueryRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(List<Long>, "goods_id_list")
15
-	*/
16
-	private $goodsIdList;
17
-
18
-	/**
19
-	* @JsonProperty(List<Long>, "type_list")
20
-	*/
21
-	private $typeList;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "goods_id_list", $this->goodsIdList);
26
-		$this->setUserParam($params, "type_list", $this->typeList);
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.material.query";
43
-	}
44
-
45
-	public function setGoodsIdList($goodsIdList)
46
-	{
47
-		$this->goodsIdList = $goodsIdList;
48
-	}
49
-
50
-	public function setTypeList($typeList)
51
-	{
52
-		$this->typeList = $typeList;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(List<Long>, "goods_id_list")
15
+     */
16
+    private $goodsIdList;
17
+
18
+    /**
19
+     * @JsonProperty(List<Long>, "type_list")
20
+     */
21
+    private $typeList;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "goods_id_list", $this->goodsIdList);
26
+        $this->setUserParam($params, "type_list", $this->typeList);
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.material.query";
43
+    }
44
+
45
+    public function setGoodsIdList($goodsIdList)
46
+    {
47
+        $this->goodsIdList = $goodsIdList;
48
+    }
49
+
50
+    public function setTypeList($typeList)
51
+    {
52
+        $this->typeList = $typeList;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddMallInfoGroupRemoveStoreGetRequest.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 PddMallInfoGroupRemoveStoreGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "group_id")
15
-	*/
16
-	private $groupId;
17
-
18
-	/**
19
-	* @JsonProperty(List<Long>, "store_id_list")
20
-	*/
21
-	private $storeIdList;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "group_id", $this->groupId);
26
-		$this->setUserParam($params, "store_id_list", $this->storeIdList);
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.mall.info.group.remove.store.get";
43
-	}
44
-
45
-	public function setGroupId($groupId)
46
-	{
47
-		$this->groupId = $groupId;
48
-	}
49
-
50
-	public function setStoreIdList($storeIdList)
51
-	{
52
-		$this->storeIdList = $storeIdList;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "group_id")
15
+     */
16
+    private $groupId;
17
+
18
+    /**
19
+     * @JsonProperty(List<Long>, "store_id_list")
20
+     */
21
+    private $storeIdList;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "group_id", $this->groupId);
26
+        $this->setUserParam($params, "store_id_list", $this->storeIdList);
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.mall.info.group.remove.store.get";
43
+    }
44
+
45
+    public function setGroupId($groupId)
46
+    {
47
+        $this->groupId = $groupId;
48
+    }
49
+
50
+    public function setStoreIdList($storeIdList)
51
+    {
52
+        $this->storeIdList = $storeIdList;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddEinvoiceVendorRuihongInvoiceGetRequest.php 1 patch
Indentation   +109 added lines, -109 removed lines patch added patch discarded remove patch
@@ -7,138 +7,138 @@
 block discarded – undo
7 7
 class PddEinvoiceVendorRuihongInvoiceGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongInvoiceGetRequest_Request, "request")
15
-	*/
16
-	private $request;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongInvoiceGetRequest_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.einvoice.vendor.ruihong.invoice.get";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.einvoice.vendor.ruihong.invoice.get";
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 PddEinvoiceVendorRuihongInvoiceGetRequest_Request extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "serialNo")
56
-	*/
57
-	private $serialNo;
58
-
59
-	/**
60
-	* @JsonProperty(String, "postTime")
61
-	*/
62
-	private $postTime;
63
-
64
-	/**
65
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongInvoiceGetRequest_RequestCriteriaItem>, "criteria")
66
-	*/
67
-	private $criteria;
68
-
69
-	/**
70
-	* @JsonProperty(String, "cmdName")
71
-	*/
72
-	private $cmdName;
73
-
74
-	/**
75
-	* @JsonProperty(String, "appCode")
76
-	*/
77
-	private $appCode;
78
-
79
-	/**
80
-	* @JsonProperty(String, "sign")
81
-	*/
82
-	private $sign;
83
-
84
-	public function setSerialNo($serialNo)
85
-	{
86
-		$this->serialNo = $serialNo;
87
-	}
88
-
89
-	public function setPostTime($postTime)
90
-	{
91
-		$this->postTime = $postTime;
92
-	}
93
-
94
-	public function setCriteria($criteria)
95
-	{
96
-		$this->criteria = $criteria;
97
-	}
98
-
99
-	public function setCmdName($cmdName)
100
-	{
101
-		$this->cmdName = $cmdName;
102
-	}
103
-
104
-	public function setAppCode($appCode)
105
-	{
106
-		$this->appCode = $appCode;
107
-	}
108
-
109
-	public function setSign($sign)
110
-	{
111
-		$this->sign = $sign;
112
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "serialNo")
56
+     */
57
+    private $serialNo;
58
+
59
+    /**
60
+     * @JsonProperty(String, "postTime")
61
+     */
62
+    private $postTime;
63
+
64
+    /**
65
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddEinvoiceVendorRuihongInvoiceGetRequest_RequestCriteriaItem>, "criteria")
66
+     */
67
+    private $criteria;
68
+
69
+    /**
70
+     * @JsonProperty(String, "cmdName")
71
+     */
72
+    private $cmdName;
73
+
74
+    /**
75
+     * @JsonProperty(String, "appCode")
76
+     */
77
+    private $appCode;
78
+
79
+    /**
80
+     * @JsonProperty(String, "sign")
81
+     */
82
+    private $sign;
83
+
84
+    public function setSerialNo($serialNo)
85
+    {
86
+        $this->serialNo = $serialNo;
87
+    }
88
+
89
+    public function setPostTime($postTime)
90
+    {
91
+        $this->postTime = $postTime;
92
+    }
93
+
94
+    public function setCriteria($criteria)
95
+    {
96
+        $this->criteria = $criteria;
97
+    }
98
+
99
+    public function setCmdName($cmdName)
100
+    {
101
+        $this->cmdName = $cmdName;
102
+    }
103
+
104
+    public function setAppCode($appCode)
105
+    {
106
+        $this->appCode = $appCode;
107
+    }
108
+
109
+    public function setSign($sign)
110
+    {
111
+        $this->sign = $sign;
112
+    }
113 113
 
114 114
 }
115 115
 
116 116
 class PddEinvoiceVendorRuihongInvoiceGetRequest_RequestCriteriaItem extends PopBaseJsonEntity
117 117
 {
118 118
 
119
-	public function __construct()
120
-	{
119
+    public function __construct()
120
+    {
121 121
 
122
-	}
122
+    }
123 123
 
124
-	/**
125
-	* @JsonProperty(String, "name")
126
-	*/
127
-	private $name;
124
+    /**
125
+     * @JsonProperty(String, "name")
126
+     */
127
+    private $name;
128 128
 
129
-	/**
130
-	* @JsonProperty(String, "value")
131
-	*/
132
-	private $value;
129
+    /**
130
+     * @JsonProperty(String, "value")
131
+     */
132
+    private $value;
133 133
 
134
-	public function setName($name)
135
-	{
136
-		$this->name = $name;
137
-	}
134
+    public function setName($name)
135
+    {
136
+        $this->name = $name;
137
+    }
138 138
 
139
-	public function setValue($value)
140
-	{
141
-		$this->value = $value;
142
-	}
139
+    public function setValue($value)
140
+    {
141
+        $this->value = $value;
142
+    }
143 143
 
144 144
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiPlanQueryCanUpdateMaxCostRequest.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 PddAdApiPlanQueryCanUpdateMaxCostRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "planId")
15
-	*/
16
-	private $planId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "planId", $this->planId);
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.ad.api.plan.query.can.update.max.cost";
37
-	}
38
-
39
-	public function setPlanId($planId)
40
-	{
41
-		$this->planId = $planId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "planId")
15
+     */
16
+    private $planId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "planId", $this->planId);
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.ad.api.plan.query.can.update.max.cost";
37
+    }
38
+
39
+    public function setPlanId($planId)
40
+    {
41
+        $this->planId = $planId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.