@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddMedicineConsultCloseRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "consult_no") |
|
15 | - */ |
|
16 | - private $consultNo; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "reason") |
|
20 | - */ |
|
21 | - private $reason; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "consult_no", $this->consultNo); |
|
26 | - $this->setUserParam($params, "reason", $this->reason); |
|
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.medicine.consult.close"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setConsultNo($consultNo) |
|
46 | - { |
|
47 | - $this->consultNo = $consultNo; |
|
48 | - } |
|
49 | - |
|
50 | - public function setReason($reason) |
|
51 | - { |
|
52 | - $this->reason = $reason; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "consult_no") |
|
15 | + */ |
|
16 | + private $consultNo; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "reason") |
|
20 | + */ |
|
21 | + private $reason; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "consult_no", $this->consultNo); |
|
26 | + $this->setUserParam($params, "reason", $this->reason); |
|
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.medicine.consult.close"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setConsultNo($consultNo) |
|
46 | + { |
|
47 | + $this->consultNo = $consultNo; |
|
48 | + } |
|
49 | + |
|
50 | + public function setReason($reason) |
|
51 | + { |
|
52 | + $this->reason = $reason; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,255 +7,255 @@ |
||
7 | 7 | class PddStockWareUpdateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "id") |
|
15 | - */ |
|
16 | - private $id; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "ware_type") |
|
20 | - */ |
|
21 | - private $wareType; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareUpdateRequest_WareInfosItem>, "ware_infos") |
|
25 | - */ |
|
26 | - private $wareInfos; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "ware_sn") |
|
30 | - */ |
|
31 | - private $wareSn; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "ware_name") |
|
35 | - */ |
|
36 | - private $wareName; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "note") |
|
40 | - */ |
|
41 | - private $note; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "service_quality") |
|
45 | - */ |
|
46 | - private $serviceQuality; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "volume") |
|
50 | - */ |
|
51 | - private $volume; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(Integer, "length") |
|
55 | - */ |
|
56 | - private $length; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(Integer, "width") |
|
60 | - */ |
|
61 | - private $width; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(Integer, "height") |
|
65 | - */ |
|
66 | - private $height; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(Integer, "weight") |
|
70 | - */ |
|
71 | - private $weight; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(Integer, "gross_weight") |
|
75 | - */ |
|
76 | - private $grossWeight; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(Integer, "net_weight") |
|
80 | - */ |
|
81 | - private $netWeight; |
|
82 | - |
|
83 | - /** |
|
84 | - * @JsonProperty(Integer, "tare_weight") |
|
85 | - */ |
|
86 | - private $tareWeight; |
|
87 | - |
|
88 | - /** |
|
89 | - * @JsonProperty(Integer, "price") |
|
90 | - */ |
|
91 | - private $price; |
|
92 | - |
|
93 | - /** |
|
94 | - * @JsonProperty(String, "color") |
|
95 | - */ |
|
96 | - private $color; |
|
97 | - |
|
98 | - /** |
|
99 | - * @JsonProperty(String, "packing") |
|
100 | - */ |
|
101 | - private $packing; |
|
102 | - |
|
103 | - protected function setUserParams(&$params) |
|
104 | - { |
|
105 | - $this->setUserParam($params, "id", $this->id); |
|
106 | - $this->setUserParam($params, "ware_type", $this->wareType); |
|
107 | - $this->setUserParam($params, "ware_infos", $this->wareInfos); |
|
108 | - $this->setUserParam($params, "ware_sn", $this->wareSn); |
|
109 | - $this->setUserParam($params, "ware_name", $this->wareName); |
|
110 | - $this->setUserParam($params, "note", $this->note); |
|
111 | - $this->setUserParam($params, "service_quality", $this->serviceQuality); |
|
112 | - $this->setUserParam($params, "volume", $this->volume); |
|
113 | - $this->setUserParam($params, "length", $this->length); |
|
114 | - $this->setUserParam($params, "width", $this->width); |
|
115 | - $this->setUserParam($params, "height", $this->height); |
|
116 | - $this->setUserParam($params, "weight", $this->weight); |
|
117 | - $this->setUserParam($params, "gross_weight", $this->grossWeight); |
|
118 | - $this->setUserParam($params, "net_weight", $this->netWeight); |
|
119 | - $this->setUserParam($params, "tare_weight", $this->tareWeight); |
|
120 | - $this->setUserParam($params, "price", $this->price); |
|
121 | - $this->setUserParam($params, "color", $this->color); |
|
122 | - $this->setUserParam($params, "packing", $this->packing); |
|
123 | - |
|
124 | - } |
|
125 | - |
|
126 | - public function getVersion() |
|
127 | - { |
|
128 | - return "V1"; |
|
129 | - } |
|
130 | - |
|
131 | - public function getDataType() |
|
132 | - { |
|
133 | - return "JSON"; |
|
134 | - } |
|
135 | - |
|
136 | - public function getType() |
|
137 | - { |
|
138 | - return "pdd.stock.ware.update"; |
|
139 | - } |
|
140 | - |
|
141 | - public function setId($id) |
|
142 | - { |
|
143 | - $this->id = $id; |
|
144 | - } |
|
145 | - |
|
146 | - public function setWareType($wareType) |
|
147 | - { |
|
148 | - $this->wareType = $wareType; |
|
149 | - } |
|
150 | - |
|
151 | - public function setWareInfos($wareInfos) |
|
152 | - { |
|
153 | - $this->wareInfos = $wareInfos; |
|
154 | - } |
|
155 | - |
|
156 | - public function setWareSn($wareSn) |
|
157 | - { |
|
158 | - $this->wareSn = $wareSn; |
|
159 | - } |
|
160 | - |
|
161 | - public function setWareName($wareName) |
|
162 | - { |
|
163 | - $this->wareName = $wareName; |
|
164 | - } |
|
165 | - |
|
166 | - public function setNote($note) |
|
167 | - { |
|
168 | - $this->note = $note; |
|
169 | - } |
|
170 | - |
|
171 | - public function setServiceQuality($serviceQuality) |
|
172 | - { |
|
173 | - $this->serviceQuality = $serviceQuality; |
|
174 | - } |
|
175 | - |
|
176 | - public function setVolume($volume) |
|
177 | - { |
|
178 | - $this->volume = $volume; |
|
179 | - } |
|
180 | - |
|
181 | - public function setLength($length) |
|
182 | - { |
|
183 | - $this->length = $length; |
|
184 | - } |
|
185 | - |
|
186 | - public function setWidth($width) |
|
187 | - { |
|
188 | - $this->width = $width; |
|
189 | - } |
|
190 | - |
|
191 | - public function setHeight($height) |
|
192 | - { |
|
193 | - $this->height = $height; |
|
194 | - } |
|
195 | - |
|
196 | - public function setWeight($weight) |
|
197 | - { |
|
198 | - $this->weight = $weight; |
|
199 | - } |
|
200 | - |
|
201 | - public function setGrossWeight($grossWeight) |
|
202 | - { |
|
203 | - $this->grossWeight = $grossWeight; |
|
204 | - } |
|
205 | - |
|
206 | - public function setNetWeight($netWeight) |
|
207 | - { |
|
208 | - $this->netWeight = $netWeight; |
|
209 | - } |
|
210 | - |
|
211 | - public function setTareWeight($tareWeight) |
|
212 | - { |
|
213 | - $this->tareWeight = $tareWeight; |
|
214 | - } |
|
215 | - |
|
216 | - public function setPrice($price) |
|
217 | - { |
|
218 | - $this->price = $price; |
|
219 | - } |
|
220 | - |
|
221 | - public function setColor($color) |
|
222 | - { |
|
223 | - $this->color = $color; |
|
224 | - } |
|
225 | - |
|
226 | - public function setPacking($packing) |
|
227 | - { |
|
228 | - $this->packing = $packing; |
|
229 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "id") |
|
15 | + */ |
|
16 | + private $id; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "ware_type") |
|
20 | + */ |
|
21 | + private $wareType; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddStockWareUpdateRequest_WareInfosItem>, "ware_infos") |
|
25 | + */ |
|
26 | + private $wareInfos; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "ware_sn") |
|
30 | + */ |
|
31 | + private $wareSn; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "ware_name") |
|
35 | + */ |
|
36 | + private $wareName; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "note") |
|
40 | + */ |
|
41 | + private $note; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "service_quality") |
|
45 | + */ |
|
46 | + private $serviceQuality; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "volume") |
|
50 | + */ |
|
51 | + private $volume; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(Integer, "length") |
|
55 | + */ |
|
56 | + private $length; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(Integer, "width") |
|
60 | + */ |
|
61 | + private $width; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(Integer, "height") |
|
65 | + */ |
|
66 | + private $height; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(Integer, "weight") |
|
70 | + */ |
|
71 | + private $weight; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(Integer, "gross_weight") |
|
75 | + */ |
|
76 | + private $grossWeight; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(Integer, "net_weight") |
|
80 | + */ |
|
81 | + private $netWeight; |
|
82 | + |
|
83 | + /** |
|
84 | + * @JsonProperty(Integer, "tare_weight") |
|
85 | + */ |
|
86 | + private $tareWeight; |
|
87 | + |
|
88 | + /** |
|
89 | + * @JsonProperty(Integer, "price") |
|
90 | + */ |
|
91 | + private $price; |
|
92 | + |
|
93 | + /** |
|
94 | + * @JsonProperty(String, "color") |
|
95 | + */ |
|
96 | + private $color; |
|
97 | + |
|
98 | + /** |
|
99 | + * @JsonProperty(String, "packing") |
|
100 | + */ |
|
101 | + private $packing; |
|
102 | + |
|
103 | + protected function setUserParams(&$params) |
|
104 | + { |
|
105 | + $this->setUserParam($params, "id", $this->id); |
|
106 | + $this->setUserParam($params, "ware_type", $this->wareType); |
|
107 | + $this->setUserParam($params, "ware_infos", $this->wareInfos); |
|
108 | + $this->setUserParam($params, "ware_sn", $this->wareSn); |
|
109 | + $this->setUserParam($params, "ware_name", $this->wareName); |
|
110 | + $this->setUserParam($params, "note", $this->note); |
|
111 | + $this->setUserParam($params, "service_quality", $this->serviceQuality); |
|
112 | + $this->setUserParam($params, "volume", $this->volume); |
|
113 | + $this->setUserParam($params, "length", $this->length); |
|
114 | + $this->setUserParam($params, "width", $this->width); |
|
115 | + $this->setUserParam($params, "height", $this->height); |
|
116 | + $this->setUserParam($params, "weight", $this->weight); |
|
117 | + $this->setUserParam($params, "gross_weight", $this->grossWeight); |
|
118 | + $this->setUserParam($params, "net_weight", $this->netWeight); |
|
119 | + $this->setUserParam($params, "tare_weight", $this->tareWeight); |
|
120 | + $this->setUserParam($params, "price", $this->price); |
|
121 | + $this->setUserParam($params, "color", $this->color); |
|
122 | + $this->setUserParam($params, "packing", $this->packing); |
|
123 | + |
|
124 | + } |
|
125 | + |
|
126 | + public function getVersion() |
|
127 | + { |
|
128 | + return "V1"; |
|
129 | + } |
|
130 | + |
|
131 | + public function getDataType() |
|
132 | + { |
|
133 | + return "JSON"; |
|
134 | + } |
|
135 | + |
|
136 | + public function getType() |
|
137 | + { |
|
138 | + return "pdd.stock.ware.update"; |
|
139 | + } |
|
140 | + |
|
141 | + public function setId($id) |
|
142 | + { |
|
143 | + $this->id = $id; |
|
144 | + } |
|
145 | + |
|
146 | + public function setWareType($wareType) |
|
147 | + { |
|
148 | + $this->wareType = $wareType; |
|
149 | + } |
|
150 | + |
|
151 | + public function setWareInfos($wareInfos) |
|
152 | + { |
|
153 | + $this->wareInfos = $wareInfos; |
|
154 | + } |
|
155 | + |
|
156 | + public function setWareSn($wareSn) |
|
157 | + { |
|
158 | + $this->wareSn = $wareSn; |
|
159 | + } |
|
160 | + |
|
161 | + public function setWareName($wareName) |
|
162 | + { |
|
163 | + $this->wareName = $wareName; |
|
164 | + } |
|
165 | + |
|
166 | + public function setNote($note) |
|
167 | + { |
|
168 | + $this->note = $note; |
|
169 | + } |
|
170 | + |
|
171 | + public function setServiceQuality($serviceQuality) |
|
172 | + { |
|
173 | + $this->serviceQuality = $serviceQuality; |
|
174 | + } |
|
175 | + |
|
176 | + public function setVolume($volume) |
|
177 | + { |
|
178 | + $this->volume = $volume; |
|
179 | + } |
|
180 | + |
|
181 | + public function setLength($length) |
|
182 | + { |
|
183 | + $this->length = $length; |
|
184 | + } |
|
185 | + |
|
186 | + public function setWidth($width) |
|
187 | + { |
|
188 | + $this->width = $width; |
|
189 | + } |
|
190 | + |
|
191 | + public function setHeight($height) |
|
192 | + { |
|
193 | + $this->height = $height; |
|
194 | + } |
|
195 | + |
|
196 | + public function setWeight($weight) |
|
197 | + { |
|
198 | + $this->weight = $weight; |
|
199 | + } |
|
200 | + |
|
201 | + public function setGrossWeight($grossWeight) |
|
202 | + { |
|
203 | + $this->grossWeight = $grossWeight; |
|
204 | + } |
|
205 | + |
|
206 | + public function setNetWeight($netWeight) |
|
207 | + { |
|
208 | + $this->netWeight = $netWeight; |
|
209 | + } |
|
210 | + |
|
211 | + public function setTareWeight($tareWeight) |
|
212 | + { |
|
213 | + $this->tareWeight = $tareWeight; |
|
214 | + } |
|
215 | + |
|
216 | + public function setPrice($price) |
|
217 | + { |
|
218 | + $this->price = $price; |
|
219 | + } |
|
220 | + |
|
221 | + public function setColor($color) |
|
222 | + { |
|
223 | + $this->color = $color; |
|
224 | + } |
|
225 | + |
|
226 | + public function setPacking($packing) |
|
227 | + { |
|
228 | + $this->packing = $packing; |
|
229 | + } |
|
230 | 230 | |
231 | 231 | } |
232 | 232 | |
233 | 233 | class PddStockWareUpdateRequest_WareInfosItem extends PopBaseJsonEntity |
234 | 234 | { |
235 | 235 | |
236 | - public function __construct() |
|
237 | - { |
|
236 | + public function __construct() |
|
237 | + { |
|
238 | 238 | |
239 | - } |
|
239 | + } |
|
240 | 240 | |
241 | - /** |
|
242 | - * @JsonProperty(Long, "ware_id") |
|
243 | - */ |
|
244 | - private $wareId; |
|
241 | + /** |
|
242 | + * @JsonProperty(Long, "ware_id") |
|
243 | + */ |
|
244 | + private $wareId; |
|
245 | 245 | |
246 | - /** |
|
247 | - * @JsonProperty(Integer, "ware_quantity") |
|
248 | - */ |
|
249 | - private $wareQuantity; |
|
246 | + /** |
|
247 | + * @JsonProperty(Integer, "ware_quantity") |
|
248 | + */ |
|
249 | + private $wareQuantity; |
|
250 | 250 | |
251 | - public function setWareId($wareId) |
|
252 | - { |
|
253 | - $this->wareId = $wareId; |
|
254 | - } |
|
251 | + public function setWareId($wareId) |
|
252 | + { |
|
253 | + $this->wareId = $wareId; |
|
254 | + } |
|
255 | 255 | |
256 | - public function setWareQuantity($wareQuantity) |
|
257 | - { |
|
258 | - $this->wareQuantity = $wareQuantity; |
|
259 | - } |
|
256 | + public function setWareQuantity($wareQuantity) |
|
257 | + { |
|
258 | + $this->wareQuantity = $wareQuantity; |
|
259 | + } |
|
260 | 260 | |
261 | 261 | } |
@@ -7,318 +7,318 @@ |
||
7 | 7 | class PddDdkRpPromUrlGenerateRequest 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\PddDdkRpPromUrlGenerateRequest_DiyLotteryParam, "diy_lottery_param") |
|
25 | - */ |
|
26 | - private $diyLotteryParam; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_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.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\PddDdkRpPromUrlGenerateRequest_DiyLotteryParam, "diy_lottery_param") |
|
25 | + */ |
|
26 | + private $diyLotteryParam; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_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.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 PddDdkRpPromUrlGenerateRequest_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\PddDdkRpPromUrlGenerateRequest_DiyLotteryParamRangeItemsItem>, "range_items") |
|
171 | - */ |
|
172 | - private $rangeItems; |
|
169 | + /** |
|
170 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddDdkRpPromUrlGenerateRequest_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 PddDdkRpPromUrlGenerateRequest_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 PddDdkRpPromUrlGenerateRequest_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\PddDdkRpPromUrlGenerateRequest_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\PddDdkRpPromUrlGenerateRequest_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 PddDdkRpPromUrlGenerateRequest_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,104 +7,104 @@ |
||
7 | 7 | class PddDdkGoodsDetailRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "custom_parameters") |
|
15 | - */ |
|
16 | - private $customParameters; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(List<Long>, "goods_id_list") |
|
20 | - */ |
|
21 | - private $goodsIdList; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "pid") |
|
25 | - */ |
|
26 | - private $pid; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Integer, "plan_type") |
|
30 | - */ |
|
31 | - private $planType; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "search_id") |
|
35 | - */ |
|
36 | - private $searchId; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Long, "zs_duo_id") |
|
40 | - */ |
|
41 | - private $zsDuoId; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "goods_sign") |
|
45 | - */ |
|
46 | - private $goodsSign; |
|
47 | - |
|
48 | - protected function setUserParams(&$params) |
|
49 | - { |
|
50 | - $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
51 | - $this->setUserParam($params, "goods_id_list", $this->goodsIdList); |
|
52 | - $this->setUserParam($params, "pid", $this->pid); |
|
53 | - $this->setUserParam($params, "plan_type", $this->planType); |
|
54 | - $this->setUserParam($params, "search_id", $this->searchId); |
|
55 | - $this->setUserParam($params, "zs_duo_id", $this->zsDuoId); |
|
56 | - $this->setUserParam($params, "goods_sign", $this->goodsSign); |
|
57 | - |
|
58 | - } |
|
59 | - |
|
60 | - public function getVersion() |
|
61 | - { |
|
62 | - return "V1"; |
|
63 | - } |
|
64 | - |
|
65 | - public function getDataType() |
|
66 | - { |
|
67 | - return "JSON"; |
|
68 | - } |
|
69 | - |
|
70 | - public function getType() |
|
71 | - { |
|
72 | - return "pdd.ddk.goods.detail"; |
|
73 | - } |
|
74 | - |
|
75 | - public function setCustomParameters($customParameters) |
|
76 | - { |
|
77 | - $this->customParameters = $customParameters; |
|
78 | - } |
|
79 | - |
|
80 | - public function setGoodsIdList($goodsIdList) |
|
81 | - { |
|
82 | - $this->goodsIdList = $goodsIdList; |
|
83 | - } |
|
84 | - |
|
85 | - public function setPid($pid) |
|
86 | - { |
|
87 | - $this->pid = $pid; |
|
88 | - } |
|
89 | - |
|
90 | - public function setPlanType($planType) |
|
91 | - { |
|
92 | - $this->planType = $planType; |
|
93 | - } |
|
94 | - |
|
95 | - public function setSearchId($searchId) |
|
96 | - { |
|
97 | - $this->searchId = $searchId; |
|
98 | - } |
|
99 | - |
|
100 | - public function setZsDuoId($zsDuoId) |
|
101 | - { |
|
102 | - $this->zsDuoId = $zsDuoId; |
|
103 | - } |
|
104 | - |
|
105 | - public function setGoodsSign($goodsSign) |
|
106 | - { |
|
107 | - $this->goodsSign = $goodsSign; |
|
108 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "custom_parameters") |
|
15 | + */ |
|
16 | + private $customParameters; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(List<Long>, "goods_id_list") |
|
20 | + */ |
|
21 | + private $goodsIdList; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "pid") |
|
25 | + */ |
|
26 | + private $pid; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Integer, "plan_type") |
|
30 | + */ |
|
31 | + private $planType; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "search_id") |
|
35 | + */ |
|
36 | + private $searchId; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Long, "zs_duo_id") |
|
40 | + */ |
|
41 | + private $zsDuoId; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "goods_sign") |
|
45 | + */ |
|
46 | + private $goodsSign; |
|
47 | + |
|
48 | + protected function setUserParams(&$params) |
|
49 | + { |
|
50 | + $this->setUserParam($params, "custom_parameters", $this->customParameters); |
|
51 | + $this->setUserParam($params, "goods_id_list", $this->goodsIdList); |
|
52 | + $this->setUserParam($params, "pid", $this->pid); |
|
53 | + $this->setUserParam($params, "plan_type", $this->planType); |
|
54 | + $this->setUserParam($params, "search_id", $this->searchId); |
|
55 | + $this->setUserParam($params, "zs_duo_id", $this->zsDuoId); |
|
56 | + $this->setUserParam($params, "goods_sign", $this->goodsSign); |
|
57 | + |
|
58 | + } |
|
59 | + |
|
60 | + public function getVersion() |
|
61 | + { |
|
62 | + return "V1"; |
|
63 | + } |
|
64 | + |
|
65 | + public function getDataType() |
|
66 | + { |
|
67 | + return "JSON"; |
|
68 | + } |
|
69 | + |
|
70 | + public function getType() |
|
71 | + { |
|
72 | + return "pdd.ddk.goods.detail"; |
|
73 | + } |
|
74 | + |
|
75 | + public function setCustomParameters($customParameters) |
|
76 | + { |
|
77 | + $this->customParameters = $customParameters; |
|
78 | + } |
|
79 | + |
|
80 | + public function setGoodsIdList($goodsIdList) |
|
81 | + { |
|
82 | + $this->goodsIdList = $goodsIdList; |
|
83 | + } |
|
84 | + |
|
85 | + public function setPid($pid) |
|
86 | + { |
|
87 | + $this->pid = $pid; |
|
88 | + } |
|
89 | + |
|
90 | + public function setPlanType($planType) |
|
91 | + { |
|
92 | + $this->planType = $planType; |
|
93 | + } |
|
94 | + |
|
95 | + public function setSearchId($searchId) |
|
96 | + { |
|
97 | + $this->searchId = $searchId; |
|
98 | + } |
|
99 | + |
|
100 | + public function setZsDuoId($zsDuoId) |
|
101 | + { |
|
102 | + $this->zsDuoId = $zsDuoId; |
|
103 | + } |
|
104 | + |
|
105 | + public function setGoodsSign($goodsSign) |
|
106 | + { |
|
107 | + $this->goodsSign = $goodsSign; |
|
108 | + } |
|
109 | 109 | |
110 | 110 | } |
@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddDeleteDraftCommitRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "goods_commit_id") |
|
15 | - */ |
|
16 | - private $goodsCommitId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId); |
|
21 | - |
|
22 | - } |
|
23 | - |
|
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
28 | - |
|
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
33 | - |
|
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.delete.draft.commit"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setGoodsCommitId($goodsCommitId) |
|
40 | - { |
|
41 | - $this->goodsCommitId = $goodsCommitId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "goods_commit_id") |
|
15 | + */ |
|
16 | + private $goodsCommitId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "goods_commit_id", $this->goodsCommitId); |
|
21 | + |
|
22 | + } |
|
23 | + |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | + |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | + |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.delete.draft.commit"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setGoodsCommitId($goodsCommitId) |
|
40 | + { |
|
41 | + $this->goodsCommitId = $goodsCommitId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,49 +7,49 @@ |
||
7 | 7 | class PddExpressDepotListGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Long, "length") |
|
15 | - */ |
|
16 | - private $length; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "start") |
|
20 | - */ |
|
21 | - private $start; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "length", $this->length); |
|
26 | - $this->setUserParam($params, "start", $this->start); |
|
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.express.depot.list.get"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setLength($length) |
|
46 | - { |
|
47 | - $this->length = $length; |
|
48 | - } |
|
49 | - |
|
50 | - public function setStart($start) |
|
51 | - { |
|
52 | - $this->start = $start; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Long, "length") |
|
15 | + */ |
|
16 | + private $length; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "start") |
|
20 | + */ |
|
21 | + private $start; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "length", $this->length); |
|
26 | + $this->setUserParam($params, "start", $this->start); |
|
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.express.depot.list.get"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setLength($length) |
|
46 | + { |
|
47 | + $this->length = $length; |
|
48 | + } |
|
49 | + |
|
50 | + public function setStart($start) |
|
51 | + { |
|
52 | + $this->start = $start; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
@@ -7,165 +7,165 @@ |
||
7 | 7 | class PddTicketOrderCreateNotifycationRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(Integer, "code_type") |
|
15 | - */ |
|
16 | - private $codeType; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Integer, "failed_code") |
|
20 | - */ |
|
21 | - private $failedCode; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "failed_reason") |
|
25 | - */ |
|
26 | - private $failedReason; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "order_no") |
|
30 | - */ |
|
31 | - private $orderNo; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "out_order_sn") |
|
35 | - */ |
|
36 | - private $outOrderSn; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "status") |
|
40 | - */ |
|
41 | - private $status; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketOrderCreateNotifycationRequest_TicketsItem>, "tickets") |
|
45 | - */ |
|
46 | - private $tickets; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "ticket_type") |
|
50 | - */ |
|
51 | - private $ticketType; |
|
52 | - |
|
53 | - protected function setUserParams(&$params) |
|
54 | - { |
|
55 | - $this->setUserParam($params, "code_type", $this->codeType); |
|
56 | - $this->setUserParam($params, "failed_code", $this->failedCode); |
|
57 | - $this->setUserParam($params, "failed_reason", $this->failedReason); |
|
58 | - $this->setUserParam($params, "order_no", $this->orderNo); |
|
59 | - $this->setUserParam($params, "out_order_sn", $this->outOrderSn); |
|
60 | - $this->setUserParam($params, "status", $this->status); |
|
61 | - $this->setUserParam($params, "tickets", $this->tickets); |
|
62 | - $this->setUserParam($params, "ticket_type", $this->ticketType); |
|
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.ticket.order.create.notifycation"; |
|
79 | - } |
|
80 | - |
|
81 | - public function setCodeType($codeType) |
|
82 | - { |
|
83 | - $this->codeType = $codeType; |
|
84 | - } |
|
85 | - |
|
86 | - public function setFailedCode($failedCode) |
|
87 | - { |
|
88 | - $this->failedCode = $failedCode; |
|
89 | - } |
|
90 | - |
|
91 | - public function setFailedReason($failedReason) |
|
92 | - { |
|
93 | - $this->failedReason = $failedReason; |
|
94 | - } |
|
95 | - |
|
96 | - public function setOrderNo($orderNo) |
|
97 | - { |
|
98 | - $this->orderNo = $orderNo; |
|
99 | - } |
|
100 | - |
|
101 | - public function setOutOrderSn($outOrderSn) |
|
102 | - { |
|
103 | - $this->outOrderSn = $outOrderSn; |
|
104 | - } |
|
105 | - |
|
106 | - public function setStatus($status) |
|
107 | - { |
|
108 | - $this->status = $status; |
|
109 | - } |
|
110 | - |
|
111 | - public function setTickets($tickets) |
|
112 | - { |
|
113 | - $this->tickets = $tickets; |
|
114 | - } |
|
115 | - |
|
116 | - public function setTicketType($ticketType) |
|
117 | - { |
|
118 | - $this->ticketType = $ticketType; |
|
119 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(Integer, "code_type") |
|
15 | + */ |
|
16 | + private $codeType; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Integer, "failed_code") |
|
20 | + */ |
|
21 | + private $failedCode; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "failed_reason") |
|
25 | + */ |
|
26 | + private $failedReason; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "order_no") |
|
30 | + */ |
|
31 | + private $orderNo; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "out_order_sn") |
|
35 | + */ |
|
36 | + private $outOrderSn; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "status") |
|
40 | + */ |
|
41 | + private $status; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketOrderCreateNotifycationRequest_TicketsItem>, "tickets") |
|
45 | + */ |
|
46 | + private $tickets; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "ticket_type") |
|
50 | + */ |
|
51 | + private $ticketType; |
|
52 | + |
|
53 | + protected function setUserParams(&$params) |
|
54 | + { |
|
55 | + $this->setUserParam($params, "code_type", $this->codeType); |
|
56 | + $this->setUserParam($params, "failed_code", $this->failedCode); |
|
57 | + $this->setUserParam($params, "failed_reason", $this->failedReason); |
|
58 | + $this->setUserParam($params, "order_no", $this->orderNo); |
|
59 | + $this->setUserParam($params, "out_order_sn", $this->outOrderSn); |
|
60 | + $this->setUserParam($params, "status", $this->status); |
|
61 | + $this->setUserParam($params, "tickets", $this->tickets); |
|
62 | + $this->setUserParam($params, "ticket_type", $this->ticketType); |
|
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.ticket.order.create.notifycation"; |
|
79 | + } |
|
80 | + |
|
81 | + public function setCodeType($codeType) |
|
82 | + { |
|
83 | + $this->codeType = $codeType; |
|
84 | + } |
|
85 | + |
|
86 | + public function setFailedCode($failedCode) |
|
87 | + { |
|
88 | + $this->failedCode = $failedCode; |
|
89 | + } |
|
90 | + |
|
91 | + public function setFailedReason($failedReason) |
|
92 | + { |
|
93 | + $this->failedReason = $failedReason; |
|
94 | + } |
|
95 | + |
|
96 | + public function setOrderNo($orderNo) |
|
97 | + { |
|
98 | + $this->orderNo = $orderNo; |
|
99 | + } |
|
100 | + |
|
101 | + public function setOutOrderSn($outOrderSn) |
|
102 | + { |
|
103 | + $this->outOrderSn = $outOrderSn; |
|
104 | + } |
|
105 | + |
|
106 | + public function setStatus($status) |
|
107 | + { |
|
108 | + $this->status = $status; |
|
109 | + } |
|
110 | + |
|
111 | + public function setTickets($tickets) |
|
112 | + { |
|
113 | + $this->tickets = $tickets; |
|
114 | + } |
|
115 | + |
|
116 | + public function setTicketType($ticketType) |
|
117 | + { |
|
118 | + $this->ticketType = $ticketType; |
|
119 | + } |
|
120 | 120 | |
121 | 121 | } |
122 | 122 | |
123 | 123 | class PddTicketOrderCreateNotifycationRequest_TicketsItem extends PopBaseJsonEntity |
124 | 124 | { |
125 | 125 | |
126 | - public function __construct() |
|
127 | - { |
|
128 | - |
|
129 | - } |
|
130 | - |
|
131 | - /** |
|
132 | - * @JsonProperty(String, "additional") |
|
133 | - */ |
|
134 | - private $additional; |
|
135 | - |
|
136 | - /** |
|
137 | - * @JsonProperty(String, "code") |
|
138 | - */ |
|
139 | - private $code; |
|
140 | - |
|
141 | - /** |
|
142 | - * @JsonProperty(String, "file") |
|
143 | - */ |
|
144 | - private $file; |
|
145 | - |
|
146 | - /** |
|
147 | - * @JsonProperty(String, "url") |
|
148 | - */ |
|
149 | - private $url; |
|
150 | - |
|
151 | - public function setAdditional($additional) |
|
152 | - { |
|
153 | - $this->additional = $additional; |
|
154 | - } |
|
155 | - |
|
156 | - public function setCode($code) |
|
157 | - { |
|
158 | - $this->code = $code; |
|
159 | - } |
|
160 | - |
|
161 | - public function setFile($file) |
|
162 | - { |
|
163 | - $this->file = $file; |
|
164 | - } |
|
165 | - |
|
166 | - public function setUrl($url) |
|
167 | - { |
|
168 | - $this->url = $url; |
|
169 | - } |
|
126 | + public function __construct() |
|
127 | + { |
|
128 | + |
|
129 | + } |
|
130 | + |
|
131 | + /** |
|
132 | + * @JsonProperty(String, "additional") |
|
133 | + */ |
|
134 | + private $additional; |
|
135 | + |
|
136 | + /** |
|
137 | + * @JsonProperty(String, "code") |
|
138 | + */ |
|
139 | + private $code; |
|
140 | + |
|
141 | + /** |
|
142 | + * @JsonProperty(String, "file") |
|
143 | + */ |
|
144 | + private $file; |
|
145 | + |
|
146 | + /** |
|
147 | + * @JsonProperty(String, "url") |
|
148 | + */ |
|
149 | + private $url; |
|
150 | + |
|
151 | + public function setAdditional($additional) |
|
152 | + { |
|
153 | + $this->additional = $additional; |
|
154 | + } |
|
155 | + |
|
156 | + public function setCode($code) |
|
157 | + { |
|
158 | + $this->code = $code; |
|
159 | + } |
|
160 | + |
|
161 | + public function setFile($file) |
|
162 | + { |
|
163 | + $this->file = $file; |
|
164 | + } |
|
165 | + |
|
166 | + public function setUrl($url) |
|
167 | + { |
|
168 | + $this->url = $url; |
|
169 | + } |
|
170 | 170 | |
171 | 171 | } |
@@ -7,275 +7,275 @@ |
||
7 | 7 | class PddFlightChangeApplyRequest 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, "parent_travel_sn") |
|
30 | - */ |
|
31 | - private $parentTravelSn; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "change_date") |
|
35 | - */ |
|
36 | - private $changeDate; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "attachment_path") |
|
40 | - */ |
|
41 | - private $attachmentPath; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_PassengerInfoListItem>, "passenger_info_list") |
|
45 | - */ |
|
46 | - private $passengerInfoList; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_FlightInfoListItem>, "flight_info_list") |
|
50 | - */ |
|
51 | - private $flightInfoList; |
|
52 | - |
|
53 | - protected function setUserParams(&$params) |
|
54 | - { |
|
55 | - $this->setUserParam($params, "trace_id", $this->traceId); |
|
56 | - $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
57 | - $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
58 | - $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
59 | - $this->setUserParam($params, "change_date", $this->changeDate); |
|
60 | - $this->setUserParam($params, "attachment_path", $this->attachmentPath); |
|
61 | - $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
62 | - $this->setUserParam($params, "flight_info_list", $this->flightInfoList); |
|
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.flight.change.apply"; |
|
79 | - } |
|
80 | - |
|
81 | - public function setTraceId($traceId) |
|
82 | - { |
|
83 | - $this->traceId = $traceId; |
|
84 | - } |
|
85 | - |
|
86 | - public function setSubTraceId($subTraceId) |
|
87 | - { |
|
88 | - $this->subTraceId = $subTraceId; |
|
89 | - } |
|
90 | - |
|
91 | - public function setOutOrderNo($outOrderNo) |
|
92 | - { |
|
93 | - $this->outOrderNo = $outOrderNo; |
|
94 | - } |
|
95 | - |
|
96 | - public function setParentTravelSn($parentTravelSn) |
|
97 | - { |
|
98 | - $this->parentTravelSn = $parentTravelSn; |
|
99 | - } |
|
100 | - |
|
101 | - public function setChangeDate($changeDate) |
|
102 | - { |
|
103 | - $this->changeDate = $changeDate; |
|
104 | - } |
|
105 | - |
|
106 | - public function setAttachmentPath($attachmentPath) |
|
107 | - { |
|
108 | - $this->attachmentPath = $attachmentPath; |
|
109 | - } |
|
110 | - |
|
111 | - public function setPassengerInfoList($passengerInfoList) |
|
112 | - { |
|
113 | - $this->passengerInfoList = $passengerInfoList; |
|
114 | - } |
|
115 | - |
|
116 | - public function setFlightInfoList($flightInfoList) |
|
117 | - { |
|
118 | - $this->flightInfoList = $flightInfoList; |
|
119 | - } |
|
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, "parent_travel_sn") |
|
30 | + */ |
|
31 | + private $parentTravelSn; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "change_date") |
|
35 | + */ |
|
36 | + private $changeDate; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "attachment_path") |
|
40 | + */ |
|
41 | + private $attachmentPath; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_PassengerInfoListItem>, "passenger_info_list") |
|
45 | + */ |
|
46 | + private $passengerInfoList; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_FlightInfoListItem>, "flight_info_list") |
|
50 | + */ |
|
51 | + private $flightInfoList; |
|
52 | + |
|
53 | + protected function setUserParams(&$params) |
|
54 | + { |
|
55 | + $this->setUserParam($params, "trace_id", $this->traceId); |
|
56 | + $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
57 | + $this->setUserParam($params, "out_order_no", $this->outOrderNo); |
|
58 | + $this->setUserParam($params, "parent_travel_sn", $this->parentTravelSn); |
|
59 | + $this->setUserParam($params, "change_date", $this->changeDate); |
|
60 | + $this->setUserParam($params, "attachment_path", $this->attachmentPath); |
|
61 | + $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
62 | + $this->setUserParam($params, "flight_info_list", $this->flightInfoList); |
|
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.flight.change.apply"; |
|
79 | + } |
|
80 | + |
|
81 | + public function setTraceId($traceId) |
|
82 | + { |
|
83 | + $this->traceId = $traceId; |
|
84 | + } |
|
85 | + |
|
86 | + public function setSubTraceId($subTraceId) |
|
87 | + { |
|
88 | + $this->subTraceId = $subTraceId; |
|
89 | + } |
|
90 | + |
|
91 | + public function setOutOrderNo($outOrderNo) |
|
92 | + { |
|
93 | + $this->outOrderNo = $outOrderNo; |
|
94 | + } |
|
95 | + |
|
96 | + public function setParentTravelSn($parentTravelSn) |
|
97 | + { |
|
98 | + $this->parentTravelSn = $parentTravelSn; |
|
99 | + } |
|
100 | + |
|
101 | + public function setChangeDate($changeDate) |
|
102 | + { |
|
103 | + $this->changeDate = $changeDate; |
|
104 | + } |
|
105 | + |
|
106 | + public function setAttachmentPath($attachmentPath) |
|
107 | + { |
|
108 | + $this->attachmentPath = $attachmentPath; |
|
109 | + } |
|
110 | + |
|
111 | + public function setPassengerInfoList($passengerInfoList) |
|
112 | + { |
|
113 | + $this->passengerInfoList = $passengerInfoList; |
|
114 | + } |
|
115 | + |
|
116 | + public function setFlightInfoList($flightInfoList) |
|
117 | + { |
|
118 | + $this->flightInfoList = $flightInfoList; |
|
119 | + } |
|
120 | 120 | |
121 | 121 | } |
122 | 122 | |
123 | 123 | class PddFlightChangeApplyRequest_PassengerInfoListItem extends PopBaseJsonEntity |
124 | 124 | { |
125 | 125 | |
126 | - public function __construct() |
|
127 | - { |
|
128 | - |
|
129 | - } |
|
130 | - |
|
131 | - /** |
|
132 | - * @JsonProperty(String, "passenger_type") |
|
133 | - */ |
|
134 | - private $passengerType; |
|
135 | - |
|
136 | - /** |
|
137 | - * @JsonProperty(String, "name") |
|
138 | - */ |
|
139 | - private $name; |
|
140 | - |
|
141 | - /** |
|
142 | - * @JsonProperty(String, "identity_type") |
|
143 | - */ |
|
144 | - private $identityType; |
|
145 | - |
|
146 | - /** |
|
147 | - * @JsonProperty(String, "identity_no") |
|
148 | - */ |
|
149 | - private $identityNo; |
|
150 | - |
|
151 | - /** |
|
152 | - * @JsonProperty(String, "travel_sn") |
|
153 | - */ |
|
154 | - private $travelSn; |
|
155 | - |
|
156 | - /** |
|
157 | - * @JsonProperty(String, "ticket_no") |
|
158 | - */ |
|
159 | - private $ticketNo; |
|
160 | - |
|
161 | - /** |
|
162 | - * @JsonProperty(String, "old_travel_sn") |
|
163 | - */ |
|
164 | - private $oldTravelSn; |
|
165 | - |
|
166 | - public function setPassengerType($passengerType) |
|
167 | - { |
|
168 | - $this->passengerType = $passengerType; |
|
169 | - } |
|
170 | - |
|
171 | - public function setName($name) |
|
172 | - { |
|
173 | - $this->name = $name; |
|
174 | - } |
|
175 | - |
|
176 | - public function setIdentityType($identityType) |
|
177 | - { |
|
178 | - $this->identityType = $identityType; |
|
179 | - } |
|
180 | - |
|
181 | - public function setIdentityNo($identityNo) |
|
182 | - { |
|
183 | - $this->identityNo = $identityNo; |
|
184 | - } |
|
185 | - |
|
186 | - public function setTravelSn($travelSn) |
|
187 | - { |
|
188 | - $this->travelSn = $travelSn; |
|
189 | - } |
|
190 | - |
|
191 | - public function setTicketNo($ticketNo) |
|
192 | - { |
|
193 | - $this->ticketNo = $ticketNo; |
|
194 | - } |
|
195 | - |
|
196 | - public function setOldTravelSn($oldTravelSn) |
|
197 | - { |
|
198 | - $this->oldTravelSn = $oldTravelSn; |
|
199 | - } |
|
126 | + public function __construct() |
|
127 | + { |
|
128 | + |
|
129 | + } |
|
130 | + |
|
131 | + /** |
|
132 | + * @JsonProperty(String, "passenger_type") |
|
133 | + */ |
|
134 | + private $passengerType; |
|
135 | + |
|
136 | + /** |
|
137 | + * @JsonProperty(String, "name") |
|
138 | + */ |
|
139 | + private $name; |
|
140 | + |
|
141 | + /** |
|
142 | + * @JsonProperty(String, "identity_type") |
|
143 | + */ |
|
144 | + private $identityType; |
|
145 | + |
|
146 | + /** |
|
147 | + * @JsonProperty(String, "identity_no") |
|
148 | + */ |
|
149 | + private $identityNo; |
|
150 | + |
|
151 | + /** |
|
152 | + * @JsonProperty(String, "travel_sn") |
|
153 | + */ |
|
154 | + private $travelSn; |
|
155 | + |
|
156 | + /** |
|
157 | + * @JsonProperty(String, "ticket_no") |
|
158 | + */ |
|
159 | + private $ticketNo; |
|
160 | + |
|
161 | + /** |
|
162 | + * @JsonProperty(String, "old_travel_sn") |
|
163 | + */ |
|
164 | + private $oldTravelSn; |
|
165 | + |
|
166 | + public function setPassengerType($passengerType) |
|
167 | + { |
|
168 | + $this->passengerType = $passengerType; |
|
169 | + } |
|
170 | + |
|
171 | + public function setName($name) |
|
172 | + { |
|
173 | + $this->name = $name; |
|
174 | + } |
|
175 | + |
|
176 | + public function setIdentityType($identityType) |
|
177 | + { |
|
178 | + $this->identityType = $identityType; |
|
179 | + } |
|
180 | + |
|
181 | + public function setIdentityNo($identityNo) |
|
182 | + { |
|
183 | + $this->identityNo = $identityNo; |
|
184 | + } |
|
185 | + |
|
186 | + public function setTravelSn($travelSn) |
|
187 | + { |
|
188 | + $this->travelSn = $travelSn; |
|
189 | + } |
|
190 | + |
|
191 | + public function setTicketNo($ticketNo) |
|
192 | + { |
|
193 | + $this->ticketNo = $ticketNo; |
|
194 | + } |
|
195 | + |
|
196 | + public function setOldTravelSn($oldTravelSn) |
|
197 | + { |
|
198 | + $this->oldTravelSn = $oldTravelSn; |
|
199 | + } |
|
200 | 200 | |
201 | 201 | } |
202 | 202 | |
203 | 203 | class PddFlightChangeApplyRequest_FlightInfoListItem extends PopBaseJsonEntity |
204 | 204 | { |
205 | 205 | |
206 | - public function __construct() |
|
207 | - { |
|
208 | - |
|
209 | - } |
|
210 | - |
|
211 | - /** |
|
212 | - * @JsonProperty(String, "flight_no") |
|
213 | - */ |
|
214 | - private $flightNo; |
|
215 | - |
|
216 | - /** |
|
217 | - * @JsonProperty(Integer, "segment_no") |
|
218 | - */ |
|
219 | - private $segmentNo; |
|
220 | - |
|
221 | - /** |
|
222 | - * @JsonProperty(Integer, "sequence_no") |
|
223 | - */ |
|
224 | - private $sequenceNo; |
|
225 | - |
|
226 | - /** |
|
227 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_FlightInfoListItemCabinInfoListItem>, "cabin_info_list") |
|
228 | - */ |
|
229 | - private $cabinInfoList; |
|
230 | - |
|
231 | - public function setFlightNo($flightNo) |
|
232 | - { |
|
233 | - $this->flightNo = $flightNo; |
|
234 | - } |
|
235 | - |
|
236 | - public function setSegmentNo($segmentNo) |
|
237 | - { |
|
238 | - $this->segmentNo = $segmentNo; |
|
239 | - } |
|
240 | - |
|
241 | - public function setSequenceNo($sequenceNo) |
|
242 | - { |
|
243 | - $this->sequenceNo = $sequenceNo; |
|
244 | - } |
|
245 | - |
|
246 | - public function setCabinInfoList($cabinInfoList) |
|
247 | - { |
|
248 | - $this->cabinInfoList = $cabinInfoList; |
|
249 | - } |
|
206 | + public function __construct() |
|
207 | + { |
|
208 | + |
|
209 | + } |
|
210 | + |
|
211 | + /** |
|
212 | + * @JsonProperty(String, "flight_no") |
|
213 | + */ |
|
214 | + private $flightNo; |
|
215 | + |
|
216 | + /** |
|
217 | + * @JsonProperty(Integer, "segment_no") |
|
218 | + */ |
|
219 | + private $segmentNo; |
|
220 | + |
|
221 | + /** |
|
222 | + * @JsonProperty(Integer, "sequence_no") |
|
223 | + */ |
|
224 | + private $sequenceNo; |
|
225 | + |
|
226 | + /** |
|
227 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightChangeApplyRequest_FlightInfoListItemCabinInfoListItem>, "cabin_info_list") |
|
228 | + */ |
|
229 | + private $cabinInfoList; |
|
230 | + |
|
231 | + public function setFlightNo($flightNo) |
|
232 | + { |
|
233 | + $this->flightNo = $flightNo; |
|
234 | + } |
|
235 | + |
|
236 | + public function setSegmentNo($segmentNo) |
|
237 | + { |
|
238 | + $this->segmentNo = $segmentNo; |
|
239 | + } |
|
240 | + |
|
241 | + public function setSequenceNo($sequenceNo) |
|
242 | + { |
|
243 | + $this->sequenceNo = $sequenceNo; |
|
244 | + } |
|
245 | + |
|
246 | + public function setCabinInfoList($cabinInfoList) |
|
247 | + { |
|
248 | + $this->cabinInfoList = $cabinInfoList; |
|
249 | + } |
|
250 | 250 | |
251 | 251 | } |
252 | 252 | |
253 | 253 | class PddFlightChangeApplyRequest_FlightInfoListItemCabinInfoListItem extends PopBaseJsonEntity |
254 | 254 | { |
255 | 255 | |
256 | - public function __construct() |
|
257 | - { |
|
256 | + public function __construct() |
|
257 | + { |
|
258 | 258 | |
259 | - } |
|
259 | + } |
|
260 | 260 | |
261 | - /** |
|
262 | - * @JsonProperty(String, "passenger_type") |
|
263 | - */ |
|
264 | - private $passengerType; |
|
261 | + /** |
|
262 | + * @JsonProperty(String, "passenger_type") |
|
263 | + */ |
|
264 | + private $passengerType; |
|
265 | 265 | |
266 | - /** |
|
267 | - * @JsonProperty(String, "sub_class") |
|
268 | - */ |
|
269 | - private $subClass; |
|
266 | + /** |
|
267 | + * @JsonProperty(String, "sub_class") |
|
268 | + */ |
|
269 | + private $subClass; |
|
270 | 270 | |
271 | - public function setPassengerType($passengerType) |
|
272 | - { |
|
273 | - $this->passengerType = $passengerType; |
|
274 | - } |
|
271 | + public function setPassengerType($passengerType) |
|
272 | + { |
|
273 | + $this->passengerType = $passengerType; |
|
274 | + } |
|
275 | 275 | |
276 | - public function setSubClass($subClass) |
|
277 | - { |
|
278 | - $this->subClass = $subClass; |
|
279 | - } |
|
276 | + public function setSubClass($subClass) |
|
277 | + { |
|
278 | + $this->subClass = $subClass; |
|
279 | + } |
|
280 | 280 | |
281 | 281 | } |
@@ -7,129 +7,129 @@ |
||
7 | 7 | class PddAdApiUnitCreativeCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessage, "adCreativeCreateMessage") |
|
15 | - */ |
|
16 | - private $adCreativeCreateMessage; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(Long, "adId") |
|
20 | - */ |
|
21 | - private $adId; |
|
22 | - |
|
23 | - protected function setUserParams(&$params) |
|
24 | - { |
|
25 | - $this->setUserParam($params, "adCreativeCreateMessage", $this->adCreativeCreateMessage); |
|
26 | - $this->setUserParam($params, "adId", $this->adId); |
|
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.create"; |
|
43 | - } |
|
44 | - |
|
45 | - public function setAdCreativeCreateMessage($adCreativeCreateMessage) |
|
46 | - { |
|
47 | - $this->adCreativeCreateMessage = $adCreativeCreateMessage; |
|
48 | - } |
|
49 | - |
|
50 | - public function setAdId($adId) |
|
51 | - { |
|
52 | - $this->adId = $adId; |
|
53 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessage, "adCreativeCreateMessage") |
|
15 | + */ |
|
16 | + private $adCreativeCreateMessage; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(Long, "adId") |
|
20 | + */ |
|
21 | + private $adId; |
|
22 | + |
|
23 | + protected function setUserParams(&$params) |
|
24 | + { |
|
25 | + $this->setUserParam($params, "adCreativeCreateMessage", $this->adCreativeCreateMessage); |
|
26 | + $this->setUserParam($params, "adId", $this->adId); |
|
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.create"; |
|
43 | + } |
|
44 | + |
|
45 | + public function setAdCreativeCreateMessage($adCreativeCreateMessage) |
|
46 | + { |
|
47 | + $this->adCreativeCreateMessage = $adCreativeCreateMessage; |
|
48 | + } |
|
49 | + |
|
50 | + public function setAdId($adId) |
|
51 | + { |
|
52 | + $this->adId = $adId; |
|
53 | + } |
|
54 | 54 | |
55 | 55 | } |
56 | 56 | |
57 | 57 | class PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessage extends PopBaseJsonEntity |
58 | 58 | { |
59 | 59 | |
60 | - public function __construct() |
|
61 | - { |
|
60 | + public function __construct() |
|
61 | + { |
|
62 | 62 | |
63 | - } |
|
63 | + } |
|
64 | 64 | |
65 | - /** |
|
66 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdImageVOListItem>, "adImageVOList") |
|
67 | - */ |
|
68 | - private $adImageVOList; |
|
65 | + /** |
|
66 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdImageVOListItem>, "adImageVOList") |
|
67 | + */ |
|
68 | + private $adImageVOList; |
|
69 | 69 | |
70 | - /** |
|
71 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdTextVOListItem>, "adTextVOList") |
|
72 | - */ |
|
73 | - private $adTextVOList; |
|
70 | + /** |
|
71 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdTextVOListItem>, "adTextVOList") |
|
72 | + */ |
|
73 | + private $adTextVOList; |
|
74 | 74 | |
75 | - /** |
|
76 | - * @JsonProperty(Long, "creativeSpecificationId") |
|
77 | - */ |
|
78 | - private $creativeSpecificationId; |
|
75 | + /** |
|
76 | + * @JsonProperty(Long, "creativeSpecificationId") |
|
77 | + */ |
|
78 | + private $creativeSpecificationId; |
|
79 | 79 | |
80 | - public function setAdImageVOList($adImageVOList) |
|
81 | - { |
|
82 | - $this->adImageVOList = $adImageVOList; |
|
83 | - } |
|
80 | + public function setAdImageVOList($adImageVOList) |
|
81 | + { |
|
82 | + $this->adImageVOList = $adImageVOList; |
|
83 | + } |
|
84 | 84 | |
85 | - public function setAdTextVOList($adTextVOList) |
|
86 | - { |
|
87 | - $this->adTextVOList = $adTextVOList; |
|
88 | - } |
|
85 | + public function setAdTextVOList($adTextVOList) |
|
86 | + { |
|
87 | + $this->adTextVOList = $adTextVOList; |
|
88 | + } |
|
89 | 89 | |
90 | - public function setCreativeSpecificationId($creativeSpecificationId) |
|
91 | - { |
|
92 | - $this->creativeSpecificationId = $creativeSpecificationId; |
|
93 | - } |
|
90 | + public function setCreativeSpecificationId($creativeSpecificationId) |
|
91 | + { |
|
92 | + $this->creativeSpecificationId = $creativeSpecificationId; |
|
93 | + } |
|
94 | 94 | |
95 | 95 | } |
96 | 96 | |
97 | 97 | class PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdImageVOListItem extends PopBaseJsonEntity |
98 | 98 | { |
99 | 99 | |
100 | - public function __construct() |
|
101 | - { |
|
100 | + public function __construct() |
|
101 | + { |
|
102 | 102 | |
103 | - } |
|
103 | + } |
|
104 | 104 | |
105 | - /** |
|
106 | - * @JsonProperty(String, "imageUrl") |
|
107 | - */ |
|
108 | - private $imageUrl; |
|
105 | + /** |
|
106 | + * @JsonProperty(String, "imageUrl") |
|
107 | + */ |
|
108 | + private $imageUrl; |
|
109 | 109 | |
110 | - public function setImageUrl($imageUrl) |
|
111 | - { |
|
112 | - $this->imageUrl = $imageUrl; |
|
113 | - } |
|
110 | + public function setImageUrl($imageUrl) |
|
111 | + { |
|
112 | + $this->imageUrl = $imageUrl; |
|
113 | + } |
|
114 | 114 | |
115 | 115 | } |
116 | 116 | |
117 | 117 | class PddAdApiUnitCreativeCreateRequest_AdCreativeCreateMessageAdTextVOListItem extends PopBaseJsonEntity |
118 | 118 | { |
119 | 119 | |
120 | - public function __construct() |
|
121 | - { |
|
120 | + public function __construct() |
|
121 | + { |
|
122 | 122 | |
123 | - } |
|
123 | + } |
|
124 | 124 | |
125 | - /** |
|
126 | - * @JsonProperty(String, "text") |
|
127 | - */ |
|
128 | - private $text; |
|
125 | + /** |
|
126 | + * @JsonProperty(String, "text") |
|
127 | + */ |
|
128 | + private $text; |
|
129 | 129 | |
130 | - public function setText($text) |
|
131 | - { |
|
132 | - $this->text = $text; |
|
133 | - } |
|
130 | + public function setText($text) |
|
131 | + { |
|
132 | + $this->text = $text; |
|
133 | + } |
|
134 | 134 | |
135 | 135 | } |