@@ -7,318 +7,318 @@ |
||
7 | 7 | class PddDdkOauthRpPromUrlGenerateRequest 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(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParam, "diy_lottery_param") |
|
25 | - */ |
|
26 | - private $diyLotteryParam; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParam, "diy_red_packet_param") |
|
30 | - */ |
|
31 | - private $diyRedPacketParam; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Boolean, "generate_qq_app") |
|
35 | - */ |
|
36 | - private $generateQqApp; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Boolean, "generate_schema_url") |
|
40 | - */ |
|
41 | - private $generateSchemaUrl; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Boolean, "generate_short_url") |
|
45 | - */ |
|
46 | - private $generateShortUrl; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Boolean, "generate_we_app") |
|
50 | - */ |
|
51 | - private $generateWeApp; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(List<String>, "p_id_list") |
|
55 | - */ |
|
56 | - private $pIdList; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(Long, "amount") |
|
60 | - */ |
|
61 | - private $amount; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(Long, "scratch_card_amount") |
|
65 | - */ |
|
66 | - private $scratchCardAmount; |
|
67 | - |
|
68 | - protected function setUserParams(&$params) |
|
69 | - { |
|
70 | - $this->setUserParam($params, "channel_type", $this->channelType); |
|
71 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
72 | - $this->setUserParam($params, "diy_lottery_param", $this->diyLotteryParam); |
|
73 | - $this->setUserParam($params, "diy_red_packet_param", $this->diyRedPacketParam); |
|
74 | - $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
75 | - $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
76 | - $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
77 | - $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
78 | - $this->setUserParam($params, "p_id_list", $this->pIdList); |
|
79 | - $this->setUserParam($params, "amount", $this->amount); |
|
80 | - $this->setUserParam($params, "scratch_card_amount", $this->scratchCardAmount); |
|
81 | - |
|
82 | - } |
|
83 | - |
|
84 | - public function getVersion() |
|
85 | - { |
|
86 | - return "V1"; |
|
87 | - } |
|
88 | - |
|
89 | - public function getDataType() |
|
90 | - { |
|
91 | - return "JSON"; |
|
92 | - } |
|
93 | - |
|
94 | - public function getType() |
|
95 | - { |
|
96 | - return "pdd.ddk.oauth.rp.prom.url.generate"; |
|
97 | - } |
|
98 | - |
|
99 | - public function setChannelType($channelType) |
|
100 | - { |
|
101 | - $this->channelType = $channelType; |
|
102 | - } |
|
103 | - |
|
104 | - public function setCustomParameters($customParameters) |
|
105 | - { |
|
106 | - $this->customParameters = $customParameters; |
|
107 | - } |
|
108 | - |
|
109 | - public function setDiyLotteryParam($diyLotteryParam) |
|
110 | - { |
|
111 | - $this->diyLotteryParam = $diyLotteryParam; |
|
112 | - } |
|
113 | - |
|
114 | - public function setDiyRedPacketParam($diyRedPacketParam) |
|
115 | - { |
|
116 | - $this->diyRedPacketParam = $diyRedPacketParam; |
|
117 | - } |
|
118 | - |
|
119 | - public function setGenerateQqApp($generateQqApp) |
|
120 | - { |
|
121 | - $this->generateQqApp = $generateQqApp; |
|
122 | - } |
|
123 | - |
|
124 | - public function setGenerateSchemaUrl($generateSchemaUrl) |
|
125 | - { |
|
126 | - $this->generateSchemaUrl = $generateSchemaUrl; |
|
127 | - } |
|
128 | - |
|
129 | - public function setGenerateShortUrl($generateShortUrl) |
|
130 | - { |
|
131 | - $this->generateShortUrl = $generateShortUrl; |
|
132 | - } |
|
133 | - |
|
134 | - public function setGenerateWeApp($generateWeApp) |
|
135 | - { |
|
136 | - $this->generateWeApp = $generateWeApp; |
|
137 | - } |
|
138 | - |
|
139 | - public function setPIdList($pIdList) |
|
140 | - { |
|
141 | - $this->pIdList = $pIdList; |
|
142 | - } |
|
143 | - |
|
144 | - public function setAmount($amount) |
|
145 | - { |
|
146 | - $this->amount = $amount; |
|
147 | - } |
|
148 | - |
|
149 | - public function setScratchCardAmount($scratchCardAmount) |
|
150 | - { |
|
151 | - $this->scratchCardAmount = $scratchCardAmount; |
|
152 | - } |
|
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(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParam, "diy_lottery_param") |
|
25 | + */ |
|
26 | + private $diyLotteryParam; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParam, "diy_red_packet_param") |
|
30 | + */ |
|
31 | + private $diyRedPacketParam; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Boolean, "generate_qq_app") |
|
35 | + */ |
|
36 | + private $generateQqApp; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Boolean, "generate_schema_url") |
|
40 | + */ |
|
41 | + private $generateSchemaUrl; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Boolean, "generate_short_url") |
|
45 | + */ |
|
46 | + private $generateShortUrl; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Boolean, "generate_we_app") |
|
50 | + */ |
|
51 | + private $generateWeApp; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(List<String>, "p_id_list") |
|
55 | + */ |
|
56 | + private $pIdList; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(Long, "amount") |
|
60 | + */ |
|
61 | + private $amount; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(Long, "scratch_card_amount") |
|
65 | + */ |
|
66 | + private $scratchCardAmount; |
|
67 | + |
|
68 | + protected function setUserParams(&$params) |
|
69 | + { |
|
70 | + $this->setUserParam($params, "channel_type", $this->channelType); |
|
71 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
72 | + $this->setUserParam($params, "diy_lottery_param", $this->diyLotteryParam); |
|
73 | + $this->setUserParam($params, "diy_red_packet_param", $this->diyRedPacketParam); |
|
74 | + $this->setUserParam($params, "generate_qq_app", $this->generateQqApp); |
|
75 | + $this->setUserParam($params, "generate_schema_url", $this->generateSchemaUrl); |
|
76 | + $this->setUserParam($params, "generate_short_url", $this->generateShortUrl); |
|
77 | + $this->setUserParam($params, "generate_we_app", $this->generateWeApp); |
|
78 | + $this->setUserParam($params, "p_id_list", $this->pIdList); |
|
79 | + $this->setUserParam($params, "amount", $this->amount); |
|
80 | + $this->setUserParam($params, "scratch_card_amount", $this->scratchCardAmount); |
|
81 | + |
|
82 | + } |
|
83 | + |
|
84 | + public function getVersion() |
|
85 | + { |
|
86 | + return "V1"; |
|
87 | + } |
|
88 | + |
|
89 | + public function getDataType() |
|
90 | + { |
|
91 | + return "JSON"; |
|
92 | + } |
|
93 | + |
|
94 | + public function getType() |
|
95 | + { |
|
96 | + return "pdd.ddk.oauth.rp.prom.url.generate"; |
|
97 | + } |
|
98 | + |
|
99 | + public function setChannelType($channelType) |
|
100 | + { |
|
101 | + $this->channelType = $channelType; |
|
102 | + } |
|
103 | + |
|
104 | + public function setCustomParameters($customParameters) |
|
105 | + { |
|
106 | + $this->customParameters = $customParameters; |
|
107 | + } |
|
108 | + |
|
109 | + public function setDiyLotteryParam($diyLotteryParam) |
|
110 | + { |
|
111 | + $this->diyLotteryParam = $diyLotteryParam; |
|
112 | + } |
|
113 | + |
|
114 | + public function setDiyRedPacketParam($diyRedPacketParam) |
|
115 | + { |
|
116 | + $this->diyRedPacketParam = $diyRedPacketParam; |
|
117 | + } |
|
118 | + |
|
119 | + public function setGenerateQqApp($generateQqApp) |
|
120 | + { |
|
121 | + $this->generateQqApp = $generateQqApp; |
|
122 | + } |
|
123 | + |
|
124 | + public function setGenerateSchemaUrl($generateSchemaUrl) |
|
125 | + { |
|
126 | + $this->generateSchemaUrl = $generateSchemaUrl; |
|
127 | + } |
|
128 | + |
|
129 | + public function setGenerateShortUrl($generateShortUrl) |
|
130 | + { |
|
131 | + $this->generateShortUrl = $generateShortUrl; |
|
132 | + } |
|
133 | + |
|
134 | + public function setGenerateWeApp($generateWeApp) |
|
135 | + { |
|
136 | + $this->generateWeApp = $generateWeApp; |
|
137 | + } |
|
138 | + |
|
139 | + public function setPIdList($pIdList) |
|
140 | + { |
|
141 | + $this->pIdList = $pIdList; |
|
142 | + } |
|
143 | + |
|
144 | + public function setAmount($amount) |
|
145 | + { |
|
146 | + $this->amount = $amount; |
|
147 | + } |
|
148 | + |
|
149 | + public function setScratchCardAmount($scratchCardAmount) |
|
150 | + { |
|
151 | + $this->scratchCardAmount = $scratchCardAmount; |
|
152 | + } |
|
153 | 153 | |
154 | 154 | } |
155 | 155 | |
156 | 156 | class PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParam extends PopBaseJsonEntity |
157 | 157 | { |
158 | 158 | |
159 | - public function __construct() |
|
160 | - { |
|
159 | + public function __construct() |
|
160 | + { |
|
161 | 161 | |
162 | - } |
|
162 | + } |
|
163 | 163 | |
164 | - /** |
|
165 | - * @JsonProperty(Integer, "opt_id") |
|
166 | - */ |
|
167 | - private $optId; |
|
164 | + /** |
|
165 | + * @JsonProperty(Integer, "opt_id") |
|
166 | + */ |
|
167 | + private $optId; |
|
168 | 168 | |
169 | - /** |
|
170 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem>, "range_items") |
|
171 | - */ |
|
172 | - private $rangeItems; |
|
169 | + /** |
|
170 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem>, "range_items") |
|
171 | + */ |
|
172 | + private $rangeItems; |
|
173 | 173 | |
174 | - public function setOptId($optId) |
|
175 | - { |
|
176 | - $this->optId = $optId; |
|
177 | - } |
|
174 | + public function setOptId($optId) |
|
175 | + { |
|
176 | + $this->optId = $optId; |
|
177 | + } |
|
178 | 178 | |
179 | - public function setRangeItems($rangeItems) |
|
180 | - { |
|
181 | - $this->rangeItems = $rangeItems; |
|
182 | - } |
|
179 | + public function setRangeItems($rangeItems) |
|
180 | + { |
|
181 | + $this->rangeItems = $rangeItems; |
|
182 | + } |
|
183 | 183 | |
184 | 184 | } |
185 | 185 | |
186 | 186 | class PddDdkOauthRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem 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(Long, "range_from") |
|
196 | - */ |
|
197 | - private $rangeFrom; |
|
194 | + /** |
|
195 | + * @JsonProperty(Long, "range_from") |
|
196 | + */ |
|
197 | + private $rangeFrom; |
|
198 | 198 | |
199 | - /** |
|
200 | - * @JsonProperty(Integer, "range_id") |
|
201 | - */ |
|
202 | - private $rangeId; |
|
199 | + /** |
|
200 | + * @JsonProperty(Integer, "range_id") |
|
201 | + */ |
|
202 | + private $rangeId; |
|
203 | 203 | |
204 | - /** |
|
205 | - * @JsonProperty(Long, "range_to") |
|
206 | - */ |
|
207 | - private $rangeTo; |
|
204 | + /** |
|
205 | + * @JsonProperty(Long, "range_to") |
|
206 | + */ |
|
207 | + private $rangeTo; |
|
208 | 208 | |
209 | - public function setRangeFrom($rangeFrom) |
|
210 | - { |
|
211 | - $this->rangeFrom = $rangeFrom; |
|
212 | - } |
|
209 | + public function setRangeFrom($rangeFrom) |
|
210 | + { |
|
211 | + $this->rangeFrom = $rangeFrom; |
|
212 | + } |
|
213 | 213 | |
214 | - public function setRangeId($rangeId) |
|
215 | - { |
|
216 | - $this->rangeId = $rangeId; |
|
217 | - } |
|
214 | + public function setRangeId($rangeId) |
|
215 | + { |
|
216 | + $this->rangeId = $rangeId; |
|
217 | + } |
|
218 | 218 | |
219 | - public function setRangeTo($rangeTo) |
|
220 | - { |
|
221 | - $this->rangeTo = $rangeTo; |
|
222 | - } |
|
219 | + public function setRangeTo($rangeTo) |
|
220 | + { |
|
221 | + $this->rangeTo = $rangeTo; |
|
222 | + } |
|
223 | 223 | |
224 | 224 | } |
225 | 225 | |
226 | 226 | class PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParam extends PopBaseJsonEntity |
227 | 227 | { |
228 | 228 | |
229 | - public function __construct() |
|
230 | - { |
|
231 | - |
|
232 | - } |
|
233 | - |
|
234 | - /** |
|
235 | - * @JsonProperty(List<Long>, "amount_probability") |
|
236 | - */ |
|
237 | - private $amountProbability; |
|
238 | - |
|
239 | - /** |
|
240 | - * @JsonProperty(Boolean, "dis_text") |
|
241 | - */ |
|
242 | - private $disText; |
|
243 | - |
|
244 | - /** |
|
245 | - * @JsonProperty(Boolean, "not_show_background") |
|
246 | - */ |
|
247 | - private $notShowBackground; |
|
248 | - |
|
249 | - /** |
|
250 | - * @JsonProperty(Integer, "opt_id") |
|
251 | - */ |
|
252 | - private $optId; |
|
253 | - |
|
254 | - /** |
|
255 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem>, "range_items") |
|
256 | - */ |
|
257 | - private $rangeItems; |
|
258 | - |
|
259 | - public function setAmountProbability($amountProbability) |
|
260 | - { |
|
261 | - $this->amountProbability = $amountProbability; |
|
262 | - } |
|
263 | - |
|
264 | - public function setDisText($disText) |
|
265 | - { |
|
266 | - $this->disText = $disText; |
|
267 | - } |
|
268 | - |
|
269 | - public function setNotShowBackground($notShowBackground) |
|
270 | - { |
|
271 | - $this->notShowBackground = $notShowBackground; |
|
272 | - } |
|
273 | - |
|
274 | - public function setOptId($optId) |
|
275 | - { |
|
276 | - $this->optId = $optId; |
|
277 | - } |
|
278 | - |
|
279 | - public function setRangeItems($rangeItems) |
|
280 | - { |
|
281 | - $this->rangeItems = $rangeItems; |
|
282 | - } |
|
229 | + public function __construct() |
|
230 | + { |
|
231 | + |
|
232 | + } |
|
233 | + |
|
234 | + /** |
|
235 | + * @JsonProperty(List<Long>, "amount_probability") |
|
236 | + */ |
|
237 | + private $amountProbability; |
|
238 | + |
|
239 | + /** |
|
240 | + * @JsonProperty(Boolean, "dis_text") |
|
241 | + */ |
|
242 | + private $disText; |
|
243 | + |
|
244 | + /** |
|
245 | + * @JsonProperty(Boolean, "not_show_background") |
|
246 | + */ |
|
247 | + private $notShowBackground; |
|
248 | + |
|
249 | + /** |
|
250 | + * @JsonProperty(Integer, "opt_id") |
|
251 | + */ |
|
252 | + private $optId; |
|
253 | + |
|
254 | + /** |
|
255 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem>, "range_items") |
|
256 | + */ |
|
257 | + private $rangeItems; |
|
258 | + |
|
259 | + public function setAmountProbability($amountProbability) |
|
260 | + { |
|
261 | + $this->amountProbability = $amountProbability; |
|
262 | + } |
|
263 | + |
|
264 | + public function setDisText($disText) |
|
265 | + { |
|
266 | + $this->disText = $disText; |
|
267 | + } |
|
268 | + |
|
269 | + public function setNotShowBackground($notShowBackground) |
|
270 | + { |
|
271 | + $this->notShowBackground = $notShowBackground; |
|
272 | + } |
|
273 | + |
|
274 | + public function setOptId($optId) |
|
275 | + { |
|
276 | + $this->optId = $optId; |
|
277 | + } |
|
278 | + |
|
279 | + public function setRangeItems($rangeItems) |
|
280 | + { |
|
281 | + $this->rangeItems = $rangeItems; |
|
282 | + } |
|
283 | 283 | |
284 | 284 | } |
285 | 285 | |
286 | 286 | class PddDdkOauthRpPromUrlGenerateRequest_DiyRedPacketParamRangeItemsItem extends PopBaseJsonEntity |
287 | 287 | { |
288 | 288 | |
289 | - public function __construct() |
|
290 | - { |
|
291 | - |
|
292 | - } |
|
293 | - |
|
294 | - /** |
|
295 | - * @JsonProperty(Long, "range_from") |
|
296 | - */ |
|
297 | - private $rangeFrom; |
|
298 | - |
|
299 | - /** |
|
300 | - * @JsonProperty(Integer, "range_id") |
|
301 | - */ |
|
302 | - private $rangeId; |
|
303 | - |
|
304 | - /** |
|
305 | - * @JsonProperty(Long, "range_to") |
|
306 | - */ |
|
307 | - private $rangeTo; |
|
308 | - |
|
309 | - public function setRangeFrom($rangeFrom) |
|
310 | - { |
|
311 | - $this->rangeFrom = $rangeFrom; |
|
312 | - } |
|
313 | - |
|
314 | - public function setRangeId($rangeId) |
|
315 | - { |
|
316 | - $this->rangeId = $rangeId; |
|
317 | - } |
|
318 | - |
|
319 | - public function setRangeTo($rangeTo) |
|
320 | - { |
|
321 | - $this->rangeTo = $rangeTo; |
|
322 | - } |
|
289 | + public function __construct() |
|
290 | + { |
|
291 | + |
|
292 | + } |
|
293 | + |
|
294 | + /** |
|
295 | + * @JsonProperty(Long, "range_from") |
|
296 | + */ |
|
297 | + private $rangeFrom; |
|
298 | + |
|
299 | + /** |
|
300 | + * @JsonProperty(Integer, "range_id") |
|
301 | + */ |
|
302 | + private $rangeId; |
|
303 | + |
|
304 | + /** |
|
305 | + * @JsonProperty(Long, "range_to") |
|
306 | + */ |
|
307 | + private $rangeTo; |
|
308 | + |
|
309 | + public function setRangeFrom($rangeFrom) |
|
310 | + { |
|
311 | + $this->rangeFrom = $rangeFrom; |
|
312 | + } |
|
313 | + |
|
314 | + public function setRangeId($rangeId) |
|
315 | + { |
|
316 | + $this->rangeId = $rangeId; |
|
317 | + } |
|
318 | + |
|
319 | + public function setRangeTo($rangeTo) |
|
320 | + { |
|
321 | + $this->rangeTo = $rangeTo; |
|
322 | + } |
|
323 | 323 | |
324 | 324 | } |
@@ -7,243 +7,243 @@ |
||
7 | 7 | class PddKttGroupCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "end_time") |
|
15 | - */ |
|
16 | - private $endTime; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddKttGroupCreateRequest_GoodsListItem>, "goods_list") |
|
20 | - */ |
|
21 | - private $goodsList; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "isv_no") |
|
25 | - */ |
|
26 | - private $isvNo; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "is_save_preview") |
|
30 | - */ |
|
31 | - private $isSavePreview; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Long, "start_time") |
|
35 | - */ |
|
36 | - private $startTime; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "title") |
|
40 | - */ |
|
41 | - private $title; |
|
42 | - |
|
43 | - protected function setUserParams(&$params) |
|
44 | - { |
|
45 | - $this->setUserParam($params, "end_time", $this->endTime); |
|
46 | - $this->setUserParam($params, "goods_list", $this->goodsList); |
|
47 | - $this->setUserParam($params, "isv_no", $this->isvNo); |
|
48 | - $this->setUserParam($params, "is_save_preview", $this->isSavePreview); |
|
49 | - $this->setUserParam($params, "start_time", $this->startTime); |
|
50 | - $this->setUserParam($params, "title", $this->title); |
|
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.ktt.group.create"; |
|
67 | - } |
|
68 | - |
|
69 | - public function setEndTime($endTime) |
|
70 | - { |
|
71 | - $this->endTime = $endTime; |
|
72 | - } |
|
73 | - |
|
74 | - public function setGoodsList($goodsList) |
|
75 | - { |
|
76 | - $this->goodsList = $goodsList; |
|
77 | - } |
|
78 | - |
|
79 | - public function setIsvNo($isvNo) |
|
80 | - { |
|
81 | - $this->isvNo = $isvNo; |
|
82 | - } |
|
83 | - |
|
84 | - public function setIsSavePreview($isSavePreview) |
|
85 | - { |
|
86 | - $this->isSavePreview = $isSavePreview; |
|
87 | - } |
|
88 | - |
|
89 | - public function setStartTime($startTime) |
|
90 | - { |
|
91 | - $this->startTime = $startTime; |
|
92 | - } |
|
93 | - |
|
94 | - public function setTitle($title) |
|
95 | - { |
|
96 | - $this->title = $title; |
|
97 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "end_time") |
|
15 | + */ |
|
16 | + private $endTime; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddKttGroupCreateRequest_GoodsListItem>, "goods_list") |
|
20 | + */ |
|
21 | + private $goodsList; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "isv_no") |
|
25 | + */ |
|
26 | + private $isvNo; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "is_save_preview") |
|
30 | + */ |
|
31 | + private $isSavePreview; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Long, "start_time") |
|
35 | + */ |
|
36 | + private $startTime; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "title") |
|
40 | + */ |
|
41 | + private $title; |
|
42 | + |
|
43 | + protected function setUserParams(&$params) |
|
44 | + { |
|
45 | + $this->setUserParam($params, "end_time", $this->endTime); |
|
46 | + $this->setUserParam($params, "goods_list", $this->goodsList); |
|
47 | + $this->setUserParam($params, "isv_no", $this->isvNo); |
|
48 | + $this->setUserParam($params, "is_save_preview", $this->isSavePreview); |
|
49 | + $this->setUserParam($params, "start_time", $this->startTime); |
|
50 | + $this->setUserParam($params, "title", $this->title); |
|
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.ktt.group.create"; |
|
67 | + } |
|
68 | + |
|
69 | + public function setEndTime($endTime) |
|
70 | + { |
|
71 | + $this->endTime = $endTime; |
|
72 | + } |
|
73 | + |
|
74 | + public function setGoodsList($goodsList) |
|
75 | + { |
|
76 | + $this->goodsList = $goodsList; |
|
77 | + } |
|
78 | + |
|
79 | + public function setIsvNo($isvNo) |
|
80 | + { |
|
81 | + $this->isvNo = $isvNo; |
|
82 | + } |
|
83 | + |
|
84 | + public function setIsSavePreview($isSavePreview) |
|
85 | + { |
|
86 | + $this->isSavePreview = $isSavePreview; |
|
87 | + } |
|
88 | + |
|
89 | + public function setStartTime($startTime) |
|
90 | + { |
|
91 | + $this->startTime = $startTime; |
|
92 | + } |
|
93 | + |
|
94 | + public function setTitle($title) |
|
95 | + { |
|
96 | + $this->title = $title; |
|
97 | + } |
|
98 | 98 | |
99 | 99 | } |
100 | 100 | |
101 | 101 | class PddKttGroupCreateRequest_GoodsListItem extends PopBaseJsonEntity |
102 | 102 | { |
103 | 103 | |
104 | - public function __construct() |
|
105 | - { |
|
106 | - |
|
107 | - } |
|
108 | - |
|
109 | - /** |
|
110 | - * @JsonProperty(String, "category_name") |
|
111 | - */ |
|
112 | - private $categoryName; |
|
113 | - |
|
114 | - /** |
|
115 | - * @JsonProperty(String, "goods_desc") |
|
116 | - */ |
|
117 | - private $goodsDesc; |
|
118 | - |
|
119 | - /** |
|
120 | - * @JsonProperty(String, "goods_name") |
|
121 | - */ |
|
122 | - private $goodsName; |
|
123 | - |
|
124 | - /** |
|
125 | - * @JsonProperty(Integer, "limit_buy") |
|
126 | - */ |
|
127 | - private $limitBuy; |
|
128 | - |
|
129 | - /** |
|
130 | - * @JsonProperty(Long, "market_price") |
|
131 | - */ |
|
132 | - private $marketPrice; |
|
133 | - |
|
134 | - /** |
|
135 | - * @JsonProperty(List<String>, "pic_url_list") |
|
136 | - */ |
|
137 | - private $picUrlList; |
|
138 | - |
|
139 | - /** |
|
140 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddKttGroupCreateRequest_GoodsListItemSkuListItem>, "sku_list") |
|
141 | - */ |
|
142 | - private $skuList; |
|
143 | - |
|
144 | - public function setCategoryName($categoryName) |
|
145 | - { |
|
146 | - $this->categoryName = $categoryName; |
|
147 | - } |
|
148 | - |
|
149 | - public function setGoodsDesc($goodsDesc) |
|
150 | - { |
|
151 | - $this->goodsDesc = $goodsDesc; |
|
152 | - } |
|
153 | - |
|
154 | - public function setGoodsName($goodsName) |
|
155 | - { |
|
156 | - $this->goodsName = $goodsName; |
|
157 | - } |
|
158 | - |
|
159 | - public function setLimitBuy($limitBuy) |
|
160 | - { |
|
161 | - $this->limitBuy = $limitBuy; |
|
162 | - } |
|
163 | - |
|
164 | - public function setMarketPrice($marketPrice) |
|
165 | - { |
|
166 | - $this->marketPrice = $marketPrice; |
|
167 | - } |
|
168 | - |
|
169 | - public function setPicUrlList($picUrlList) |
|
170 | - { |
|
171 | - $this->picUrlList = $picUrlList; |
|
172 | - } |
|
173 | - |
|
174 | - public function setSkuList($skuList) |
|
175 | - { |
|
176 | - $this->skuList = $skuList; |
|
177 | - } |
|
104 | + public function __construct() |
|
105 | + { |
|
106 | + |
|
107 | + } |
|
108 | + |
|
109 | + /** |
|
110 | + * @JsonProperty(String, "category_name") |
|
111 | + */ |
|
112 | + private $categoryName; |
|
113 | + |
|
114 | + /** |
|
115 | + * @JsonProperty(String, "goods_desc") |
|
116 | + */ |
|
117 | + private $goodsDesc; |
|
118 | + |
|
119 | + /** |
|
120 | + * @JsonProperty(String, "goods_name") |
|
121 | + */ |
|
122 | + private $goodsName; |
|
123 | + |
|
124 | + /** |
|
125 | + * @JsonProperty(Integer, "limit_buy") |
|
126 | + */ |
|
127 | + private $limitBuy; |
|
128 | + |
|
129 | + /** |
|
130 | + * @JsonProperty(Long, "market_price") |
|
131 | + */ |
|
132 | + private $marketPrice; |
|
133 | + |
|
134 | + /** |
|
135 | + * @JsonProperty(List<String>, "pic_url_list") |
|
136 | + */ |
|
137 | + private $picUrlList; |
|
138 | + |
|
139 | + /** |
|
140 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddKttGroupCreateRequest_GoodsListItemSkuListItem>, "sku_list") |
|
141 | + */ |
|
142 | + private $skuList; |
|
143 | + |
|
144 | + public function setCategoryName($categoryName) |
|
145 | + { |
|
146 | + $this->categoryName = $categoryName; |
|
147 | + } |
|
148 | + |
|
149 | + public function setGoodsDesc($goodsDesc) |
|
150 | + { |
|
151 | + $this->goodsDesc = $goodsDesc; |
|
152 | + } |
|
153 | + |
|
154 | + public function setGoodsName($goodsName) |
|
155 | + { |
|
156 | + $this->goodsName = $goodsName; |
|
157 | + } |
|
158 | + |
|
159 | + public function setLimitBuy($limitBuy) |
|
160 | + { |
|
161 | + $this->limitBuy = $limitBuy; |
|
162 | + } |
|
163 | + |
|
164 | + public function setMarketPrice($marketPrice) |
|
165 | + { |
|
166 | + $this->marketPrice = $marketPrice; |
|
167 | + } |
|
168 | + |
|
169 | + public function setPicUrlList($picUrlList) |
|
170 | + { |
|
171 | + $this->picUrlList = $picUrlList; |
|
172 | + } |
|
173 | + |
|
174 | + public function setSkuList($skuList) |
|
175 | + { |
|
176 | + $this->skuList = $skuList; |
|
177 | + } |
|
178 | 178 | |
179 | 179 | } |
180 | 180 | |
181 | 181 | class PddKttGroupCreateRequest_GoodsListItemSkuListItem extends PopBaseJsonEntity |
182 | 182 | { |
183 | 183 | |
184 | - public function __construct() |
|
185 | - { |
|
186 | - |
|
187 | - } |
|
188 | - |
|
189 | - /** |
|
190 | - * @JsonProperty(String, "external_sku_id") |
|
191 | - */ |
|
192 | - private $externalSkuId; |
|
193 | - |
|
194 | - /** |
|
195 | - * @JsonProperty(Long, "price_in_fen") |
|
196 | - */ |
|
197 | - private $priceInFen; |
|
198 | - |
|
199 | - /** |
|
200 | - * @JsonProperty(Integer, "quantity_type") |
|
201 | - */ |
|
202 | - private $quantityType; |
|
203 | - |
|
204 | - /** |
|
205 | - * @JsonProperty(List<Long>, "spec_id_list") |
|
206 | - */ |
|
207 | - private $specIdList; |
|
208 | - |
|
209 | - /** |
|
210 | - * @JsonProperty(String, "thumb_url") |
|
211 | - */ |
|
212 | - private $thumbUrl; |
|
213 | - |
|
214 | - /** |
|
215 | - * @JsonProperty(Long, "total_quantity") |
|
216 | - */ |
|
217 | - private $totalQuantity; |
|
218 | - |
|
219 | - public function setExternalSkuId($externalSkuId) |
|
220 | - { |
|
221 | - $this->externalSkuId = $externalSkuId; |
|
222 | - } |
|
223 | - |
|
224 | - public function setPriceInFen($priceInFen) |
|
225 | - { |
|
226 | - $this->priceInFen = $priceInFen; |
|
227 | - } |
|
228 | - |
|
229 | - public function setQuantityType($quantityType) |
|
230 | - { |
|
231 | - $this->quantityType = $quantityType; |
|
232 | - } |
|
233 | - |
|
234 | - public function setSpecIdList($specIdList) |
|
235 | - { |
|
236 | - $this->specIdList = $specIdList; |
|
237 | - } |
|
238 | - |
|
239 | - public function setThumbUrl($thumbUrl) |
|
240 | - { |
|
241 | - $this->thumbUrl = $thumbUrl; |
|
242 | - } |
|
243 | - |
|
244 | - public function setTotalQuantity($totalQuantity) |
|
245 | - { |
|
246 | - $this->totalQuantity = $totalQuantity; |
|
247 | - } |
|
184 | + public function __construct() |
|
185 | + { |
|
186 | + |
|
187 | + } |
|
188 | + |
|
189 | + /** |
|
190 | + * @JsonProperty(String, "external_sku_id") |
|
191 | + */ |
|
192 | + private $externalSkuId; |
|
193 | + |
|
194 | + /** |
|
195 | + * @JsonProperty(Long, "price_in_fen") |
|
196 | + */ |
|
197 | + private $priceInFen; |
|
198 | + |
|
199 | + /** |
|
200 | + * @JsonProperty(Integer, "quantity_type") |
|
201 | + */ |
|
202 | + private $quantityType; |
|
203 | + |
|
204 | + /** |
|
205 | + * @JsonProperty(List<Long>, "spec_id_list") |
|
206 | + */ |
|
207 | + private $specIdList; |
|
208 | + |
|
209 | + /** |
|
210 | + * @JsonProperty(String, "thumb_url") |
|
211 | + */ |
|
212 | + private $thumbUrl; |
|
213 | + |
|
214 | + /** |
|
215 | + * @JsonProperty(Long, "total_quantity") |
|
216 | + */ |
|
217 | + private $totalQuantity; |
|
218 | + |
|
219 | + public function setExternalSkuId($externalSkuId) |
|
220 | + { |
|
221 | + $this->externalSkuId = $externalSkuId; |
|
222 | + } |
|
223 | + |
|
224 | + public function setPriceInFen($priceInFen) |
|
225 | + { |
|
226 | + $this->priceInFen = $priceInFen; |
|
227 | + } |
|
228 | + |
|
229 | + public function setQuantityType($quantityType) |
|
230 | + { |
|
231 | + $this->quantityType = $quantityType; |
|
232 | + } |
|
233 | + |
|
234 | + public function setSpecIdList($specIdList) |
|
235 | + { |
|
236 | + $this->specIdList = $specIdList; |
|
237 | + } |
|
238 | + |
|
239 | + public function setThumbUrl($thumbUrl) |
|
240 | + { |
|
241 | + $this->thumbUrl = $thumbUrl; |
|
242 | + } |
|
243 | + |
|
244 | + public function setTotalQuantity($totalQuantity) |
|
245 | + { |
|
246 | + $this->totalQuantity = $totalQuantity; |
|
247 | + } |
|
248 | 248 | |
249 | 249 | } |
@@ -7,438 +7,438 @@ |
||
7 | 7 | class PddFdsWaybillGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest, "param_fds_waybill_get_request") |
|
15 | - */ |
|
16 | - private $paramFdsWaybillGetRequest; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest, "param_fds_waybill_get_request") |
|
15 | + */ |
|
16 | + private $paramFdsWaybillGetRequest; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "param_fds_waybill_get_request", $this->paramFdsWaybillGetRequest); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "param_fds_waybill_get_request", $this->paramFdsWaybillGetRequest); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.fds.waybill.get"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.fds.waybill.get"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setParamFdsWaybillGetRequest($paramFdsWaybillGetRequest) |
|
40 | - { |
|
41 | - $this->paramFdsWaybillGetRequest = $paramFdsWaybillGetRequest; |
|
42 | - } |
|
39 | + public function setParamFdsWaybillGetRequest($paramFdsWaybillGetRequest) |
|
40 | + { |
|
41 | + $this->paramFdsWaybillGetRequest = $paramFdsWaybillGetRequest; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequest extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | 51 | |
52 | - } |
|
52 | + } |
|
53 | 53 | |
54 | - /** |
|
55 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender, "sender") |
|
56 | - */ |
|
57 | - private $sender; |
|
54 | + /** |
|
55 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender, "sender") |
|
56 | + */ |
|
57 | + private $sender; |
|
58 | 58 | |
59 | - /** |
|
60 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos") |
|
61 | - */ |
|
62 | - private $tradeOrderInfoDtos; |
|
59 | + /** |
|
60 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem>, "trade_order_info_dtos") |
|
61 | + */ |
|
62 | + private $tradeOrderInfoDtos; |
|
63 | 63 | |
64 | - /** |
|
65 | - * @JsonProperty(String, "wp_code") |
|
66 | - */ |
|
67 | - private $wpCode; |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "wp_code") |
|
66 | + */ |
|
67 | + private $wpCode; |
|
68 | 68 | |
69 | - public function setSender($sender) |
|
70 | - { |
|
71 | - $this->sender = $sender; |
|
72 | - } |
|
69 | + public function setSender($sender) |
|
70 | + { |
|
71 | + $this->sender = $sender; |
|
72 | + } |
|
73 | 73 | |
74 | - public function setTradeOrderInfoDtos($tradeOrderInfoDtos) |
|
75 | - { |
|
76 | - $this->tradeOrderInfoDtos = $tradeOrderInfoDtos; |
|
77 | - } |
|
74 | + public function setTradeOrderInfoDtos($tradeOrderInfoDtos) |
|
75 | + { |
|
76 | + $this->tradeOrderInfoDtos = $tradeOrderInfoDtos; |
|
77 | + } |
|
78 | 78 | |
79 | - public function setWpCode($wpCode) |
|
80 | - { |
|
81 | - $this->wpCode = $wpCode; |
|
82 | - } |
|
79 | + public function setWpCode($wpCode) |
|
80 | + { |
|
81 | + $this->wpCode = $wpCode; |
|
82 | + } |
|
83 | 83 | |
84 | 84 | } |
85 | 85 | |
86 | 86 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSender extends PopBaseJsonEntity |
87 | 87 | { |
88 | 88 | |
89 | - public function __construct() |
|
90 | - { |
|
91 | - |
|
92 | - } |
|
93 | - |
|
94 | - /** |
|
95 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress, "address") |
|
96 | - */ |
|
97 | - private $address; |
|
98 | - |
|
99 | - /** |
|
100 | - * @JsonProperty(String, "mobile") |
|
101 | - */ |
|
102 | - private $mobile; |
|
103 | - |
|
104 | - /** |
|
105 | - * @JsonProperty(String, "name") |
|
106 | - */ |
|
107 | - private $name; |
|
108 | - |
|
109 | - /** |
|
110 | - * @JsonProperty(String, "phone") |
|
111 | - */ |
|
112 | - private $phone; |
|
113 | - |
|
114 | - public function setAddress($address) |
|
115 | - { |
|
116 | - $this->address = $address; |
|
117 | - } |
|
118 | - |
|
119 | - public function setMobile($mobile) |
|
120 | - { |
|
121 | - $this->mobile = $mobile; |
|
122 | - } |
|
123 | - |
|
124 | - public function setName($name) |
|
125 | - { |
|
126 | - $this->name = $name; |
|
127 | - } |
|
128 | - |
|
129 | - public function setPhone($phone) |
|
130 | - { |
|
131 | - $this->phone = $phone; |
|
132 | - } |
|
89 | + public function __construct() |
|
90 | + { |
|
91 | + |
|
92 | + } |
|
93 | + |
|
94 | + /** |
|
95 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress, "address") |
|
96 | + */ |
|
97 | + private $address; |
|
98 | + |
|
99 | + /** |
|
100 | + * @JsonProperty(String, "mobile") |
|
101 | + */ |
|
102 | + private $mobile; |
|
103 | + |
|
104 | + /** |
|
105 | + * @JsonProperty(String, "name") |
|
106 | + */ |
|
107 | + private $name; |
|
108 | + |
|
109 | + /** |
|
110 | + * @JsonProperty(String, "phone") |
|
111 | + */ |
|
112 | + private $phone; |
|
113 | + |
|
114 | + public function setAddress($address) |
|
115 | + { |
|
116 | + $this->address = $address; |
|
117 | + } |
|
118 | + |
|
119 | + public function setMobile($mobile) |
|
120 | + { |
|
121 | + $this->mobile = $mobile; |
|
122 | + } |
|
123 | + |
|
124 | + public function setName($name) |
|
125 | + { |
|
126 | + $this->name = $name; |
|
127 | + } |
|
128 | + |
|
129 | + public function setPhone($phone) |
|
130 | + { |
|
131 | + $this->phone = $phone; |
|
132 | + } |
|
133 | 133 | |
134 | 134 | } |
135 | 135 | |
136 | 136 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestSenderAddress extends PopBaseJsonEntity |
137 | 137 | { |
138 | 138 | |
139 | - public function __construct() |
|
140 | - { |
|
141 | - |
|
142 | - } |
|
143 | - |
|
144 | - /** |
|
145 | - * @JsonProperty(String, "city") |
|
146 | - */ |
|
147 | - private $city; |
|
148 | - |
|
149 | - /** |
|
150 | - * @JsonProperty(String, "country") |
|
151 | - */ |
|
152 | - private $country; |
|
153 | - |
|
154 | - /** |
|
155 | - * @JsonProperty(String, "detail") |
|
156 | - */ |
|
157 | - private $detail; |
|
158 | - |
|
159 | - /** |
|
160 | - * @JsonProperty(String, "district") |
|
161 | - */ |
|
162 | - private $district; |
|
163 | - |
|
164 | - /** |
|
165 | - * @JsonProperty(String, "province") |
|
166 | - */ |
|
167 | - private $province; |
|
168 | - |
|
169 | - /** |
|
170 | - * @JsonProperty(String, "town") |
|
171 | - */ |
|
172 | - private $town; |
|
173 | - |
|
174 | - public function setCity($city) |
|
175 | - { |
|
176 | - $this->city = $city; |
|
177 | - } |
|
178 | - |
|
179 | - public function setCountry($country) |
|
180 | - { |
|
181 | - $this->country = $country; |
|
182 | - } |
|
183 | - |
|
184 | - public function setDetail($detail) |
|
185 | - { |
|
186 | - $this->detail = $detail; |
|
187 | - } |
|
188 | - |
|
189 | - public function setDistrict($district) |
|
190 | - { |
|
191 | - $this->district = $district; |
|
192 | - } |
|
193 | - |
|
194 | - public function setProvince($province) |
|
195 | - { |
|
196 | - $this->province = $province; |
|
197 | - } |
|
198 | - |
|
199 | - public function setTown($town) |
|
200 | - { |
|
201 | - $this->town = $town; |
|
202 | - } |
|
139 | + public function __construct() |
|
140 | + { |
|
141 | + |
|
142 | + } |
|
143 | + |
|
144 | + /** |
|
145 | + * @JsonProperty(String, "city") |
|
146 | + */ |
|
147 | + private $city; |
|
148 | + |
|
149 | + /** |
|
150 | + * @JsonProperty(String, "country") |
|
151 | + */ |
|
152 | + private $country; |
|
153 | + |
|
154 | + /** |
|
155 | + * @JsonProperty(String, "detail") |
|
156 | + */ |
|
157 | + private $detail; |
|
158 | + |
|
159 | + /** |
|
160 | + * @JsonProperty(String, "district") |
|
161 | + */ |
|
162 | + private $district; |
|
163 | + |
|
164 | + /** |
|
165 | + * @JsonProperty(String, "province") |
|
166 | + */ |
|
167 | + private $province; |
|
168 | + |
|
169 | + /** |
|
170 | + * @JsonProperty(String, "town") |
|
171 | + */ |
|
172 | + private $town; |
|
173 | + |
|
174 | + public function setCity($city) |
|
175 | + { |
|
176 | + $this->city = $city; |
|
177 | + } |
|
178 | + |
|
179 | + public function setCountry($country) |
|
180 | + { |
|
181 | + $this->country = $country; |
|
182 | + } |
|
183 | + |
|
184 | + public function setDetail($detail) |
|
185 | + { |
|
186 | + $this->detail = $detail; |
|
187 | + } |
|
188 | + |
|
189 | + public function setDistrict($district) |
|
190 | + { |
|
191 | + $this->district = $district; |
|
192 | + } |
|
193 | + |
|
194 | + public function setProvince($province) |
|
195 | + { |
|
196 | + $this->province = $province; |
|
197 | + } |
|
198 | + |
|
199 | + public function setTown($town) |
|
200 | + { |
|
201 | + $this->town = $town; |
|
202 | + } |
|
203 | 203 | |
204 | 204 | } |
205 | 205 | |
206 | 206 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItem extends PopBaseJsonEntity |
207 | 207 | { |
208 | 208 | |
209 | - public function __construct() |
|
210 | - { |
|
211 | - |
|
212 | - } |
|
213 | - |
|
214 | - /** |
|
215 | - * @JsonProperty(String, "logistics_services") |
|
216 | - */ |
|
217 | - private $logisticsServices; |
|
218 | - |
|
219 | - /** |
|
220 | - * @JsonProperty(String, "object_id") |
|
221 | - */ |
|
222 | - private $objectId; |
|
223 | - |
|
224 | - /** |
|
225 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo, "order_info") |
|
226 | - */ |
|
227 | - private $orderInfo; |
|
228 | - |
|
229 | - /** |
|
230 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo, "package_info") |
|
231 | - */ |
|
232 | - private $packageInfo; |
|
233 | - |
|
234 | - /** |
|
235 | - * @JsonProperty(String, "template_url") |
|
236 | - */ |
|
237 | - private $templateUrl; |
|
238 | - |
|
239 | - /** |
|
240 | - * @JsonProperty(Long, "user_id") |
|
241 | - */ |
|
242 | - private $userId; |
|
243 | - |
|
244 | - public function setLogisticsServices($logisticsServices) |
|
245 | - { |
|
246 | - $this->logisticsServices = $logisticsServices; |
|
247 | - } |
|
248 | - |
|
249 | - public function setObjectId($objectId) |
|
250 | - { |
|
251 | - $this->objectId = $objectId; |
|
252 | - } |
|
253 | - |
|
254 | - public function setOrderInfo($orderInfo) |
|
255 | - { |
|
256 | - $this->orderInfo = $orderInfo; |
|
257 | - } |
|
258 | - |
|
259 | - public function setPackageInfo($packageInfo) |
|
260 | - { |
|
261 | - $this->packageInfo = $packageInfo; |
|
262 | - } |
|
263 | - |
|
264 | - public function setTemplateUrl($templateUrl) |
|
265 | - { |
|
266 | - $this->templateUrl = $templateUrl; |
|
267 | - } |
|
268 | - |
|
269 | - public function setUserId($userId) |
|
270 | - { |
|
271 | - $this->userId = $userId; |
|
272 | - } |
|
209 | + public function __construct() |
|
210 | + { |
|
211 | + |
|
212 | + } |
|
213 | + |
|
214 | + /** |
|
215 | + * @JsonProperty(String, "logistics_services") |
|
216 | + */ |
|
217 | + private $logisticsServices; |
|
218 | + |
|
219 | + /** |
|
220 | + * @JsonProperty(String, "object_id") |
|
221 | + */ |
|
222 | + private $objectId; |
|
223 | + |
|
224 | + /** |
|
225 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo, "order_info") |
|
226 | + */ |
|
227 | + private $orderInfo; |
|
228 | + |
|
229 | + /** |
|
230 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo, "package_info") |
|
231 | + */ |
|
232 | + private $packageInfo; |
|
233 | + |
|
234 | + /** |
|
235 | + * @JsonProperty(String, "template_url") |
|
236 | + */ |
|
237 | + private $templateUrl; |
|
238 | + |
|
239 | + /** |
|
240 | + * @JsonProperty(Long, "user_id") |
|
241 | + */ |
|
242 | + private $userId; |
|
243 | + |
|
244 | + public function setLogisticsServices($logisticsServices) |
|
245 | + { |
|
246 | + $this->logisticsServices = $logisticsServices; |
|
247 | + } |
|
248 | + |
|
249 | + public function setObjectId($objectId) |
|
250 | + { |
|
251 | + $this->objectId = $objectId; |
|
252 | + } |
|
253 | + |
|
254 | + public function setOrderInfo($orderInfo) |
|
255 | + { |
|
256 | + $this->orderInfo = $orderInfo; |
|
257 | + } |
|
258 | + |
|
259 | + public function setPackageInfo($packageInfo) |
|
260 | + { |
|
261 | + $this->packageInfo = $packageInfo; |
|
262 | + } |
|
263 | + |
|
264 | + public function setTemplateUrl($templateUrl) |
|
265 | + { |
|
266 | + $this->templateUrl = $templateUrl; |
|
267 | + } |
|
268 | + |
|
269 | + public function setUserId($userId) |
|
270 | + { |
|
271 | + $this->userId = $userId; |
|
272 | + } |
|
273 | 273 | |
274 | 274 | } |
275 | 275 | |
276 | 276 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfo extends PopBaseJsonEntity |
277 | 277 | { |
278 | 278 | |
279 | - public function __construct() |
|
280 | - { |
|
279 | + public function __construct() |
|
280 | + { |
|
281 | 281 | |
282 | - } |
|
282 | + } |
|
283 | 283 | |
284 | - /** |
|
285 | - * @JsonProperty(String, "order_channels_type") |
|
286 | - */ |
|
287 | - private $orderChannelsType; |
|
284 | + /** |
|
285 | + * @JsonProperty(String, "order_channels_type") |
|
286 | + */ |
|
287 | + private $orderChannelsType; |
|
288 | 288 | |
289 | - /** |
|
290 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem>, "trade_order_list") |
|
291 | - */ |
|
292 | - private $tradeOrderList; |
|
289 | + /** |
|
290 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem>, "trade_order_list") |
|
291 | + */ |
|
292 | + private $tradeOrderList; |
|
293 | 293 | |
294 | - public function setOrderChannelsType($orderChannelsType) |
|
295 | - { |
|
296 | - $this->orderChannelsType = $orderChannelsType; |
|
297 | - } |
|
294 | + public function setOrderChannelsType($orderChannelsType) |
|
295 | + { |
|
296 | + $this->orderChannelsType = $orderChannelsType; |
|
297 | + } |
|
298 | 298 | |
299 | - public function setTradeOrderList($tradeOrderList) |
|
300 | - { |
|
301 | - $this->tradeOrderList = $tradeOrderList; |
|
302 | - } |
|
299 | + public function setTradeOrderList($tradeOrderList) |
|
300 | + { |
|
301 | + $this->tradeOrderList = $tradeOrderList; |
|
302 | + } |
|
303 | 303 | |
304 | 304 | } |
305 | 305 | |
306 | 306 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemOrderInfoTradeOrderListItem extends PopBaseJsonEntity |
307 | 307 | { |
308 | 308 | |
309 | - public function __construct() |
|
310 | - { |
|
309 | + public function __construct() |
|
310 | + { |
|
311 | 311 | |
312 | - } |
|
312 | + } |
|
313 | 313 | |
314 | - /** |
|
315 | - * @JsonProperty(String, "mall_mask_id") |
|
316 | - */ |
|
317 | - private $mallMaskId; |
|
314 | + /** |
|
315 | + * @JsonProperty(String, "mall_mask_id") |
|
316 | + */ |
|
317 | + private $mallMaskId; |
|
318 | 318 | |
319 | - /** |
|
320 | - * @JsonProperty(String, "order_mask_sn") |
|
321 | - */ |
|
322 | - private $orderMaskSn; |
|
319 | + /** |
|
320 | + * @JsonProperty(String, "order_mask_sn") |
|
321 | + */ |
|
322 | + private $orderMaskSn; |
|
323 | 323 | |
324 | - public function setMallMaskId($mallMaskId) |
|
325 | - { |
|
326 | - $this->mallMaskId = $mallMaskId; |
|
327 | - } |
|
324 | + public function setMallMaskId($mallMaskId) |
|
325 | + { |
|
326 | + $this->mallMaskId = $mallMaskId; |
|
327 | + } |
|
328 | 328 | |
329 | - public function setOrderMaskSn($orderMaskSn) |
|
330 | - { |
|
331 | - $this->orderMaskSn = $orderMaskSn; |
|
332 | - } |
|
329 | + public function setOrderMaskSn($orderMaskSn) |
|
330 | + { |
|
331 | + $this->orderMaskSn = $orderMaskSn; |
|
332 | + } |
|
333 | 333 | |
334 | 334 | } |
335 | 335 | |
336 | 336 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfo extends PopBaseJsonEntity |
337 | 337 | { |
338 | 338 | |
339 | - public function __construct() |
|
340 | - { |
|
341 | - |
|
342 | - } |
|
343 | - |
|
344 | - /** |
|
345 | - * @JsonProperty(String, "goods_description") |
|
346 | - */ |
|
347 | - private $goodsDescription; |
|
348 | - |
|
349 | - /** |
|
350 | - * @JsonProperty(String, "id") |
|
351 | - */ |
|
352 | - private $id; |
|
353 | - |
|
354 | - /** |
|
355 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items") |
|
356 | - */ |
|
357 | - private $items; |
|
358 | - |
|
359 | - /** |
|
360 | - * @JsonProperty(String, "packaging_description") |
|
361 | - */ |
|
362 | - private $packagingDescription; |
|
363 | - |
|
364 | - /** |
|
365 | - * @JsonProperty(String, "total_packages_count") |
|
366 | - */ |
|
367 | - private $totalPackagesCount; |
|
368 | - |
|
369 | - /** |
|
370 | - * @JsonProperty(Integer, "volume") |
|
371 | - */ |
|
372 | - private $volume; |
|
373 | - |
|
374 | - /** |
|
375 | - * @JsonProperty(Integer, "weight") |
|
376 | - */ |
|
377 | - private $weight; |
|
378 | - |
|
379 | - public function setGoodsDescription($goodsDescription) |
|
380 | - { |
|
381 | - $this->goodsDescription = $goodsDescription; |
|
382 | - } |
|
383 | - |
|
384 | - public function setId($id) |
|
385 | - { |
|
386 | - $this->id = $id; |
|
387 | - } |
|
388 | - |
|
389 | - public function setItems($items) |
|
390 | - { |
|
391 | - $this->items = $items; |
|
392 | - } |
|
393 | - |
|
394 | - public function setPackagingDescription($packagingDescription) |
|
395 | - { |
|
396 | - $this->packagingDescription = $packagingDescription; |
|
397 | - } |
|
398 | - |
|
399 | - public function setTotalPackagesCount($totalPackagesCount) |
|
400 | - { |
|
401 | - $this->totalPackagesCount = $totalPackagesCount; |
|
402 | - } |
|
403 | - |
|
404 | - public function setVolume($volume) |
|
405 | - { |
|
406 | - $this->volume = $volume; |
|
407 | - } |
|
408 | - |
|
409 | - public function setWeight($weight) |
|
410 | - { |
|
411 | - $this->weight = $weight; |
|
412 | - } |
|
339 | + public function __construct() |
|
340 | + { |
|
341 | + |
|
342 | + } |
|
343 | + |
|
344 | + /** |
|
345 | + * @JsonProperty(String, "goods_description") |
|
346 | + */ |
|
347 | + private $goodsDescription; |
|
348 | + |
|
349 | + /** |
|
350 | + * @JsonProperty(String, "id") |
|
351 | + */ |
|
352 | + private $id; |
|
353 | + |
|
354 | + /** |
|
355 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem>, "items") |
|
356 | + */ |
|
357 | + private $items; |
|
358 | + |
|
359 | + /** |
|
360 | + * @JsonProperty(String, "packaging_description") |
|
361 | + */ |
|
362 | + private $packagingDescription; |
|
363 | + |
|
364 | + /** |
|
365 | + * @JsonProperty(String, "total_packages_count") |
|
366 | + */ |
|
367 | + private $totalPackagesCount; |
|
368 | + |
|
369 | + /** |
|
370 | + * @JsonProperty(Integer, "volume") |
|
371 | + */ |
|
372 | + private $volume; |
|
373 | + |
|
374 | + /** |
|
375 | + * @JsonProperty(Integer, "weight") |
|
376 | + */ |
|
377 | + private $weight; |
|
378 | + |
|
379 | + public function setGoodsDescription($goodsDescription) |
|
380 | + { |
|
381 | + $this->goodsDescription = $goodsDescription; |
|
382 | + } |
|
383 | + |
|
384 | + public function setId($id) |
|
385 | + { |
|
386 | + $this->id = $id; |
|
387 | + } |
|
388 | + |
|
389 | + public function setItems($items) |
|
390 | + { |
|
391 | + $this->items = $items; |
|
392 | + } |
|
393 | + |
|
394 | + public function setPackagingDescription($packagingDescription) |
|
395 | + { |
|
396 | + $this->packagingDescription = $packagingDescription; |
|
397 | + } |
|
398 | + |
|
399 | + public function setTotalPackagesCount($totalPackagesCount) |
|
400 | + { |
|
401 | + $this->totalPackagesCount = $totalPackagesCount; |
|
402 | + } |
|
403 | + |
|
404 | + public function setVolume($volume) |
|
405 | + { |
|
406 | + $this->volume = $volume; |
|
407 | + } |
|
408 | + |
|
409 | + public function setWeight($weight) |
|
410 | + { |
|
411 | + $this->weight = $weight; |
|
412 | + } |
|
413 | 413 | |
414 | 414 | } |
415 | 415 | |
416 | 416 | class PddFdsWaybillGetRequest_ParamFdsWaybillGetRequestTradeOrderInfoDtosItemPackageInfoItemsItem extends PopBaseJsonEntity |
417 | 417 | { |
418 | 418 | |
419 | - public function __construct() |
|
420 | - { |
|
419 | + public function __construct() |
|
420 | + { |
|
421 | 421 | |
422 | - } |
|
422 | + } |
|
423 | 423 | |
424 | - /** |
|
425 | - * @JsonProperty(Integer, "count") |
|
426 | - */ |
|
427 | - private $count; |
|
424 | + /** |
|
425 | + * @JsonProperty(Integer, "count") |
|
426 | + */ |
|
427 | + private $count; |
|
428 | 428 | |
429 | - /** |
|
430 | - * @JsonProperty(String, "name") |
|
431 | - */ |
|
432 | - private $name; |
|
429 | + /** |
|
430 | + * @JsonProperty(String, "name") |
|
431 | + */ |
|
432 | + private $name; |
|
433 | 433 | |
434 | - public function setCount($count) |
|
435 | - { |
|
436 | - $this->count = $count; |
|
437 | - } |
|
434 | + public function setCount($count) |
|
435 | + { |
|
436 | + $this->count = $count; |
|
437 | + } |
|
438 | 438 | |
439 | - public function setName($name) |
|
440 | - { |
|
441 | - $this->name = $name; |
|
442 | - } |
|
439 | + public function setName($name) |
|
440 | + { |
|
441 | + $this->name = $name; |
|
442 | + } |
|
443 | 443 | |
444 | 444 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddPopAuthTokenCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "code") |
|
15 | - */ |
|
16 | - private $code; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "code", $this->code); |
|
21 | - |
|
22 | - } |
|
23 | - |
|
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
28 | - |
|
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
33 | - |
|
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.pop.auth.token.create"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setCode($code) |
|
40 | - { |
|
41 | - $this->code = $code; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "code") |
|
15 | + */ |
|
16 | + private $code; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "code", $this->code); |
|
21 | + |
|
22 | + } |
|
23 | + |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | + |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | + |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.pop.auth.token.create"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setCode($code) |
|
40 | + { |
|
41 | + $this->code = $code; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddKttUserSitePagequeryRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "page_no") |
|
15 | - */ |
|
16 | - private $pageNo; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "page_size") |
|
20 | - */ |
|
21 | - private $pageSize; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "page_no", $this->pageNo); |
|
26 | - $this->setUserParam($params, "page_size", $this->pageSize); |
|
27 | - |
|
28 | - } |
|
29 | - |
|
30 | - public function getVersion() |
|
31 | - { |
|
32 | - return "V1"; |
|
33 | - } |
|
34 | - |
|
35 | - public function getDataType() |
|
36 | - { |
|
37 | - return "JSON"; |
|
38 | - } |
|
39 | - |
|
40 | - public function getType() |
|
41 | - { |
|
42 | - return "pdd.ktt.user.site.pagequery"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setPageNo($pageNo) |
|
46 | - { |
|
47 | - $this->pageNo = $pageNo; |
|
48 | - } |
|
49 | - |
|
50 | - public function setPageSize($pageSize) |
|
51 | - { |
|
52 | - $this->pageSize = $pageSize; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "page_no") |
|
15 | + */ |
|
16 | + private $pageNo; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "page_size") |
|
20 | + */ |
|
21 | + private $pageSize; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "page_no", $this->pageNo); |
|
26 | + $this->setUserParam($params, "page_size", $this->pageSize); |
|
27 | + |
|
28 | + } |
|
29 | + |
|
30 | + public function getVersion() |
|
31 | + { |
|
32 | + return "V1"; |
|
33 | + } |
|
34 | + |
|
35 | + public function getDataType() |
|
36 | + { |
|
37 | + return "JSON"; |
|
38 | + } |
|
39 | + |
|
40 | + public function getType() |
|
41 | + { |
|
42 | + return "pdd.ktt.user.site.pagequery"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setPageNo($pageNo) |
|
46 | + { |
|
47 | + $this->pageNo = $pageNo; |
|
48 | + } |
|
49 | + |
|
50 | + public function setPageSize($pageSize) |
|
51 | + { |
|
52 | + $this->pageSize = $pageSize; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddDdkOauthOrderDetailGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "order_sn") |
|
15 | - */ |
|
16 | - private $orderSn; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "query_order_type") |
|
20 | - */ |
|
21 | - private $queryOrderType; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "order_sn", $this->orderSn); |
|
26 | - $this->setUserParam($params, "query_order_type", $this->queryOrderType); |
|
27 | - |
|
28 | - } |
|
29 | - |
|
30 | - public function getVersion() |
|
31 | - { |
|
32 | - return "V1"; |
|
33 | - } |
|
34 | - |
|
35 | - public function getDataType() |
|
36 | - { |
|
37 | - return "JSON"; |
|
38 | - } |
|
39 | - |
|
40 | - public function getType() |
|
41 | - { |
|
42 | - return "pdd.ddk.oauth.order.detail.get"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setOrderSn($orderSn) |
|
46 | - { |
|
47 | - $this->orderSn = $orderSn; |
|
48 | - } |
|
49 | - |
|
50 | - public function setQueryOrderType($queryOrderType) |
|
51 | - { |
|
52 | - $this->queryOrderType = $queryOrderType; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "order_sn") |
|
15 | + */ |
|
16 | + private $orderSn; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "query_order_type") |
|
20 | + */ |
|
21 | + private $queryOrderType; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "order_sn", $this->orderSn); |
|
26 | + $this->setUserParam($params, "query_order_type", $this->queryOrderType); |
|
27 | + |
|
28 | + } |
|
29 | + |
|
30 | + public function getVersion() |
|
31 | + { |
|
32 | + return "V1"; |
|
33 | + } |
|
34 | + |
|
35 | + public function getDataType() |
|
36 | + { |
|
37 | + return "JSON"; |
|
38 | + } |
|
39 | + |
|
40 | + public function getType() |
|
41 | + { |
|
42 | + return "pdd.ddk.oauth.order.detail.get"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setOrderSn($orderSn) |
|
46 | + { |
|
47 | + $this->orderSn = $orderSn; |
|
48 | + } |
|
49 | + |
|
50 | + public function setQueryOrderType($queryOrderType) |
|
51 | + { |
|
52 | + $this->queryOrderType = $queryOrderType; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddAdApiPlanDeleteRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "planId") |
|
15 | - */ |
|
16 | - private $planId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "scenesType") |
|
20 | - */ |
|
21 | - private $scenesType; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "planId", $this->planId); |
|
26 | - $this->setUserParam($params, "scenesType", $this->scenesType); |
|
27 | - |
|
28 | - } |
|
29 | - |
|
30 | - public function getVersion() |
|
31 | - { |
|
32 | - return "V1"; |
|
33 | - } |
|
34 | - |
|
35 | - public function getDataType() |
|
36 | - { |
|
37 | - return "JSON"; |
|
38 | - } |
|
39 | - |
|
40 | - public function getType() |
|
41 | - { |
|
42 | - return "pdd.ad.api.plan.delete"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setPlanId($planId) |
|
46 | - { |
|
47 | - $this->planId = $planId; |
|
48 | - } |
|
49 | - |
|
50 | - public function setScenesType($scenesType) |
|
51 | - { |
|
52 | - $this->scenesType = $scenesType; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "planId") |
|
15 | + */ |
|
16 | + private $planId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "scenesType") |
|
20 | + */ |
|
21 | + private $scenesType; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "planId", $this->planId); |
|
26 | + $this->setUserParam($params, "scenesType", $this->scenesType); |
|
27 | + |
|
28 | + } |
|
29 | + |
|
30 | + public function getVersion() |
|
31 | + { |
|
32 | + return "V1"; |
|
33 | + } |
|
34 | + |
|
35 | + public function getDataType() |
|
36 | + { |
|
37 | + return "JSON"; |
|
38 | + } |
|
39 | + |
|
40 | + public function getType() |
|
41 | + { |
|
42 | + return "pdd.ad.api.plan.delete"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setPlanId($planId) |
|
46 | + { |
|
47 | + $this->planId = $planId; |
|
48 | + } |
|
49 | + |
|
50 | + public function setScenesType($scenesType) |
|
51 | + { |
|
52 | + $this->scenesType = $scenesType; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,68 +7,68 @@ |
||
7 | 7 | class PddOpenKmsSearchBatchRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddOpenKmsSearchBatchRequest_InputListItem>, "input_list") |
|
15 | - */ |
|
16 | - private $inputList; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddOpenKmsSearchBatchRequest_InputListItem>, "input_list") |
|
15 | + */ |
|
16 | + private $inputList; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "input_list", $this->inputList); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "input_list", $this->inputList); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.open.kms.search.batch"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.open.kms.search.batch"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setInputList($inputList) |
|
40 | - { |
|
41 | - $this->inputList = $inputList; |
|
42 | - } |
|
39 | + public function setInputList($inputList) |
|
40 | + { |
|
41 | + $this->inputList = $inputList; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddOpenKmsSearchBatchRequest_InputListItem extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | 51 | |
52 | - } |
|
52 | + } |
|
53 | 53 | |
54 | - /** |
|
55 | - * @JsonProperty(String, "input") |
|
56 | - */ |
|
57 | - private $input; |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "input") |
|
56 | + */ |
|
57 | + private $input; |
|
58 | 58 | |
59 | - /** |
|
60 | - * @JsonProperty(String, "type") |
|
61 | - */ |
|
62 | - private $type; |
|
59 | + /** |
|
60 | + * @JsonProperty(String, "type") |
|
61 | + */ |
|
62 | + private $type; |
|
63 | 63 | |
64 | - public function setInput($input) |
|
65 | - { |
|
66 | - $this->input = $input; |
|
67 | - } |
|
64 | + public function setInput($input) |
|
65 | + { |
|
66 | + $this->input = $input; |
|
67 | + } |
|
68 | 68 | |
69 | - public function setType($type) |
|
70 | - { |
|
71 | - $this->type = $type; |
|
72 | - } |
|
69 | + public function setType($type) |
|
70 | + { |
|
71 | + $this->type = $type; |
|
72 | + } |
|
73 | 73 | |
74 | 74 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddKttGoodsQuerySingleRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "goods_id") |
|
15 | - */ |
|
16 | - private $goodsId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "goods_id", $this->goodsId); |
|
21 | - |
|
22 | - } |
|
23 | - |
|
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
28 | - |
|
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
33 | - |
|
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.ktt.goods.query.single"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setGoodsId($goodsId) |
|
40 | - { |
|
41 | - $this->goodsId = $goodsId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_id") |
|
15 | + */ |
|
16 | + private $goodsId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "goods_id", $this->goodsId); |
|
21 | + |
|
22 | + } |
|
23 | + |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | + |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | + |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.ktt.goods.query.single"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setGoodsId($goodsId) |
|
40 | + { |
|
41 | + $this->goodsId = $goodsId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |