Passed
Push — v6 ( f71c30...fe03e1 )
by 光春
04:16
created
src/service/pinduoduo/bin/src/Api/Request/PddFlightOrderCancelRequest.php 1 patch
Indentation   +66 added lines, -66 removed lines patch added patch discarded remove patch
@@ -7,71 +7,71 @@
 block discarded – undo
7 7
 class PddFlightOrderCancelRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(String, "trace_id")
15
-	*/
16
-	private $traceId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "sub_trace_id")
20
-	*/
21
-	private $subTraceId;
22
-
23
-	/**
24
-	* @JsonProperty(String, "out_order_no")
25
-	*/
26
-	private $outOrderNo;
27
-
28
-	/**
29
-	* @JsonProperty(String, "out_change_no")
30
-	*/
31
-	private $outChangeNo;
32
-
33
-	protected function setUserParams(&$params)
34
-	{
35
-		$this->setUserParam($params, "trace_id", $this->traceId);
36
-		$this->setUserParam($params, "sub_trace_id", $this->subTraceId);
37
-		$this->setUserParam($params, "out_order_no", $this->outOrderNo);
38
-		$this->setUserParam($params, "out_change_no", $this->outChangeNo);
39
-
40
-	}
41
-
42
-	public function getVersion()
43
-	{
44
-		return "V1";
45
-	}
46
-
47
-	public function getDataType()
48
-	{
49
-		return "JSON";
50
-	}
51
-
52
-	public function getType()
53
-	{
54
-		return "pdd.flight.order.cancel";
55
-	}
56
-
57
-	public function setTraceId($traceId)
58
-	{
59
-		$this->traceId = $traceId;
60
-	}
61
-
62
-	public function setSubTraceId($subTraceId)
63
-	{
64
-		$this->subTraceId = $subTraceId;
65
-	}
66
-
67
-	public function setOutOrderNo($outOrderNo)
68
-	{
69
-		$this->outOrderNo = $outOrderNo;
70
-	}
71
-
72
-	public function setOutChangeNo($outChangeNo)
73
-	{
74
-		$this->outChangeNo = $outChangeNo;
75
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(String, "trace_id")
15
+     */
16
+    private $traceId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "sub_trace_id")
20
+     */
21
+    private $subTraceId;
22
+
23
+    /**
24
+     * @JsonProperty(String, "out_order_no")
25
+     */
26
+    private $outOrderNo;
27
+
28
+    /**
29
+     * @JsonProperty(String, "out_change_no")
30
+     */
31
+    private $outChangeNo;
32
+
33
+    protected function setUserParams(&$params)
34
+    {
35
+        $this->setUserParam($params, "trace_id", $this->traceId);
36
+        $this->setUserParam($params, "sub_trace_id", $this->subTraceId);
37
+        $this->setUserParam($params, "out_order_no", $this->outOrderNo);
38
+        $this->setUserParam($params, "out_change_no", $this->outChangeNo);
39
+
40
+    }
41
+
42
+    public function getVersion()
43
+    {
44
+        return "V1";
45
+    }
46
+
47
+    public function getDataType()
48
+    {
49
+        return "JSON";
50
+    }
51
+
52
+    public function getType()
53
+    {
54
+        return "pdd.flight.order.cancel";
55
+    }
56
+
57
+    public function setTraceId($traceId)
58
+    {
59
+        $this->traceId = $traceId;
60
+    }
61
+
62
+    public function setSubTraceId($subTraceId)
63
+    {
64
+        $this->subTraceId = $subTraceId;
65
+    }
66
+
67
+    public function setOutOrderNo($outOrderNo)
68
+    {
69
+        $this->outOrderNo = $outOrderNo;
70
+    }
71
+
72
+    public function setOutChangeNo($outChangeNo)
73
+    {
74
+        $this->outChangeNo = $outChangeNo;
75
+    }
76 76
 
77 77
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddCloudprintCmdprintRenderRequest.php 1 patch
Indentation   +229 added lines, -229 removed lines patch added patch discarded remove patch
@@ -7,268 +7,268 @@
 block discarded – undo
7 7
 class PddCloudprintCmdprintRenderRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudprintCmdprintRenderRequest_Request, "request")
15
-	*/
16
-	private $request;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudprintCmdprintRenderRequest_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.cloudprint.cmdprint.render";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.cloudprint.cmdprint.render";
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 PddCloudprintCmdprintRenderRequest_Request extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(String, "client_side_id")
56
-	*/
57
-	private $clientSideId;
58
-
59
-	/**
60
-	* @JsonProperty(String, "client_type")
61
-	*/
62
-	private $clientType;
63
-
64
-	/**
65
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudprintCmdprintRenderRequest_RequestConfig, "config")
66
-	*/
67
-	private $config;
68
-
69
-	/**
70
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudprintCmdprintRenderRequest_RequestDocument, "document")
71
-	*/
72
-	private $document;
73
-
74
-	/**
75
-	* @JsonProperty(String, "printer_name")
76
-	*/
77
-	private $printerName;
78
-
79
-	/**
80
-	* @JsonProperty(String, "print_command_type")
81
-	*/
82
-	private $printCommandType;
83
-
84
-	public function setClientSideId($clientSideId)
85
-	{
86
-		$this->clientSideId = $clientSideId;
87
-	}
88
-
89
-	public function setClientType($clientType)
90
-	{
91
-		$this->clientType = $clientType;
92
-	}
93
-
94
-	public function setConfig($config)
95
-	{
96
-		$this->config = $config;
97
-	}
98
-
99
-	public function setDocument($document)
100
-	{
101
-		$this->document = $document;
102
-	}
103
-
104
-	public function setPrinterName($printerName)
105
-	{
106
-		$this->printerName = $printerName;
107
-	}
108
-
109
-	public function setPrintCommandType($printCommandType)
110
-	{
111
-		$this->printCommandType = $printCommandType;
112
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(String, "client_side_id")
56
+     */
57
+    private $clientSideId;
58
+
59
+    /**
60
+     * @JsonProperty(String, "client_type")
61
+     */
62
+    private $clientType;
63
+
64
+    /**
65
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudprintCmdprintRenderRequest_RequestConfig, "config")
66
+     */
67
+    private $config;
68
+
69
+    /**
70
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddCloudprintCmdprintRenderRequest_RequestDocument, "document")
71
+     */
72
+    private $document;
73
+
74
+    /**
75
+     * @JsonProperty(String, "printer_name")
76
+     */
77
+    private $printerName;
78
+
79
+    /**
80
+     * @JsonProperty(String, "print_command_type")
81
+     */
82
+    private $printCommandType;
83
+
84
+    public function setClientSideId($clientSideId)
85
+    {
86
+        $this->clientSideId = $clientSideId;
87
+    }
88
+
89
+    public function setClientType($clientType)
90
+    {
91
+        $this->clientType = $clientType;
92
+    }
93
+
94
+    public function setConfig($config)
95
+    {
96
+        $this->config = $config;
97
+    }
98
+
99
+    public function setDocument($document)
100
+    {
101
+        $this->document = $document;
102
+    }
103
+
104
+    public function setPrinterName($printerName)
105
+    {
106
+        $this->printerName = $printerName;
107
+    }
108
+
109
+    public function setPrintCommandType($printCommandType)
110
+    {
111
+        $this->printCommandType = $printCommandType;
112
+    }
113 113
 
114 114
 }
115 115
 
116 116
 class PddCloudprintCmdprintRenderRequest_RequestConfig extends PopBaseJsonEntity
117 117
 {
118 118
 
119
-	public function __construct()
120
-	{
121
-
122
-	}
123
-
124
-	/**
125
-	* @JsonProperty(Double, "horizontal_offset")
126
-	*/
127
-	private $horizontalOffset;
128
-
129
-	/**
130
-	* @JsonProperty(Boolean, "need_bottom_logo")
131
-	*/
132
-	private $needBottomLogo;
133
-
134
-	/**
135
-	* @JsonProperty(Boolean, "need_middle_logo")
136
-	*/
137
-	private $needMiddleLogo;
138
-
139
-	/**
140
-	* @JsonProperty(Boolean, "need_top_logo")
141
-	*/
142
-	private $needTopLogo;
143
-
144
-	/**
145
-	* @JsonProperty(String, "orientation")
146
-	*/
147
-	private $orientation;
148
-
149
-	/**
150
-	* @JsonProperty(Double, "vertical_offset")
151
-	*/
152
-	private $verticalOffset;
153
-
154
-	public function setHorizontalOffset($horizontalOffset)
155
-	{
156
-		$this->horizontalOffset = $horizontalOffset;
157
-	}
158
-
159
-	public function setNeedBottomLogo($needBottomLogo)
160
-	{
161
-		$this->needBottomLogo = $needBottomLogo;
162
-	}
163
-
164
-	public function setNeedMiddleLogo($needMiddleLogo)
165
-	{
166
-		$this->needMiddleLogo = $needMiddleLogo;
167
-	}
168
-
169
-	public function setNeedTopLogo($needTopLogo)
170
-	{
171
-		$this->needTopLogo = $needTopLogo;
172
-	}
173
-
174
-	public function setOrientation($orientation)
175
-	{
176
-		$this->orientation = $orientation;
177
-	}
178
-
179
-	public function setVerticalOffset($verticalOffset)
180
-	{
181
-		$this->verticalOffset = $verticalOffset;
182
-	}
119
+    public function __construct()
120
+    {
121
+
122
+    }
123
+
124
+    /**
125
+     * @JsonProperty(Double, "horizontal_offset")
126
+     */
127
+    private $horizontalOffset;
128
+
129
+    /**
130
+     * @JsonProperty(Boolean, "need_bottom_logo")
131
+     */
132
+    private $needBottomLogo;
133
+
134
+    /**
135
+     * @JsonProperty(Boolean, "need_middle_logo")
136
+     */
137
+    private $needMiddleLogo;
138
+
139
+    /**
140
+     * @JsonProperty(Boolean, "need_top_logo")
141
+     */
142
+    private $needTopLogo;
143
+
144
+    /**
145
+     * @JsonProperty(String, "orientation")
146
+     */
147
+    private $orientation;
148
+
149
+    /**
150
+     * @JsonProperty(Double, "vertical_offset")
151
+     */
152
+    private $verticalOffset;
153
+
154
+    public function setHorizontalOffset($horizontalOffset)
155
+    {
156
+        $this->horizontalOffset = $horizontalOffset;
157
+    }
158
+
159
+    public function setNeedBottomLogo($needBottomLogo)
160
+    {
161
+        $this->needBottomLogo = $needBottomLogo;
162
+    }
163
+
164
+    public function setNeedMiddleLogo($needMiddleLogo)
165
+    {
166
+        $this->needMiddleLogo = $needMiddleLogo;
167
+    }
168
+
169
+    public function setNeedTopLogo($needTopLogo)
170
+    {
171
+        $this->needTopLogo = $needTopLogo;
172
+    }
173
+
174
+    public function setOrientation($orientation)
175
+    {
176
+        $this->orientation = $orientation;
177
+    }
178
+
179
+    public function setVerticalOffset($verticalOffset)
180
+    {
181
+        $this->verticalOffset = $verticalOffset;
182
+    }
183 183
 
184 184
 }
185 185
 
186 186
 class PddCloudprintCmdprintRenderRequest_RequestDocument extends PopBaseJsonEntity
187 187
 {
188 188
 
189
-	public function __construct()
190
-	{
189
+    public function __construct()
190
+    {
191 191
 
192
-	}
192
+    }
193 193
 
194
-	/**
195
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudprintCmdprintRenderRequest_RequestDocumentContentsItem>, "contents")
196
-	*/
197
-	private $contents;
194
+    /**
195
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddCloudprintCmdprintRenderRequest_RequestDocumentContentsItem>, "contents")
196
+     */
197
+    private $contents;
198 198
 
199
-	public function setContents($contents)
200
-	{
201
-		$this->contents = $contents;
202
-	}
199
+    public function setContents($contents)
200
+    {
201
+        $this->contents = $contents;
202
+    }
203 203
 
204 204
 }
205 205
 
206 206
 class PddCloudprintCmdprintRenderRequest_RequestDocumentContentsItem extends PopBaseJsonEntity
207 207
 {
208 208
 
209
-	public function __construct()
210
-	{
211
-
212
-	}
213
-
214
-	/**
215
-	* @JsonProperty(String, "add_data")
216
-	*/
217
-	private $addData;
218
-
219
-	/**
220
-	* @JsonProperty(Boolean, "encrypted")
221
-	*/
222
-	private $encrypted;
223
-
224
-	/**
225
-	* @JsonProperty(String, "print_data")
226
-	*/
227
-	private $printData;
228
-
229
-	/**
230
-	* @JsonProperty(String, "signature")
231
-	*/
232
-	private $signature;
233
-
234
-	/**
235
-	* @JsonProperty(String, "template_url")
236
-	*/
237
-	private $templateUrl;
238
-
239
-	/**
240
-	* @JsonProperty(String, "ver")
241
-	*/
242
-	private $ver;
243
-
244
-	public function setAddData($addData)
245
-	{
246
-		$this->addData = $addData;
247
-	}
248
-
249
-	public function setEncrypted($encrypted)
250
-	{
251
-		$this->encrypted = $encrypted;
252
-	}
253
-
254
-	public function setPrintData($printData)
255
-	{
256
-		$this->printData = $printData;
257
-	}
258
-
259
-	public function setSignature($signature)
260
-	{
261
-		$this->signature = $signature;
262
-	}
263
-
264
-	public function setTemplateUrl($templateUrl)
265
-	{
266
-		$this->templateUrl = $templateUrl;
267
-	}
268
-
269
-	public function setVer($ver)
270
-	{
271
-		$this->ver = $ver;
272
-	}
209
+    public function __construct()
210
+    {
211
+
212
+    }
213
+
214
+    /**
215
+     * @JsonProperty(String, "add_data")
216
+     */
217
+    private $addData;
218
+
219
+    /**
220
+     * @JsonProperty(Boolean, "encrypted")
221
+     */
222
+    private $encrypted;
223
+
224
+    /**
225
+     * @JsonProperty(String, "print_data")
226
+     */
227
+    private $printData;
228
+
229
+    /**
230
+     * @JsonProperty(String, "signature")
231
+     */
232
+    private $signature;
233
+
234
+    /**
235
+     * @JsonProperty(String, "template_url")
236
+     */
237
+    private $templateUrl;
238
+
239
+    /**
240
+     * @JsonProperty(String, "ver")
241
+     */
242
+    private $ver;
243
+
244
+    public function setAddData($addData)
245
+    {
246
+        $this->addData = $addData;
247
+    }
248
+
249
+    public function setEncrypted($encrypted)
250
+    {
251
+        $this->encrypted = $encrypted;
252
+    }
253
+
254
+    public function setPrintData($printData)
255
+    {
256
+        $this->printData = $printData;
257
+    }
258
+
259
+    public function setSignature($signature)
260
+    {
261
+        $this->signature = $signature;
262
+    }
263
+
264
+    public function setTemplateUrl($templateUrl)
265
+    {
266
+        $this->templateUrl = $templateUrl;
267
+    }
268
+
269
+    public function setVer($ver)
270
+    {
271
+        $this->ver = $ver;
272
+    }
273 273
 
274 274
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddPromotionCouponCloseRequest.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 PddPromotionCouponCloseRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "batch_id")
15
-	*/
16
-	private $batchId;
17
-
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "batch_id", $this->batchId);
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.promotion.coupon.close";
37
-	}
38
-
39
-	public function setBatchId($batchId)
40
-	{
41
-		$this->batchId = $batchId;
42
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "batch_id")
15
+     */
16
+    private $batchId;
17
+
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "batch_id", $this->batchId);
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.promotion.coupon.close";
37
+    }
38
+
39
+    public function setBatchId($batchId)
40
+    {
41
+        $this->batchId = $batchId;
42
+    }
43 43
 
44 44
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddOpenDecryptMaskBatchRequest.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 PddOpenDecryptMaskBatchRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddOpenDecryptMaskBatchRequest_DataListItem>, "data_list")
15
-	*/
16
-	private $dataList;
12
+    }
13
+    /**
14
+     * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddOpenDecryptMaskBatchRequest_DataListItem>, "data_list")
15
+     */
16
+    private $dataList;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "data_list", $this->dataList);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "data_list", $this->dataList);
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.decrypt.mask.batch";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.open.decrypt.mask.batch";
37
+    }
38 38
 
39
-	public function setDataList($dataList)
40
-	{
41
-		$this->dataList = $dataList;
42
-	}
39
+    public function setDataList($dataList)
40
+    {
41
+        $this->dataList = $dataList;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddOpenDecryptMaskBatchRequest_DataListItem 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, "data_tag")
56
-	*/
57
-	private $dataTag;
54
+    /**
55
+     * @JsonProperty(String, "data_tag")
56
+     */
57
+    private $dataTag;
58 58
 
59
-	/**
60
-	* @JsonProperty(String, "encrypted_data")
61
-	*/
62
-	private $encryptedData;
59
+    /**
60
+     * @JsonProperty(String, "encrypted_data")
61
+     */
62
+    private $encryptedData;
63 63
 
64
-	public function setDataTag($dataTag)
65
-	{
66
-		$this->dataTag = $dataTag;
67
-	}
64
+    public function setDataTag($dataTag)
65
+    {
66
+        $this->dataTag = $dataTag;
67
+    }
68 68
 
69
-	public function setEncryptedData($encryptedData)
70
-	{
71
-		$this->encryptedData = $encryptedData;
72
-	}
69
+    public function setEncryptedData($encryptedData)
70
+    {
71
+        $this->encryptedData = $encryptedData;
72
+    }
73 73
 
74 74
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddAdApiUnitCreativeCheckTitleRequest.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 PddAdApiUnitCreativeCheckTitleRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "goodsId")
15
-	*/
16
-	private $goodsId;
17
-
18
-	/**
19
-	* @JsonProperty(String, "title")
20
-	*/
21
-	private $title;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "goodsId", $this->goodsId);
26
-		$this->setUserParam($params, "title", $this->title);
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.check.title";
43
-	}
44
-
45
-	public function setGoodsId($goodsId)
46
-	{
47
-		$this->goodsId = $goodsId;
48
-	}
49
-
50
-	public function setTitle($title)
51
-	{
52
-		$this->title = $title;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "goodsId")
15
+     */
16
+    private $goodsId;
17
+
18
+    /**
19
+     * @JsonProperty(String, "title")
20
+     */
21
+    private $title;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "goodsId", $this->goodsId);
26
+        $this->setUserParam($params, "title", $this->title);
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.check.title";
43
+    }
44
+
45
+    public function setGoodsId($goodsId)
46
+    {
47
+        $this->goodsId = $goodsId;
48
+    }
49
+
50
+    public function setTitle($title)
51
+    {
52
+        $this->title = $title;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.
src/service/pinduoduo/bin/src/Api/Request/PddOrderListGetRequest.php 1 patch
Indentation   +110 added lines, -110 removed lines patch added patch discarded remove patch
@@ -7,115 +7,115 @@
 block discarded – undo
7 7
 class PddOrderListGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "order_status")
15
-	*/
16
-	private $orderStatus;
17
-
18
-	/**
19
-	* @JsonProperty(Integer, "refund_status")
20
-	*/
21
-	private $refundStatus;
22
-
23
-	/**
24
-	* @JsonProperty(Long, "start_confirm_at")
25
-	*/
26
-	private $startConfirmAt;
27
-
28
-	/**
29
-	* @JsonProperty(Long, "end_confirm_at")
30
-	*/
31
-	private $endConfirmAt;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "page")
35
-	*/
36
-	private $page;
37
-
38
-	/**
39
-	* @JsonProperty(Integer, "page_size")
40
-	*/
41
-	private $pageSize;
42
-
43
-	/**
44
-	* @JsonProperty(Integer, "trade_type")
45
-	*/
46
-	private $tradeType;
47
-
48
-	/**
49
-	* @JsonProperty(Boolean, "use_has_next")
50
-	*/
51
-	private $useHasNext;
52
-
53
-	protected function setUserParams(&$params)
54
-	{
55
-		$this->setUserParam($params, "order_status", $this->orderStatus);
56
-		$this->setUserParam($params, "refund_status", $this->refundStatus);
57
-		$this->setUserParam($params, "start_confirm_at", $this->startConfirmAt);
58
-		$this->setUserParam($params, "end_confirm_at", $this->endConfirmAt);
59
-		$this->setUserParam($params, "page", $this->page);
60
-		$this->setUserParam($params, "page_size", $this->pageSize);
61
-		$this->setUserParam($params, "trade_type", $this->tradeType);
62
-		$this->setUserParam($params, "use_has_next", $this->useHasNext);
63
-
64
-	}
65
-
66
-	public function getVersion()
67
-	{
68
-		return "V1";
69
-	}
70
-
71
-	public function getDataType()
72
-	{
73
-		return "JSON";
74
-	}
75
-
76
-	public function getType()
77
-	{
78
-		return "pdd.order.list.get";
79
-	}
80
-
81
-	public function setOrderStatus($orderStatus)
82
-	{
83
-		$this->orderStatus = $orderStatus;
84
-	}
85
-
86
-	public function setRefundStatus($refundStatus)
87
-	{
88
-		$this->refundStatus = $refundStatus;
89
-	}
90
-
91
-	public function setStartConfirmAt($startConfirmAt)
92
-	{
93
-		$this->startConfirmAt = $startConfirmAt;
94
-	}
95
-
96
-	public function setEndConfirmAt($endConfirmAt)
97
-	{
98
-		$this->endConfirmAt = $endConfirmAt;
99
-	}
100
-
101
-	public function setPage($page)
102
-	{
103
-		$this->page = $page;
104
-	}
105
-
106
-	public function setPageSize($pageSize)
107
-	{
108
-		$this->pageSize = $pageSize;
109
-	}
110
-
111
-	public function setTradeType($tradeType)
112
-	{
113
-		$this->tradeType = $tradeType;
114
-	}
115
-
116
-	public function setUseHasNext($useHasNext)
117
-	{
118
-		$this->useHasNext = $useHasNext;
119
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "order_status")
15
+     */
16
+    private $orderStatus;
17
+
18
+    /**
19
+     * @JsonProperty(Integer, "refund_status")
20
+     */
21
+    private $refundStatus;
22
+
23
+    /**
24
+     * @JsonProperty(Long, "start_confirm_at")
25
+     */
26
+    private $startConfirmAt;
27
+
28
+    /**
29
+     * @JsonProperty(Long, "end_confirm_at")
30
+     */
31
+    private $endConfirmAt;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "page")
35
+     */
36
+    private $page;
37
+
38
+    /**
39
+     * @JsonProperty(Integer, "page_size")
40
+     */
41
+    private $pageSize;
42
+
43
+    /**
44
+     * @JsonProperty(Integer, "trade_type")
45
+     */
46
+    private $tradeType;
47
+
48
+    /**
49
+     * @JsonProperty(Boolean, "use_has_next")
50
+     */
51
+    private $useHasNext;
52
+
53
+    protected function setUserParams(&$params)
54
+    {
55
+        $this->setUserParam($params, "order_status", $this->orderStatus);
56
+        $this->setUserParam($params, "refund_status", $this->refundStatus);
57
+        $this->setUserParam($params, "start_confirm_at", $this->startConfirmAt);
58
+        $this->setUserParam($params, "end_confirm_at", $this->endConfirmAt);
59
+        $this->setUserParam($params, "page", $this->page);
60
+        $this->setUserParam($params, "page_size", $this->pageSize);
61
+        $this->setUserParam($params, "trade_type", $this->tradeType);
62
+        $this->setUserParam($params, "use_has_next", $this->useHasNext);
63
+
64
+    }
65
+
66
+    public function getVersion()
67
+    {
68
+        return "V1";
69
+    }
70
+
71
+    public function getDataType()
72
+    {
73
+        return "JSON";
74
+    }
75
+
76
+    public function getType()
77
+    {
78
+        return "pdd.order.list.get";
79
+    }
80
+
81
+    public function setOrderStatus($orderStatus)
82
+    {
83
+        $this->orderStatus = $orderStatus;
84
+    }
85
+
86
+    public function setRefundStatus($refundStatus)
87
+    {
88
+        $this->refundStatus = $refundStatus;
89
+    }
90
+
91
+    public function setStartConfirmAt($startConfirmAt)
92
+    {
93
+        $this->startConfirmAt = $startConfirmAt;
94
+    }
95
+
96
+    public function setEndConfirmAt($endConfirmAt)
97
+    {
98
+        $this->endConfirmAt = $endConfirmAt;
99
+    }
100
+
101
+    public function setPage($page)
102
+    {
103
+        $this->page = $page;
104
+    }
105
+
106
+    public function setPageSize($pageSize)
107
+    {
108
+        $this->pageSize = $pageSize;
109
+    }
110
+
111
+    public function setTradeType($tradeType)
112
+    {
113
+        $this->tradeType = $tradeType;
114
+    }
115
+
116
+    public function setUseHasNext($useHasNext)
117
+    {
118
+        $this->useHasNext = $useHasNext;
119
+    }
120 120
 
121 121
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddDdkGoodsRecommendGetRequest.php 1 patch
Indentation   +110 added lines, -110 removed lines patch added patch discarded remove patch
@@ -7,115 +7,115 @@
 block discarded – undo
7 7
 class PddDdkGoodsRecommendGetRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Integer, "channel_type")
15
-	*/
16
-	private $channelType;
17
-
18
-	/**
19
-	* @JsonProperty(String, "custom_parameters")
20
-	*/
21
-	private $customParameters;
22
-
23
-	/**
24
-	* @JsonProperty(Integer, "limit")
25
-	*/
26
-	private $limit;
27
-
28
-	/**
29
-	* @JsonProperty(String, "list_id")
30
-	*/
31
-	private $listId;
32
-
33
-	/**
34
-	* @JsonProperty(Integer, "offset")
35
-	*/
36
-	private $offset;
37
-
38
-	/**
39
-	* @JsonProperty(String, "pid")
40
-	*/
41
-	private $pid;
42
-
43
-	/**
44
-	* @JsonProperty(Long, "cat_id")
45
-	*/
46
-	private $catId;
47
-
48
-	/**
49
-	* @JsonProperty(List<Long>, "goods_ids")
50
-	*/
51
-	private $goodsIds;
52
-
53
-	protected function setUserParams(&$params)
54
-	{
55
-		$this->setUserParam($params, "channel_type", $this->channelType);
56
-		$this->setUserParam($params, "custom_parameters", $this->customParameters);
57
-		$this->setUserParam($params, "limit", $this->limit);
58
-		$this->setUserParam($params, "list_id", $this->listId);
59
-		$this->setUserParam($params, "offset", $this->offset);
60
-		$this->setUserParam($params, "pid", $this->pid);
61
-		$this->setUserParam($params, "cat_id", $this->catId);
62
-		$this->setUserParam($params, "goods_ids", $this->goodsIds);
63
-
64
-	}
65
-
66
-	public function getVersion()
67
-	{
68
-		return "V1";
69
-	}
70
-
71
-	public function getDataType()
72
-	{
73
-		return "JSON";
74
-	}
75
-
76
-	public function getType()
77
-	{
78
-		return "pdd.ddk.goods.recommend.get";
79
-	}
80
-
81
-	public function setChannelType($channelType)
82
-	{
83
-		$this->channelType = $channelType;
84
-	}
85
-
86
-	public function setCustomParameters($customParameters)
87
-	{
88
-		$this->customParameters = $customParameters;
89
-	}
90
-
91
-	public function setLimit($limit)
92
-	{
93
-		$this->limit = $limit;
94
-	}
95
-
96
-	public function setListId($listId)
97
-	{
98
-		$this->listId = $listId;
99
-	}
100
-
101
-	public function setOffset($offset)
102
-	{
103
-		$this->offset = $offset;
104
-	}
105
-
106
-	public function setPid($pid)
107
-	{
108
-		$this->pid = $pid;
109
-	}
110
-
111
-	public function setCatId($catId)
112
-	{
113
-		$this->catId = $catId;
114
-	}
115
-
116
-	public function setGoodsIds($goodsIds)
117
-	{
118
-		$this->goodsIds = $goodsIds;
119
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Integer, "channel_type")
15
+     */
16
+    private $channelType;
17
+
18
+    /**
19
+     * @JsonProperty(String, "custom_parameters")
20
+     */
21
+    private $customParameters;
22
+
23
+    /**
24
+     * @JsonProperty(Integer, "limit")
25
+     */
26
+    private $limit;
27
+
28
+    /**
29
+     * @JsonProperty(String, "list_id")
30
+     */
31
+    private $listId;
32
+
33
+    /**
34
+     * @JsonProperty(Integer, "offset")
35
+     */
36
+    private $offset;
37
+
38
+    /**
39
+     * @JsonProperty(String, "pid")
40
+     */
41
+    private $pid;
42
+
43
+    /**
44
+     * @JsonProperty(Long, "cat_id")
45
+     */
46
+    private $catId;
47
+
48
+    /**
49
+     * @JsonProperty(List<Long>, "goods_ids")
50
+     */
51
+    private $goodsIds;
52
+
53
+    protected function setUserParams(&$params)
54
+    {
55
+        $this->setUserParam($params, "channel_type", $this->channelType);
56
+        $this->setUserParam($params, "custom_parameters", $this->customParameters);
57
+        $this->setUserParam($params, "limit", $this->limit);
58
+        $this->setUserParam($params, "list_id", $this->listId);
59
+        $this->setUserParam($params, "offset", $this->offset);
60
+        $this->setUserParam($params, "pid", $this->pid);
61
+        $this->setUserParam($params, "cat_id", $this->catId);
62
+        $this->setUserParam($params, "goods_ids", $this->goodsIds);
63
+
64
+    }
65
+
66
+    public function getVersion()
67
+    {
68
+        return "V1";
69
+    }
70
+
71
+    public function getDataType()
72
+    {
73
+        return "JSON";
74
+    }
75
+
76
+    public function getType()
77
+    {
78
+        return "pdd.ddk.goods.recommend.get";
79
+    }
80
+
81
+    public function setChannelType($channelType)
82
+    {
83
+        $this->channelType = $channelType;
84
+    }
85
+
86
+    public function setCustomParameters($customParameters)
87
+    {
88
+        $this->customParameters = $customParameters;
89
+    }
90
+
91
+    public function setLimit($limit)
92
+    {
93
+        $this->limit = $limit;
94
+    }
95
+
96
+    public function setListId($listId)
97
+    {
98
+        $this->listId = $listId;
99
+    }
100
+
101
+    public function setOffset($offset)
102
+    {
103
+        $this->offset = $offset;
104
+    }
105
+
106
+    public function setPid($pid)
107
+    {
108
+        $this->pid = $pid;
109
+    }
110
+
111
+    public function setCatId($catId)
112
+    {
113
+        $this->catId = $catId;
114
+    }
115
+
116
+    public function setGoodsIds($goodsIds)
117
+    {
118
+        $this->goodsIds = $goodsIds;
119
+    }
120 120
 
121 121
 }
Please login to merge, or discard this patch.
pinduoduo/bin/src/Api/Request/PddRdcPddgeniusSendgoodsCancelRequest.php 1 patch
Indentation   +100 added lines, -100 removed lines patch added patch discarded remove patch
@@ -7,118 +7,118 @@
 block discarded – undo
7 7
 class PddRdcPddgeniusSendgoodsCancelRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
10
+    {
11 11
 
12
-	}
13
-	/**
14
-	* @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddRdcPddgeniusSendgoodsCancelRequest_Param, "param")
15
-	*/
16
-	private $param;
12
+    }
13
+    /**
14
+     * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddRdcPddgeniusSendgoodsCancelRequest_Param, "param")
15
+     */
16
+    private $param;
17 17
 
18
-	protected function setUserParams(&$params)
19
-	{
20
-		$this->setUserParam($params, "param", $this->param);
18
+    protected function setUserParams(&$params)
19
+    {
20
+        $this->setUserParam($params, "param", $this->param);
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.rdc.pddgenius.sendgoods.cancel";
37
-	}
34
+    public function getType()
35
+    {
36
+        return "pdd.rdc.pddgenius.sendgoods.cancel";
37
+    }
38 38
 
39
-	public function setParam($param)
40
-	{
41
-		$this->param = $param;
42
-	}
39
+    public function setParam($param)
40
+    {
41
+        $this->param = $param;
42
+    }
43 43
 
44 44
 }
45 45
 
46 46
 class PddRdcPddgeniusSendgoodsCancelRequest_Param extends PopBaseJsonEntity
47 47
 {
48 48
 
49
-	public function __construct()
50
-	{
51
-
52
-	}
53
-
54
-	/**
55
-	* @JsonProperty(Long, "operate_time")
56
-	*/
57
-	private $operateTime;
58
-
59
-	/**
60
-	* @JsonProperty(String, "tid")
61
-	*/
62
-	private $tid;
63
-
64
-	/**
65
-	* @JsonProperty(String, "status")
66
-	*/
67
-	private $status;
68
-
69
-	/**
70
-	* @JsonProperty(Long, "refund_id")
71
-	*/
72
-	private $refundId;
73
-
74
-	/**
75
-	* @JsonProperty(Integer, "refund_fee")
76
-	*/
77
-	private $refundFee;
78
-
79
-	/**
80
-	* @JsonProperty(String, "msg")
81
-	*/
82
-	private $msg;
83
-
84
-	/**
85
-	* @JsonProperty(Integer, "fail_reason_code")
86
-	*/
87
-	private $failReasonCode;
88
-
89
-	public function setOperateTime($operateTime)
90
-	{
91
-		$this->operateTime = $operateTime;
92
-	}
93
-
94
-	public function setTid($tid)
95
-	{
96
-		$this->tid = $tid;
97
-	}
98
-
99
-	public function setStatus($status)
100
-	{
101
-		$this->status = $status;
102
-	}
103
-
104
-	public function setRefundId($refundId)
105
-	{
106
-		$this->refundId = $refundId;
107
-	}
108
-
109
-	public function setRefundFee($refundFee)
110
-	{
111
-		$this->refundFee = $refundFee;
112
-	}
113
-
114
-	public function setMsg($msg)
115
-	{
116
-		$this->msg = $msg;
117
-	}
118
-
119
-	public function setFailReasonCode($failReasonCode)
120
-	{
121
-		$this->failReasonCode = $failReasonCode;
122
-	}
49
+    public function __construct()
50
+    {
51
+
52
+    }
53
+
54
+    /**
55
+     * @JsonProperty(Long, "operate_time")
56
+     */
57
+    private $operateTime;
58
+
59
+    /**
60
+     * @JsonProperty(String, "tid")
61
+     */
62
+    private $tid;
63
+
64
+    /**
65
+     * @JsonProperty(String, "status")
66
+     */
67
+    private $status;
68
+
69
+    /**
70
+     * @JsonProperty(Long, "refund_id")
71
+     */
72
+    private $refundId;
73
+
74
+    /**
75
+     * @JsonProperty(Integer, "refund_fee")
76
+     */
77
+    private $refundFee;
78
+
79
+    /**
80
+     * @JsonProperty(String, "msg")
81
+     */
82
+    private $msg;
83
+
84
+    /**
85
+     * @JsonProperty(Integer, "fail_reason_code")
86
+     */
87
+    private $failReasonCode;
88
+
89
+    public function setOperateTime($operateTime)
90
+    {
91
+        $this->operateTime = $operateTime;
92
+    }
93
+
94
+    public function setTid($tid)
95
+    {
96
+        $this->tid = $tid;
97
+    }
98
+
99
+    public function setStatus($status)
100
+    {
101
+        $this->status = $status;
102
+    }
103
+
104
+    public function setRefundId($refundId)
105
+    {
106
+        $this->refundId = $refundId;
107
+    }
108
+
109
+    public function setRefundFee($refundFee)
110
+    {
111
+        $this->refundFee = $refundFee;
112
+    }
113
+
114
+    public function setMsg($msg)
115
+    {
116
+        $this->msg = $msg;
117
+    }
118
+
119
+    public function setFailReasonCode($failReasonCode)
120
+    {
121
+        $this->failReasonCode = $failReasonCode;
122
+    }
123 123
 
124 124
 }
Please login to merge, or discard this patch.
service/pinduoduo/bin/src/Api/Request/PddGoodsCpsMallUnitCreateRequest.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 PddGoodsCpsMallUnitCreateRequest extends PopBaseHttpRequest
8 8
 {
9 9
     public function __construct()
10
-	{
11
-
12
-	}
13
-	/**
14
-	* @JsonProperty(Long, "rate")
15
-	*/
16
-	private $rate;
17
-
18
-	/**
19
-	* @JsonProperty(String, "erp_code")
20
-	*/
21
-	private $erpCode;
22
-
23
-	protected function setUserParams(&$params)
24
-	{
25
-		$this->setUserParam($params, "rate", $this->rate);
26
-		$this->setUserParam($params, "erp_code", $this->erpCode);
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.cps.mall.unit.create";
43
-	}
44
-
45
-	public function setRate($rate)
46
-	{
47
-		$this->rate = $rate;
48
-	}
49
-
50
-	public function setErpCode($erpCode)
51
-	{
52
-		$this->erpCode = $erpCode;
53
-	}
10
+    {
11
+
12
+    }
13
+    /**
14
+     * @JsonProperty(Long, "rate")
15
+     */
16
+    private $rate;
17
+
18
+    /**
19
+     * @JsonProperty(String, "erp_code")
20
+     */
21
+    private $erpCode;
22
+
23
+    protected function setUserParams(&$params)
24
+    {
25
+        $this->setUserParam($params, "rate", $this->rate);
26
+        $this->setUserParam($params, "erp_code", $this->erpCode);
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.cps.mall.unit.create";
43
+    }
44
+
45
+    public function setRate($rate)
46
+    {
47
+        $this->rate = $rate;
48
+    }
49
+
50
+    public function setErpCode($erpCode)
51
+    {
52
+        $this->erpCode = $erpCode;
53
+    }
54 54
 
55 55
 }
Please login to merge, or discard this patch.