@@ -7,38 +7,38 @@ |
||
7 | 7 | class PddTrainQueryOrderDetailRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "pdd_order_id") |
|
15 | - */ |
|
16 | - private $pddOrderId; |
|
17 | - |
|
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
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.train.query.order.detail"; |
|
37 | - } |
|
38 | - |
|
39 | - public function setPddOrderId($pddOrderId) |
|
40 | - { |
|
41 | - $this->pddOrderId = $pddOrderId; |
|
42 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "pdd_order_id") |
|
15 | + */ |
|
16 | + private $pddOrderId; |
|
17 | + |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
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.train.query.order.detail"; |
|
37 | + } |
|
38 | + |
|
39 | + public function setPddOrderId($pddOrderId) |
|
40 | + { |
|
41 | + $this->pddOrderId = $pddOrderId; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
@@ -7,350 +7,350 @@ |
||
7 | 7 | class PddTrainCreateOtcbookRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "depart_station") |
|
15 | - */ |
|
16 | - private $departStation; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "arrive_station") |
|
20 | - */ |
|
21 | - private $arriveStation; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "train_date") |
|
25 | - */ |
|
26 | - private $trainDate; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "train_no") |
|
30 | - */ |
|
31 | - private $trainNo; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "depart_time") |
|
35 | - */ |
|
36 | - private $departTime; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "arrive_time") |
|
40 | - */ |
|
41 | - private $arriveTime; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "accept_other_seat") |
|
45 | - */ |
|
46 | - private $acceptOtherSeat; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(Integer, "accept_stand_seat") |
|
50 | - */ |
|
51 | - private $acceptStandSeat; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(String, "pdd_order_id") |
|
55 | - */ |
|
56 | - private $pddOrderId; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCreateOtcbookRequest_OtcChooseSeatItem>, "otc_choose_seat") |
|
60 | - */ |
|
61 | - private $otcChooseSeat; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCreateOtcbookRequest_PassengerInfosItem>, "passenger_infos") |
|
65 | - */ |
|
66 | - private $passengerInfos; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(String, "request_id") |
|
70 | - */ |
|
71 | - private $requestId; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(String, "comment") |
|
75 | - */ |
|
76 | - private $comment; |
|
77 | - |
|
78 | - protected function setUserParams(&$params) |
|
79 | - { |
|
80 | - $this->setUserParam($params, "depart_station", $this->departStation); |
|
81 | - $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
82 | - $this->setUserParam($params, "train_date", $this->trainDate); |
|
83 | - $this->setUserParam($params, "train_no", $this->trainNo); |
|
84 | - $this->setUserParam($params, "depart_time", $this->departTime); |
|
85 | - $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
86 | - $this->setUserParam($params, "accept_other_seat", $this->acceptOtherSeat); |
|
87 | - $this->setUserParam($params, "accept_stand_seat", $this->acceptStandSeat); |
|
88 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
89 | - $this->setUserParam($params, "otc_choose_seat", $this->otcChooseSeat); |
|
90 | - $this->setUserParam($params, "passenger_infos", $this->passengerInfos); |
|
91 | - $this->setUserParam($params, "request_id", $this->requestId); |
|
92 | - $this->setUserParam($params, "comment", $this->comment); |
|
93 | - |
|
94 | - } |
|
95 | - |
|
96 | - public function getVersion() |
|
97 | - { |
|
98 | - return "V1"; |
|
99 | - } |
|
100 | - |
|
101 | - public function getDataType() |
|
102 | - { |
|
103 | - return "JSON"; |
|
104 | - } |
|
105 | - |
|
106 | - public function getType() |
|
107 | - { |
|
108 | - return "pdd.train.create.otcbook"; |
|
109 | - } |
|
110 | - |
|
111 | - public function setDepartStation($departStation) |
|
112 | - { |
|
113 | - $this->departStation = $departStation; |
|
114 | - } |
|
115 | - |
|
116 | - public function setArriveStation($arriveStation) |
|
117 | - { |
|
118 | - $this->arriveStation = $arriveStation; |
|
119 | - } |
|
120 | - |
|
121 | - public function setTrainDate($trainDate) |
|
122 | - { |
|
123 | - $this->trainDate = $trainDate; |
|
124 | - } |
|
125 | - |
|
126 | - public function setTrainNo($trainNo) |
|
127 | - { |
|
128 | - $this->trainNo = $trainNo; |
|
129 | - } |
|
130 | - |
|
131 | - public function setDepartTime($departTime) |
|
132 | - { |
|
133 | - $this->departTime = $departTime; |
|
134 | - } |
|
135 | - |
|
136 | - public function setArriveTime($arriveTime) |
|
137 | - { |
|
138 | - $this->arriveTime = $arriveTime; |
|
139 | - } |
|
140 | - |
|
141 | - public function setAcceptOtherSeat($acceptOtherSeat) |
|
142 | - { |
|
143 | - $this->acceptOtherSeat = $acceptOtherSeat; |
|
144 | - } |
|
145 | - |
|
146 | - public function setAcceptStandSeat($acceptStandSeat) |
|
147 | - { |
|
148 | - $this->acceptStandSeat = $acceptStandSeat; |
|
149 | - } |
|
150 | - |
|
151 | - public function setPddOrderId($pddOrderId) |
|
152 | - { |
|
153 | - $this->pddOrderId = $pddOrderId; |
|
154 | - } |
|
155 | - |
|
156 | - public function setOtcChooseSeat($otcChooseSeat) |
|
157 | - { |
|
158 | - $this->otcChooseSeat = $otcChooseSeat; |
|
159 | - } |
|
160 | - |
|
161 | - public function setPassengerInfos($passengerInfos) |
|
162 | - { |
|
163 | - $this->passengerInfos = $passengerInfos; |
|
164 | - } |
|
165 | - |
|
166 | - public function setRequestId($requestId) |
|
167 | - { |
|
168 | - $this->requestId = $requestId; |
|
169 | - } |
|
170 | - |
|
171 | - public function setComment($comment) |
|
172 | - { |
|
173 | - $this->comment = $comment; |
|
174 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "depart_station") |
|
15 | + */ |
|
16 | + private $departStation; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "arrive_station") |
|
20 | + */ |
|
21 | + private $arriveStation; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "train_date") |
|
25 | + */ |
|
26 | + private $trainDate; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "train_no") |
|
30 | + */ |
|
31 | + private $trainNo; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "depart_time") |
|
35 | + */ |
|
36 | + private $departTime; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "arrive_time") |
|
40 | + */ |
|
41 | + private $arriveTime; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "accept_other_seat") |
|
45 | + */ |
|
46 | + private $acceptOtherSeat; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(Integer, "accept_stand_seat") |
|
50 | + */ |
|
51 | + private $acceptStandSeat; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(String, "pdd_order_id") |
|
55 | + */ |
|
56 | + private $pddOrderId; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCreateOtcbookRequest_OtcChooseSeatItem>, "otc_choose_seat") |
|
60 | + */ |
|
61 | + private $otcChooseSeat; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCreateOtcbookRequest_PassengerInfosItem>, "passenger_infos") |
|
65 | + */ |
|
66 | + private $passengerInfos; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(String, "request_id") |
|
70 | + */ |
|
71 | + private $requestId; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(String, "comment") |
|
75 | + */ |
|
76 | + private $comment; |
|
77 | + |
|
78 | + protected function setUserParams(&$params) |
|
79 | + { |
|
80 | + $this->setUserParam($params, "depart_station", $this->departStation); |
|
81 | + $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
82 | + $this->setUserParam($params, "train_date", $this->trainDate); |
|
83 | + $this->setUserParam($params, "train_no", $this->trainNo); |
|
84 | + $this->setUserParam($params, "depart_time", $this->departTime); |
|
85 | + $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
86 | + $this->setUserParam($params, "accept_other_seat", $this->acceptOtherSeat); |
|
87 | + $this->setUserParam($params, "accept_stand_seat", $this->acceptStandSeat); |
|
88 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
89 | + $this->setUserParam($params, "otc_choose_seat", $this->otcChooseSeat); |
|
90 | + $this->setUserParam($params, "passenger_infos", $this->passengerInfos); |
|
91 | + $this->setUserParam($params, "request_id", $this->requestId); |
|
92 | + $this->setUserParam($params, "comment", $this->comment); |
|
93 | + |
|
94 | + } |
|
95 | + |
|
96 | + public function getVersion() |
|
97 | + { |
|
98 | + return "V1"; |
|
99 | + } |
|
100 | + |
|
101 | + public function getDataType() |
|
102 | + { |
|
103 | + return "JSON"; |
|
104 | + } |
|
105 | + |
|
106 | + public function getType() |
|
107 | + { |
|
108 | + return "pdd.train.create.otcbook"; |
|
109 | + } |
|
110 | + |
|
111 | + public function setDepartStation($departStation) |
|
112 | + { |
|
113 | + $this->departStation = $departStation; |
|
114 | + } |
|
115 | + |
|
116 | + public function setArriveStation($arriveStation) |
|
117 | + { |
|
118 | + $this->arriveStation = $arriveStation; |
|
119 | + } |
|
120 | + |
|
121 | + public function setTrainDate($trainDate) |
|
122 | + { |
|
123 | + $this->trainDate = $trainDate; |
|
124 | + } |
|
125 | + |
|
126 | + public function setTrainNo($trainNo) |
|
127 | + { |
|
128 | + $this->trainNo = $trainNo; |
|
129 | + } |
|
130 | + |
|
131 | + public function setDepartTime($departTime) |
|
132 | + { |
|
133 | + $this->departTime = $departTime; |
|
134 | + } |
|
135 | + |
|
136 | + public function setArriveTime($arriveTime) |
|
137 | + { |
|
138 | + $this->arriveTime = $arriveTime; |
|
139 | + } |
|
140 | + |
|
141 | + public function setAcceptOtherSeat($acceptOtherSeat) |
|
142 | + { |
|
143 | + $this->acceptOtherSeat = $acceptOtherSeat; |
|
144 | + } |
|
145 | + |
|
146 | + public function setAcceptStandSeat($acceptStandSeat) |
|
147 | + { |
|
148 | + $this->acceptStandSeat = $acceptStandSeat; |
|
149 | + } |
|
150 | + |
|
151 | + public function setPddOrderId($pddOrderId) |
|
152 | + { |
|
153 | + $this->pddOrderId = $pddOrderId; |
|
154 | + } |
|
155 | + |
|
156 | + public function setOtcChooseSeat($otcChooseSeat) |
|
157 | + { |
|
158 | + $this->otcChooseSeat = $otcChooseSeat; |
|
159 | + } |
|
160 | + |
|
161 | + public function setPassengerInfos($passengerInfos) |
|
162 | + { |
|
163 | + $this->passengerInfos = $passengerInfos; |
|
164 | + } |
|
165 | + |
|
166 | + public function setRequestId($requestId) |
|
167 | + { |
|
168 | + $this->requestId = $requestId; |
|
169 | + } |
|
170 | + |
|
171 | + public function setComment($comment) |
|
172 | + { |
|
173 | + $this->comment = $comment; |
|
174 | + } |
|
175 | 175 | |
176 | 176 | } |
177 | 177 | |
178 | 178 | class PddTrainCreateOtcbookRequest_OtcChooseSeatItem extends PopBaseJsonEntity |
179 | 179 | { |
180 | 180 | |
181 | - public function __construct() |
|
182 | - { |
|
181 | + public function __construct() |
|
182 | + { |
|
183 | 183 | |
184 | - } |
|
184 | + } |
|
185 | 185 | |
186 | - /** |
|
187 | - * @JsonProperty(Integer, "otc_choose_seat_type") |
|
188 | - */ |
|
189 | - private $otcChooseSeatType; |
|
186 | + /** |
|
187 | + * @JsonProperty(Integer, "otc_choose_seat_type") |
|
188 | + */ |
|
189 | + private $otcChooseSeatType; |
|
190 | 190 | |
191 | - /** |
|
192 | - * @JsonProperty(Integer, "count") |
|
193 | - */ |
|
194 | - private $count; |
|
191 | + /** |
|
192 | + * @JsonProperty(Integer, "count") |
|
193 | + */ |
|
194 | + private $count; |
|
195 | 195 | |
196 | - public function setOtcChooseSeatType($otcChooseSeatType) |
|
197 | - { |
|
198 | - $this->otcChooseSeatType = $otcChooseSeatType; |
|
199 | - } |
|
196 | + public function setOtcChooseSeatType($otcChooseSeatType) |
|
197 | + { |
|
198 | + $this->otcChooseSeatType = $otcChooseSeatType; |
|
199 | + } |
|
200 | 200 | |
201 | - public function setCount($count) |
|
202 | - { |
|
203 | - $this->count = $count; |
|
204 | - } |
|
201 | + public function setCount($count) |
|
202 | + { |
|
203 | + $this->count = $count; |
|
204 | + } |
|
205 | 205 | |
206 | 206 | } |
207 | 207 | |
208 | 208 | class PddTrainCreateOtcbookRequest_PassengerInfosItem extends PopBaseJsonEntity |
209 | 209 | { |
210 | 210 | |
211 | - public function __construct() |
|
212 | - { |
|
213 | - |
|
214 | - } |
|
215 | - |
|
216 | - /** |
|
217 | - * @JsonProperty(String, "card_type") |
|
218 | - */ |
|
219 | - private $cardType; |
|
220 | - |
|
221 | - /** |
|
222 | - * @JsonProperty(String, "card_no") |
|
223 | - */ |
|
224 | - private $cardNo; |
|
225 | - |
|
226 | - /** |
|
227 | - * @JsonProperty(String, "name") |
|
228 | - */ |
|
229 | - private $name; |
|
230 | - |
|
231 | - /** |
|
232 | - * @JsonProperty(Integer, "ticket_type") |
|
233 | - */ |
|
234 | - private $ticketType; |
|
235 | - |
|
236 | - /** |
|
237 | - * @JsonProperty(Integer, "seat_type") |
|
238 | - */ |
|
239 | - private $seatType; |
|
240 | - |
|
241 | - /** |
|
242 | - * @JsonProperty(Long, "ticket_price") |
|
243 | - */ |
|
244 | - private $ticketPrice; |
|
245 | - |
|
246 | - /** |
|
247 | - * @JsonProperty(String, "sub_pdd_order_id") |
|
248 | - */ |
|
249 | - private $subPddOrderId; |
|
250 | - |
|
251 | - /** |
|
252 | - * @JsonProperty(String, "birthday") |
|
253 | - */ |
|
254 | - private $birthday; |
|
255 | - |
|
256 | - /** |
|
257 | - * @JsonProperty(String, "effective_date") |
|
258 | - */ |
|
259 | - private $effectiveDate; |
|
260 | - |
|
261 | - /** |
|
262 | - * @JsonProperty(String, "mobile") |
|
263 | - */ |
|
264 | - private $mobile; |
|
265 | - |
|
266 | - /** |
|
267 | - * @JsonProperty(String, "sex") |
|
268 | - */ |
|
269 | - private $sex; |
|
270 | - |
|
271 | - /** |
|
272 | - * @JsonProperty(String, "country") |
|
273 | - */ |
|
274 | - private $country; |
|
275 | - |
|
276 | - /** |
|
277 | - * @JsonProperty(String, "email") |
|
278 | - */ |
|
279 | - private $email; |
|
280 | - |
|
281 | - /** |
|
282 | - * @JsonProperty(String, "comment") |
|
283 | - */ |
|
284 | - private $comment; |
|
285 | - |
|
286 | - public function setCardType($cardType) |
|
287 | - { |
|
288 | - $this->cardType = $cardType; |
|
289 | - } |
|
290 | - |
|
291 | - public function setCardNo($cardNo) |
|
292 | - { |
|
293 | - $this->cardNo = $cardNo; |
|
294 | - } |
|
295 | - |
|
296 | - public function setName($name) |
|
297 | - { |
|
298 | - $this->name = $name; |
|
299 | - } |
|
300 | - |
|
301 | - public function setTicketType($ticketType) |
|
302 | - { |
|
303 | - $this->ticketType = $ticketType; |
|
304 | - } |
|
305 | - |
|
306 | - public function setSeatType($seatType) |
|
307 | - { |
|
308 | - $this->seatType = $seatType; |
|
309 | - } |
|
310 | - |
|
311 | - public function setTicketPrice($ticketPrice) |
|
312 | - { |
|
313 | - $this->ticketPrice = $ticketPrice; |
|
314 | - } |
|
315 | - |
|
316 | - public function setSubPddOrderId($subPddOrderId) |
|
317 | - { |
|
318 | - $this->subPddOrderId = $subPddOrderId; |
|
319 | - } |
|
320 | - |
|
321 | - public function setBirthday($birthday) |
|
322 | - { |
|
323 | - $this->birthday = $birthday; |
|
324 | - } |
|
325 | - |
|
326 | - public function setEffectiveDate($effectiveDate) |
|
327 | - { |
|
328 | - $this->effectiveDate = $effectiveDate; |
|
329 | - } |
|
330 | - |
|
331 | - public function setMobile($mobile) |
|
332 | - { |
|
333 | - $this->mobile = $mobile; |
|
334 | - } |
|
335 | - |
|
336 | - public function setSex($sex) |
|
337 | - { |
|
338 | - $this->sex = $sex; |
|
339 | - } |
|
340 | - |
|
341 | - public function setCountry($country) |
|
342 | - { |
|
343 | - $this->country = $country; |
|
344 | - } |
|
345 | - |
|
346 | - public function setEmail($email) |
|
347 | - { |
|
348 | - $this->email = $email; |
|
349 | - } |
|
350 | - |
|
351 | - public function setComment($comment) |
|
352 | - { |
|
353 | - $this->comment = $comment; |
|
354 | - } |
|
211 | + public function __construct() |
|
212 | + { |
|
213 | + |
|
214 | + } |
|
215 | + |
|
216 | + /** |
|
217 | + * @JsonProperty(String, "card_type") |
|
218 | + */ |
|
219 | + private $cardType; |
|
220 | + |
|
221 | + /** |
|
222 | + * @JsonProperty(String, "card_no") |
|
223 | + */ |
|
224 | + private $cardNo; |
|
225 | + |
|
226 | + /** |
|
227 | + * @JsonProperty(String, "name") |
|
228 | + */ |
|
229 | + private $name; |
|
230 | + |
|
231 | + /** |
|
232 | + * @JsonProperty(Integer, "ticket_type") |
|
233 | + */ |
|
234 | + private $ticketType; |
|
235 | + |
|
236 | + /** |
|
237 | + * @JsonProperty(Integer, "seat_type") |
|
238 | + */ |
|
239 | + private $seatType; |
|
240 | + |
|
241 | + /** |
|
242 | + * @JsonProperty(Long, "ticket_price") |
|
243 | + */ |
|
244 | + private $ticketPrice; |
|
245 | + |
|
246 | + /** |
|
247 | + * @JsonProperty(String, "sub_pdd_order_id") |
|
248 | + */ |
|
249 | + private $subPddOrderId; |
|
250 | + |
|
251 | + /** |
|
252 | + * @JsonProperty(String, "birthday") |
|
253 | + */ |
|
254 | + private $birthday; |
|
255 | + |
|
256 | + /** |
|
257 | + * @JsonProperty(String, "effective_date") |
|
258 | + */ |
|
259 | + private $effectiveDate; |
|
260 | + |
|
261 | + /** |
|
262 | + * @JsonProperty(String, "mobile") |
|
263 | + */ |
|
264 | + private $mobile; |
|
265 | + |
|
266 | + /** |
|
267 | + * @JsonProperty(String, "sex") |
|
268 | + */ |
|
269 | + private $sex; |
|
270 | + |
|
271 | + /** |
|
272 | + * @JsonProperty(String, "country") |
|
273 | + */ |
|
274 | + private $country; |
|
275 | + |
|
276 | + /** |
|
277 | + * @JsonProperty(String, "email") |
|
278 | + */ |
|
279 | + private $email; |
|
280 | + |
|
281 | + /** |
|
282 | + * @JsonProperty(String, "comment") |
|
283 | + */ |
|
284 | + private $comment; |
|
285 | + |
|
286 | + public function setCardType($cardType) |
|
287 | + { |
|
288 | + $this->cardType = $cardType; |
|
289 | + } |
|
290 | + |
|
291 | + public function setCardNo($cardNo) |
|
292 | + { |
|
293 | + $this->cardNo = $cardNo; |
|
294 | + } |
|
295 | + |
|
296 | + public function setName($name) |
|
297 | + { |
|
298 | + $this->name = $name; |
|
299 | + } |
|
300 | + |
|
301 | + public function setTicketType($ticketType) |
|
302 | + { |
|
303 | + $this->ticketType = $ticketType; |
|
304 | + } |
|
305 | + |
|
306 | + public function setSeatType($seatType) |
|
307 | + { |
|
308 | + $this->seatType = $seatType; |
|
309 | + } |
|
310 | + |
|
311 | + public function setTicketPrice($ticketPrice) |
|
312 | + { |
|
313 | + $this->ticketPrice = $ticketPrice; |
|
314 | + } |
|
315 | + |
|
316 | + public function setSubPddOrderId($subPddOrderId) |
|
317 | + { |
|
318 | + $this->subPddOrderId = $subPddOrderId; |
|
319 | + } |
|
320 | + |
|
321 | + public function setBirthday($birthday) |
|
322 | + { |
|
323 | + $this->birthday = $birthday; |
|
324 | + } |
|
325 | + |
|
326 | + public function setEffectiveDate($effectiveDate) |
|
327 | + { |
|
328 | + $this->effectiveDate = $effectiveDate; |
|
329 | + } |
|
330 | + |
|
331 | + public function setMobile($mobile) |
|
332 | + { |
|
333 | + $this->mobile = $mobile; |
|
334 | + } |
|
335 | + |
|
336 | + public function setSex($sex) |
|
337 | + { |
|
338 | + $this->sex = $sex; |
|
339 | + } |
|
340 | + |
|
341 | + public function setCountry($country) |
|
342 | + { |
|
343 | + $this->country = $country; |
|
344 | + } |
|
345 | + |
|
346 | + public function setEmail($email) |
|
347 | + { |
|
348 | + $this->email = $email; |
|
349 | + } |
|
350 | + |
|
351 | + public function setComment($comment) |
|
352 | + { |
|
353 | + $this->comment = $comment; |
|
354 | + } |
|
355 | 355 | |
356 | 356 | } |
@@ -7,348 +7,348 @@ |
||
7 | 7 | class PddWaybillUpdateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequest, "param_waybill_cloud_print_update_request") |
|
15 | - */ |
|
16 | - private $paramWaybillCloudPrintUpdateRequest; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequest, "param_waybill_cloud_print_update_request") |
|
15 | + */ |
|
16 | + private $paramWaybillCloudPrintUpdateRequest; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "param_waybill_cloud_print_update_request", $this->paramWaybillCloudPrintUpdateRequest); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "param_waybill_cloud_print_update_request", $this->paramWaybillCloudPrintUpdateRequest); |
|
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.waybill.update"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.waybill.update"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setParamWaybillCloudPrintUpdateRequest($paramWaybillCloudPrintUpdateRequest) |
|
40 | - { |
|
41 | - $this->paramWaybillCloudPrintUpdateRequest = $paramWaybillCloudPrintUpdateRequest; |
|
42 | - } |
|
39 | + public function setParamWaybillCloudPrintUpdateRequest($paramWaybillCloudPrintUpdateRequest) |
|
40 | + { |
|
41 | + $this->paramWaybillCloudPrintUpdateRequest = $paramWaybillCloudPrintUpdateRequest; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequest extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(String, "object_id") |
|
56 | - */ |
|
57 | - private $objectId; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestPackageInfo, "package_info") |
|
61 | - */ |
|
62 | - private $packageInfo; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestRecipient, "recipient") |
|
66 | - */ |
|
67 | - private $recipient; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestSender, "sender") |
|
71 | - */ |
|
72 | - private $sender; |
|
73 | - |
|
74 | - /** |
|
75 | - * @JsonProperty(String, "template_url") |
|
76 | - */ |
|
77 | - private $templateUrl; |
|
78 | - |
|
79 | - /** |
|
80 | - * @JsonProperty(String, "waybill_code") |
|
81 | - */ |
|
82 | - private $waybillCode; |
|
83 | - |
|
84 | - /** |
|
85 | - * @JsonProperty(String, "wp_code") |
|
86 | - */ |
|
87 | - private $wpCode; |
|
88 | - |
|
89 | - public function setObjectId($objectId) |
|
90 | - { |
|
91 | - $this->objectId = $objectId; |
|
92 | - } |
|
93 | - |
|
94 | - public function setPackageInfo($packageInfo) |
|
95 | - { |
|
96 | - $this->packageInfo = $packageInfo; |
|
97 | - } |
|
98 | - |
|
99 | - public function setRecipient($recipient) |
|
100 | - { |
|
101 | - $this->recipient = $recipient; |
|
102 | - } |
|
103 | - |
|
104 | - public function setSender($sender) |
|
105 | - { |
|
106 | - $this->sender = $sender; |
|
107 | - } |
|
108 | - |
|
109 | - public function setTemplateUrl($templateUrl) |
|
110 | - { |
|
111 | - $this->templateUrl = $templateUrl; |
|
112 | - } |
|
113 | - |
|
114 | - public function setWaybillCode($waybillCode) |
|
115 | - { |
|
116 | - $this->waybillCode = $waybillCode; |
|
117 | - } |
|
118 | - |
|
119 | - public function setWpCode($wpCode) |
|
120 | - { |
|
121 | - $this->wpCode = $wpCode; |
|
122 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "object_id") |
|
56 | + */ |
|
57 | + private $objectId; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestPackageInfo, "package_info") |
|
61 | + */ |
|
62 | + private $packageInfo; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestRecipient, "recipient") |
|
66 | + */ |
|
67 | + private $recipient; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestSender, "sender") |
|
71 | + */ |
|
72 | + private $sender; |
|
73 | + |
|
74 | + /** |
|
75 | + * @JsonProperty(String, "template_url") |
|
76 | + */ |
|
77 | + private $templateUrl; |
|
78 | + |
|
79 | + /** |
|
80 | + * @JsonProperty(String, "waybill_code") |
|
81 | + */ |
|
82 | + private $waybillCode; |
|
83 | + |
|
84 | + /** |
|
85 | + * @JsonProperty(String, "wp_code") |
|
86 | + */ |
|
87 | + private $wpCode; |
|
88 | + |
|
89 | + public function setObjectId($objectId) |
|
90 | + { |
|
91 | + $this->objectId = $objectId; |
|
92 | + } |
|
93 | + |
|
94 | + public function setPackageInfo($packageInfo) |
|
95 | + { |
|
96 | + $this->packageInfo = $packageInfo; |
|
97 | + } |
|
98 | + |
|
99 | + public function setRecipient($recipient) |
|
100 | + { |
|
101 | + $this->recipient = $recipient; |
|
102 | + } |
|
103 | + |
|
104 | + public function setSender($sender) |
|
105 | + { |
|
106 | + $this->sender = $sender; |
|
107 | + } |
|
108 | + |
|
109 | + public function setTemplateUrl($templateUrl) |
|
110 | + { |
|
111 | + $this->templateUrl = $templateUrl; |
|
112 | + } |
|
113 | + |
|
114 | + public function setWaybillCode($waybillCode) |
|
115 | + { |
|
116 | + $this->waybillCode = $waybillCode; |
|
117 | + } |
|
118 | + |
|
119 | + public function setWpCode($wpCode) |
|
120 | + { |
|
121 | + $this->wpCode = $wpCode; |
|
122 | + } |
|
123 | 123 | |
124 | 124 | } |
125 | 125 | |
126 | 126 | class PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestPackageInfo extends PopBaseJsonEntity |
127 | 127 | { |
128 | 128 | |
129 | - public function __construct() |
|
130 | - { |
|
129 | + public function __construct() |
|
130 | + { |
|
131 | 131 | |
132 | - } |
|
132 | + } |
|
133 | 133 | |
134 | - /** |
|
135 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestPackageInfoItemsItem>, "items") |
|
136 | - */ |
|
137 | - private $items; |
|
134 | + /** |
|
135 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestPackageInfoItemsItem>, "items") |
|
136 | + */ |
|
137 | + private $items; |
|
138 | 138 | |
139 | - /** |
|
140 | - * @JsonProperty(Long, "volume") |
|
141 | - */ |
|
142 | - private $volume; |
|
139 | + /** |
|
140 | + * @JsonProperty(Long, "volume") |
|
141 | + */ |
|
142 | + private $volume; |
|
143 | 143 | |
144 | - /** |
|
145 | - * @JsonProperty(Long, "weight") |
|
146 | - */ |
|
147 | - private $weight; |
|
144 | + /** |
|
145 | + * @JsonProperty(Long, "weight") |
|
146 | + */ |
|
147 | + private $weight; |
|
148 | 148 | |
149 | - public function setItems($items) |
|
150 | - { |
|
151 | - $this->items = $items; |
|
152 | - } |
|
149 | + public function setItems($items) |
|
150 | + { |
|
151 | + $this->items = $items; |
|
152 | + } |
|
153 | 153 | |
154 | - public function setVolume($volume) |
|
155 | - { |
|
156 | - $this->volume = $volume; |
|
157 | - } |
|
154 | + public function setVolume($volume) |
|
155 | + { |
|
156 | + $this->volume = $volume; |
|
157 | + } |
|
158 | 158 | |
159 | - public function setWeight($weight) |
|
160 | - { |
|
161 | - $this->weight = $weight; |
|
162 | - } |
|
159 | + public function setWeight($weight) |
|
160 | + { |
|
161 | + $this->weight = $weight; |
|
162 | + } |
|
163 | 163 | |
164 | 164 | } |
165 | 165 | |
166 | 166 | class PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestPackageInfoItemsItem extends PopBaseJsonEntity |
167 | 167 | { |
168 | 168 | |
169 | - public function __construct() |
|
170 | - { |
|
169 | + public function __construct() |
|
170 | + { |
|
171 | 171 | |
172 | - } |
|
172 | + } |
|
173 | 173 | |
174 | - /** |
|
175 | - * @JsonProperty(Integer, "count") |
|
176 | - */ |
|
177 | - private $count; |
|
174 | + /** |
|
175 | + * @JsonProperty(Integer, "count") |
|
176 | + */ |
|
177 | + private $count; |
|
178 | 178 | |
179 | - /** |
|
180 | - * @JsonProperty(String, "name") |
|
181 | - */ |
|
182 | - private $name; |
|
179 | + /** |
|
180 | + * @JsonProperty(String, "name") |
|
181 | + */ |
|
182 | + private $name; |
|
183 | 183 | |
184 | - public function setCount($count) |
|
185 | - { |
|
186 | - $this->count = $count; |
|
187 | - } |
|
184 | + public function setCount($count) |
|
185 | + { |
|
186 | + $this->count = $count; |
|
187 | + } |
|
188 | 188 | |
189 | - public function setName($name) |
|
190 | - { |
|
191 | - $this->name = $name; |
|
192 | - } |
|
189 | + public function setName($name) |
|
190 | + { |
|
191 | + $this->name = $name; |
|
192 | + } |
|
193 | 193 | |
194 | 194 | } |
195 | 195 | |
196 | 196 | class PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestRecipient extends PopBaseJsonEntity |
197 | 197 | { |
198 | 198 | |
199 | - public function __construct() |
|
200 | - { |
|
201 | - |
|
202 | - } |
|
203 | - |
|
204 | - /** |
|
205 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestRecipientAddress, "address") |
|
206 | - */ |
|
207 | - private $address; |
|
208 | - |
|
209 | - /** |
|
210 | - * @JsonProperty(String, "mobile") |
|
211 | - */ |
|
212 | - private $mobile; |
|
213 | - |
|
214 | - /** |
|
215 | - * @JsonProperty(String, "name") |
|
216 | - */ |
|
217 | - private $name; |
|
218 | - |
|
219 | - /** |
|
220 | - * @JsonProperty(String, "phone") |
|
221 | - */ |
|
222 | - private $phone; |
|
223 | - |
|
224 | - public function setAddress($address) |
|
225 | - { |
|
226 | - $this->address = $address; |
|
227 | - } |
|
228 | - |
|
229 | - public function setMobile($mobile) |
|
230 | - { |
|
231 | - $this->mobile = $mobile; |
|
232 | - } |
|
233 | - |
|
234 | - public function setName($name) |
|
235 | - { |
|
236 | - $this->name = $name; |
|
237 | - } |
|
238 | - |
|
239 | - public function setPhone($phone) |
|
240 | - { |
|
241 | - $this->phone = $phone; |
|
242 | - } |
|
199 | + public function __construct() |
|
200 | + { |
|
201 | + |
|
202 | + } |
|
203 | + |
|
204 | + /** |
|
205 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestRecipientAddress, "address") |
|
206 | + */ |
|
207 | + private $address; |
|
208 | + |
|
209 | + /** |
|
210 | + * @JsonProperty(String, "mobile") |
|
211 | + */ |
|
212 | + private $mobile; |
|
213 | + |
|
214 | + /** |
|
215 | + * @JsonProperty(String, "name") |
|
216 | + */ |
|
217 | + private $name; |
|
218 | + |
|
219 | + /** |
|
220 | + * @JsonProperty(String, "phone") |
|
221 | + */ |
|
222 | + private $phone; |
|
223 | + |
|
224 | + public function setAddress($address) |
|
225 | + { |
|
226 | + $this->address = $address; |
|
227 | + } |
|
228 | + |
|
229 | + public function setMobile($mobile) |
|
230 | + { |
|
231 | + $this->mobile = $mobile; |
|
232 | + } |
|
233 | + |
|
234 | + public function setName($name) |
|
235 | + { |
|
236 | + $this->name = $name; |
|
237 | + } |
|
238 | + |
|
239 | + public function setPhone($phone) |
|
240 | + { |
|
241 | + $this->phone = $phone; |
|
242 | + } |
|
243 | 243 | |
244 | 244 | } |
245 | 245 | |
246 | 246 | class PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestRecipientAddress extends PopBaseJsonEntity |
247 | 247 | { |
248 | 248 | |
249 | - public function __construct() |
|
250 | - { |
|
251 | - |
|
252 | - } |
|
253 | - |
|
254 | - /** |
|
255 | - * @JsonProperty(String, "city") |
|
256 | - */ |
|
257 | - private $city; |
|
258 | - |
|
259 | - /** |
|
260 | - * @JsonProperty(String, "detail") |
|
261 | - */ |
|
262 | - private $detail; |
|
263 | - |
|
264 | - /** |
|
265 | - * @JsonProperty(String, "district") |
|
266 | - */ |
|
267 | - private $district; |
|
268 | - |
|
269 | - /** |
|
270 | - * @JsonProperty(String, "province") |
|
271 | - */ |
|
272 | - private $province; |
|
273 | - |
|
274 | - /** |
|
275 | - * @JsonProperty(String, "town") |
|
276 | - */ |
|
277 | - private $town; |
|
278 | - |
|
279 | - /** |
|
280 | - * @JsonProperty(String, "country") |
|
281 | - */ |
|
282 | - private $country; |
|
283 | - |
|
284 | - public function setCity($city) |
|
285 | - { |
|
286 | - $this->city = $city; |
|
287 | - } |
|
288 | - |
|
289 | - public function setDetail($detail) |
|
290 | - { |
|
291 | - $this->detail = $detail; |
|
292 | - } |
|
293 | - |
|
294 | - public function setDistrict($district) |
|
295 | - { |
|
296 | - $this->district = $district; |
|
297 | - } |
|
298 | - |
|
299 | - public function setProvince($province) |
|
300 | - { |
|
301 | - $this->province = $province; |
|
302 | - } |
|
303 | - |
|
304 | - public function setTown($town) |
|
305 | - { |
|
306 | - $this->town = $town; |
|
307 | - } |
|
308 | - |
|
309 | - public function setCountry($country) |
|
310 | - { |
|
311 | - $this->country = $country; |
|
312 | - } |
|
249 | + public function __construct() |
|
250 | + { |
|
251 | + |
|
252 | + } |
|
253 | + |
|
254 | + /** |
|
255 | + * @JsonProperty(String, "city") |
|
256 | + */ |
|
257 | + private $city; |
|
258 | + |
|
259 | + /** |
|
260 | + * @JsonProperty(String, "detail") |
|
261 | + */ |
|
262 | + private $detail; |
|
263 | + |
|
264 | + /** |
|
265 | + * @JsonProperty(String, "district") |
|
266 | + */ |
|
267 | + private $district; |
|
268 | + |
|
269 | + /** |
|
270 | + * @JsonProperty(String, "province") |
|
271 | + */ |
|
272 | + private $province; |
|
273 | + |
|
274 | + /** |
|
275 | + * @JsonProperty(String, "town") |
|
276 | + */ |
|
277 | + private $town; |
|
278 | + |
|
279 | + /** |
|
280 | + * @JsonProperty(String, "country") |
|
281 | + */ |
|
282 | + private $country; |
|
283 | + |
|
284 | + public function setCity($city) |
|
285 | + { |
|
286 | + $this->city = $city; |
|
287 | + } |
|
288 | + |
|
289 | + public function setDetail($detail) |
|
290 | + { |
|
291 | + $this->detail = $detail; |
|
292 | + } |
|
293 | + |
|
294 | + public function setDistrict($district) |
|
295 | + { |
|
296 | + $this->district = $district; |
|
297 | + } |
|
298 | + |
|
299 | + public function setProvince($province) |
|
300 | + { |
|
301 | + $this->province = $province; |
|
302 | + } |
|
303 | + |
|
304 | + public function setTown($town) |
|
305 | + { |
|
306 | + $this->town = $town; |
|
307 | + } |
|
308 | + |
|
309 | + public function setCountry($country) |
|
310 | + { |
|
311 | + $this->country = $country; |
|
312 | + } |
|
313 | 313 | |
314 | 314 | } |
315 | 315 | |
316 | 316 | class PddWaybillUpdateRequest_ParamWaybillCloudPrintUpdateRequestSender extends PopBaseJsonEntity |
317 | 317 | { |
318 | 318 | |
319 | - public function __construct() |
|
320 | - { |
|
321 | - |
|
322 | - } |
|
323 | - |
|
324 | - /** |
|
325 | - * @JsonProperty(String, "mobile") |
|
326 | - */ |
|
327 | - private $mobile; |
|
328 | - |
|
329 | - /** |
|
330 | - * @JsonProperty(String, "name") |
|
331 | - */ |
|
332 | - private $name; |
|
333 | - |
|
334 | - /** |
|
335 | - * @JsonProperty(String, "phone") |
|
336 | - */ |
|
337 | - private $phone; |
|
338 | - |
|
339 | - public function setMobile($mobile) |
|
340 | - { |
|
341 | - $this->mobile = $mobile; |
|
342 | - } |
|
343 | - |
|
344 | - public function setName($name) |
|
345 | - { |
|
346 | - $this->name = $name; |
|
347 | - } |
|
348 | - |
|
349 | - public function setPhone($phone) |
|
350 | - { |
|
351 | - $this->phone = $phone; |
|
352 | - } |
|
319 | + public function __construct() |
|
320 | + { |
|
321 | + |
|
322 | + } |
|
323 | + |
|
324 | + /** |
|
325 | + * @JsonProperty(String, "mobile") |
|
326 | + */ |
|
327 | + private $mobile; |
|
328 | + |
|
329 | + /** |
|
330 | + * @JsonProperty(String, "name") |
|
331 | + */ |
|
332 | + private $name; |
|
333 | + |
|
334 | + /** |
|
335 | + * @JsonProperty(String, "phone") |
|
336 | + */ |
|
337 | + private $phone; |
|
338 | + |
|
339 | + public function setMobile($mobile) |
|
340 | + { |
|
341 | + $this->mobile = $mobile; |
|
342 | + } |
|
343 | + |
|
344 | + public function setName($name) |
|
345 | + { |
|
346 | + $this->name = $name; |
|
347 | + } |
|
348 | + |
|
349 | + public function setPhone($phone) |
|
350 | + { |
|
351 | + $this->phone = $phone; |
|
352 | + } |
|
353 | 353 | |
354 | 354 | } |
@@ -7,307 +7,307 @@ |
||
7 | 7 | class PddTrainGrabCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "pdd_order_id") |
|
15 | - */ |
|
16 | - private $pddOrderId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "end_time") |
|
20 | - */ |
|
21 | - private $endTime; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(List<String>, "depart_dates") |
|
25 | - */ |
|
26 | - private $departDates; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "have_account") |
|
30 | - */ |
|
31 | - private $haveAccount; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(String, "crh_account") |
|
35 | - */ |
|
36 | - private $crhAccount; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(String, "crh_password") |
|
40 | - */ |
|
41 | - private $crhPassword; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "sum_ticket_price") |
|
45 | - */ |
|
46 | - private $sumTicketPrice; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(List<Integer>, "seat_types") |
|
50 | - */ |
|
51 | - private $seatTypes; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainGrabCreateRequest_TravelInfosItem>, "travel_infos") |
|
55 | - */ |
|
56 | - private $travelInfos; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainGrabCreateRequest_PassengerInfosItem>, "passenger_infos") |
|
60 | - */ |
|
61 | - private $passengerInfos; |
|
62 | - |
|
63 | - protected function setUserParams(&$params) |
|
64 | - { |
|
65 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
66 | - $this->setUserParam($params, "end_time", $this->endTime); |
|
67 | - $this->setUserParam($params, "depart_dates", $this->departDates); |
|
68 | - $this->setUserParam($params, "have_account", $this->haveAccount); |
|
69 | - $this->setUserParam($params, "crh_account", $this->crhAccount); |
|
70 | - $this->setUserParam($params, "crh_password", $this->crhPassword); |
|
71 | - $this->setUserParam($params, "sum_ticket_price", $this->sumTicketPrice); |
|
72 | - $this->setUserParam($params, "seat_types", $this->seatTypes); |
|
73 | - $this->setUserParam($params, "travel_infos", $this->travelInfos); |
|
74 | - $this->setUserParam($params, "passenger_infos", $this->passengerInfos); |
|
75 | - |
|
76 | - } |
|
77 | - |
|
78 | - public function getVersion() |
|
79 | - { |
|
80 | - return "V1"; |
|
81 | - } |
|
82 | - |
|
83 | - public function getDataType() |
|
84 | - { |
|
85 | - return "JSON"; |
|
86 | - } |
|
87 | - |
|
88 | - public function getType() |
|
89 | - { |
|
90 | - return "pdd.train.grab.create"; |
|
91 | - } |
|
92 | - |
|
93 | - public function setPddOrderId($pddOrderId) |
|
94 | - { |
|
95 | - $this->pddOrderId = $pddOrderId; |
|
96 | - } |
|
97 | - |
|
98 | - public function setEndTime($endTime) |
|
99 | - { |
|
100 | - $this->endTime = $endTime; |
|
101 | - } |
|
102 | - |
|
103 | - public function setDepartDates($departDates) |
|
104 | - { |
|
105 | - $this->departDates = $departDates; |
|
106 | - } |
|
107 | - |
|
108 | - public function setHaveAccount($haveAccount) |
|
109 | - { |
|
110 | - $this->haveAccount = $haveAccount; |
|
111 | - } |
|
112 | - |
|
113 | - public function setCrhAccount($crhAccount) |
|
114 | - { |
|
115 | - $this->crhAccount = $crhAccount; |
|
116 | - } |
|
117 | - |
|
118 | - public function setCrhPassword($crhPassword) |
|
119 | - { |
|
120 | - $this->crhPassword = $crhPassword; |
|
121 | - } |
|
122 | - |
|
123 | - public function setSumTicketPrice($sumTicketPrice) |
|
124 | - { |
|
125 | - $this->sumTicketPrice = $sumTicketPrice; |
|
126 | - } |
|
127 | - |
|
128 | - public function setSeatTypes($seatTypes) |
|
129 | - { |
|
130 | - $this->seatTypes = $seatTypes; |
|
131 | - } |
|
132 | - |
|
133 | - public function setTravelInfos($travelInfos) |
|
134 | - { |
|
135 | - $this->travelInfos = $travelInfos; |
|
136 | - } |
|
137 | - |
|
138 | - public function setPassengerInfos($passengerInfos) |
|
139 | - { |
|
140 | - $this->passengerInfos = $passengerInfos; |
|
141 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "pdd_order_id") |
|
15 | + */ |
|
16 | + private $pddOrderId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "end_time") |
|
20 | + */ |
|
21 | + private $endTime; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(List<String>, "depart_dates") |
|
25 | + */ |
|
26 | + private $departDates; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "have_account") |
|
30 | + */ |
|
31 | + private $haveAccount; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(String, "crh_account") |
|
35 | + */ |
|
36 | + private $crhAccount; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(String, "crh_password") |
|
40 | + */ |
|
41 | + private $crhPassword; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "sum_ticket_price") |
|
45 | + */ |
|
46 | + private $sumTicketPrice; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(List<Integer>, "seat_types") |
|
50 | + */ |
|
51 | + private $seatTypes; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainGrabCreateRequest_TravelInfosItem>, "travel_infos") |
|
55 | + */ |
|
56 | + private $travelInfos; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainGrabCreateRequest_PassengerInfosItem>, "passenger_infos") |
|
60 | + */ |
|
61 | + private $passengerInfos; |
|
62 | + |
|
63 | + protected function setUserParams(&$params) |
|
64 | + { |
|
65 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
66 | + $this->setUserParam($params, "end_time", $this->endTime); |
|
67 | + $this->setUserParam($params, "depart_dates", $this->departDates); |
|
68 | + $this->setUserParam($params, "have_account", $this->haveAccount); |
|
69 | + $this->setUserParam($params, "crh_account", $this->crhAccount); |
|
70 | + $this->setUserParam($params, "crh_password", $this->crhPassword); |
|
71 | + $this->setUserParam($params, "sum_ticket_price", $this->sumTicketPrice); |
|
72 | + $this->setUserParam($params, "seat_types", $this->seatTypes); |
|
73 | + $this->setUserParam($params, "travel_infos", $this->travelInfos); |
|
74 | + $this->setUserParam($params, "passenger_infos", $this->passengerInfos); |
|
75 | + |
|
76 | + } |
|
77 | + |
|
78 | + public function getVersion() |
|
79 | + { |
|
80 | + return "V1"; |
|
81 | + } |
|
82 | + |
|
83 | + public function getDataType() |
|
84 | + { |
|
85 | + return "JSON"; |
|
86 | + } |
|
87 | + |
|
88 | + public function getType() |
|
89 | + { |
|
90 | + return "pdd.train.grab.create"; |
|
91 | + } |
|
92 | + |
|
93 | + public function setPddOrderId($pddOrderId) |
|
94 | + { |
|
95 | + $this->pddOrderId = $pddOrderId; |
|
96 | + } |
|
97 | + |
|
98 | + public function setEndTime($endTime) |
|
99 | + { |
|
100 | + $this->endTime = $endTime; |
|
101 | + } |
|
102 | + |
|
103 | + public function setDepartDates($departDates) |
|
104 | + { |
|
105 | + $this->departDates = $departDates; |
|
106 | + } |
|
107 | + |
|
108 | + public function setHaveAccount($haveAccount) |
|
109 | + { |
|
110 | + $this->haveAccount = $haveAccount; |
|
111 | + } |
|
112 | + |
|
113 | + public function setCrhAccount($crhAccount) |
|
114 | + { |
|
115 | + $this->crhAccount = $crhAccount; |
|
116 | + } |
|
117 | + |
|
118 | + public function setCrhPassword($crhPassword) |
|
119 | + { |
|
120 | + $this->crhPassword = $crhPassword; |
|
121 | + } |
|
122 | + |
|
123 | + public function setSumTicketPrice($sumTicketPrice) |
|
124 | + { |
|
125 | + $this->sumTicketPrice = $sumTicketPrice; |
|
126 | + } |
|
127 | + |
|
128 | + public function setSeatTypes($seatTypes) |
|
129 | + { |
|
130 | + $this->seatTypes = $seatTypes; |
|
131 | + } |
|
132 | + |
|
133 | + public function setTravelInfos($travelInfos) |
|
134 | + { |
|
135 | + $this->travelInfos = $travelInfos; |
|
136 | + } |
|
137 | + |
|
138 | + public function setPassengerInfos($passengerInfos) |
|
139 | + { |
|
140 | + $this->passengerInfos = $passengerInfos; |
|
141 | + } |
|
142 | 142 | |
143 | 143 | } |
144 | 144 | |
145 | 145 | class PddTrainGrabCreateRequest_TravelInfosItem extends PopBaseJsonEntity |
146 | 146 | { |
147 | 147 | |
148 | - public function __construct() |
|
149 | - { |
|
148 | + public function __construct() |
|
149 | + { |
|
150 | 150 | |
151 | - } |
|
151 | + } |
|
152 | 152 | |
153 | - /** |
|
154 | - * @JsonProperty(String, "train_no") |
|
155 | - */ |
|
156 | - private $trainNo; |
|
153 | + /** |
|
154 | + * @JsonProperty(String, "train_no") |
|
155 | + */ |
|
156 | + private $trainNo; |
|
157 | 157 | |
158 | - /** |
|
159 | - * @JsonProperty(String, "depart_station") |
|
160 | - */ |
|
161 | - private $departStation; |
|
158 | + /** |
|
159 | + * @JsonProperty(String, "depart_station") |
|
160 | + */ |
|
161 | + private $departStation; |
|
162 | 162 | |
163 | - /** |
|
164 | - * @JsonProperty(String, "arrive_station") |
|
165 | - */ |
|
166 | - private $arriveStation; |
|
163 | + /** |
|
164 | + * @JsonProperty(String, "arrive_station") |
|
165 | + */ |
|
166 | + private $arriveStation; |
|
167 | 167 | |
168 | - public function setTrainNo($trainNo) |
|
169 | - { |
|
170 | - $this->trainNo = $trainNo; |
|
171 | - } |
|
168 | + public function setTrainNo($trainNo) |
|
169 | + { |
|
170 | + $this->trainNo = $trainNo; |
|
171 | + } |
|
172 | 172 | |
173 | - public function setDepartStation($departStation) |
|
174 | - { |
|
175 | - $this->departStation = $departStation; |
|
176 | - } |
|
173 | + public function setDepartStation($departStation) |
|
174 | + { |
|
175 | + $this->departStation = $departStation; |
|
176 | + } |
|
177 | 177 | |
178 | - public function setArriveStation($arriveStation) |
|
179 | - { |
|
180 | - $this->arriveStation = $arriveStation; |
|
181 | - } |
|
178 | + public function setArriveStation($arriveStation) |
|
179 | + { |
|
180 | + $this->arriveStation = $arriveStation; |
|
181 | + } |
|
182 | 182 | |
183 | 183 | } |
184 | 184 | |
185 | 185 | class PddTrainGrabCreateRequest_PassengerInfosItem extends PopBaseJsonEntity |
186 | 186 | { |
187 | 187 | |
188 | - public function __construct() |
|
189 | - { |
|
190 | - |
|
191 | - } |
|
192 | - |
|
193 | - /** |
|
194 | - * @JsonProperty(String, "name") |
|
195 | - */ |
|
196 | - private $name; |
|
197 | - |
|
198 | - /** |
|
199 | - * @JsonProperty(String, "card_no") |
|
200 | - */ |
|
201 | - private $cardNo; |
|
202 | - |
|
203 | - /** |
|
204 | - * @JsonProperty(String, "card_type") |
|
205 | - */ |
|
206 | - private $cardType; |
|
207 | - |
|
208 | - /** |
|
209 | - * @JsonProperty(Integer, "ticket_type") |
|
210 | - */ |
|
211 | - private $ticketType; |
|
212 | - |
|
213 | - /** |
|
214 | - * @JsonProperty(String, "sub_pdd_order_id") |
|
215 | - */ |
|
216 | - private $subPddOrderId; |
|
217 | - |
|
218 | - /** |
|
219 | - * @JsonProperty(String, "effective_date") |
|
220 | - */ |
|
221 | - private $effectiveDate; |
|
222 | - |
|
223 | - /** |
|
224 | - * @JsonProperty(String, "sex") |
|
225 | - */ |
|
226 | - private $sex; |
|
227 | - |
|
228 | - /** |
|
229 | - * @JsonProperty(String, "country") |
|
230 | - */ |
|
231 | - private $country; |
|
232 | - |
|
233 | - /** |
|
234 | - * @JsonProperty(String, "birthday") |
|
235 | - */ |
|
236 | - private $birthday; |
|
237 | - |
|
238 | - /** |
|
239 | - * @JsonProperty(String, "order_sn") |
|
240 | - */ |
|
241 | - private $orderSn; |
|
242 | - |
|
243 | - /** |
|
244 | - * @JsonProperty(String, "mobile") |
|
245 | - */ |
|
246 | - private $mobile; |
|
247 | - |
|
248 | - /** |
|
249 | - * @JsonProperty(String, "email") |
|
250 | - */ |
|
251 | - private $email; |
|
252 | - |
|
253 | - public function setName($name) |
|
254 | - { |
|
255 | - $this->name = $name; |
|
256 | - } |
|
257 | - |
|
258 | - public function setCardNo($cardNo) |
|
259 | - { |
|
260 | - $this->cardNo = $cardNo; |
|
261 | - } |
|
262 | - |
|
263 | - public function setCardType($cardType) |
|
264 | - { |
|
265 | - $this->cardType = $cardType; |
|
266 | - } |
|
267 | - |
|
268 | - public function setTicketType($ticketType) |
|
269 | - { |
|
270 | - $this->ticketType = $ticketType; |
|
271 | - } |
|
272 | - |
|
273 | - public function setSubPddOrderId($subPddOrderId) |
|
274 | - { |
|
275 | - $this->subPddOrderId = $subPddOrderId; |
|
276 | - } |
|
277 | - |
|
278 | - public function setEffectiveDate($effectiveDate) |
|
279 | - { |
|
280 | - $this->effectiveDate = $effectiveDate; |
|
281 | - } |
|
282 | - |
|
283 | - public function setSex($sex) |
|
284 | - { |
|
285 | - $this->sex = $sex; |
|
286 | - } |
|
287 | - |
|
288 | - public function setCountry($country) |
|
289 | - { |
|
290 | - $this->country = $country; |
|
291 | - } |
|
292 | - |
|
293 | - public function setBirthday($birthday) |
|
294 | - { |
|
295 | - $this->birthday = $birthday; |
|
296 | - } |
|
297 | - |
|
298 | - public function setOrderSn($orderSn) |
|
299 | - { |
|
300 | - $this->orderSn = $orderSn; |
|
301 | - } |
|
302 | - |
|
303 | - public function setMobile($mobile) |
|
304 | - { |
|
305 | - $this->mobile = $mobile; |
|
306 | - } |
|
307 | - |
|
308 | - public function setEmail($email) |
|
309 | - { |
|
310 | - $this->email = $email; |
|
311 | - } |
|
188 | + public function __construct() |
|
189 | + { |
|
190 | + |
|
191 | + } |
|
192 | + |
|
193 | + /** |
|
194 | + * @JsonProperty(String, "name") |
|
195 | + */ |
|
196 | + private $name; |
|
197 | + |
|
198 | + /** |
|
199 | + * @JsonProperty(String, "card_no") |
|
200 | + */ |
|
201 | + private $cardNo; |
|
202 | + |
|
203 | + /** |
|
204 | + * @JsonProperty(String, "card_type") |
|
205 | + */ |
|
206 | + private $cardType; |
|
207 | + |
|
208 | + /** |
|
209 | + * @JsonProperty(Integer, "ticket_type") |
|
210 | + */ |
|
211 | + private $ticketType; |
|
212 | + |
|
213 | + /** |
|
214 | + * @JsonProperty(String, "sub_pdd_order_id") |
|
215 | + */ |
|
216 | + private $subPddOrderId; |
|
217 | + |
|
218 | + /** |
|
219 | + * @JsonProperty(String, "effective_date") |
|
220 | + */ |
|
221 | + private $effectiveDate; |
|
222 | + |
|
223 | + /** |
|
224 | + * @JsonProperty(String, "sex") |
|
225 | + */ |
|
226 | + private $sex; |
|
227 | + |
|
228 | + /** |
|
229 | + * @JsonProperty(String, "country") |
|
230 | + */ |
|
231 | + private $country; |
|
232 | + |
|
233 | + /** |
|
234 | + * @JsonProperty(String, "birthday") |
|
235 | + */ |
|
236 | + private $birthday; |
|
237 | + |
|
238 | + /** |
|
239 | + * @JsonProperty(String, "order_sn") |
|
240 | + */ |
|
241 | + private $orderSn; |
|
242 | + |
|
243 | + /** |
|
244 | + * @JsonProperty(String, "mobile") |
|
245 | + */ |
|
246 | + private $mobile; |
|
247 | + |
|
248 | + /** |
|
249 | + * @JsonProperty(String, "email") |
|
250 | + */ |
|
251 | + private $email; |
|
252 | + |
|
253 | + public function setName($name) |
|
254 | + { |
|
255 | + $this->name = $name; |
|
256 | + } |
|
257 | + |
|
258 | + public function setCardNo($cardNo) |
|
259 | + { |
|
260 | + $this->cardNo = $cardNo; |
|
261 | + } |
|
262 | + |
|
263 | + public function setCardType($cardType) |
|
264 | + { |
|
265 | + $this->cardType = $cardType; |
|
266 | + } |
|
267 | + |
|
268 | + public function setTicketType($ticketType) |
|
269 | + { |
|
270 | + $this->ticketType = $ticketType; |
|
271 | + } |
|
272 | + |
|
273 | + public function setSubPddOrderId($subPddOrderId) |
|
274 | + { |
|
275 | + $this->subPddOrderId = $subPddOrderId; |
|
276 | + } |
|
277 | + |
|
278 | + public function setEffectiveDate($effectiveDate) |
|
279 | + { |
|
280 | + $this->effectiveDate = $effectiveDate; |
|
281 | + } |
|
282 | + |
|
283 | + public function setSex($sex) |
|
284 | + { |
|
285 | + $this->sex = $sex; |
|
286 | + } |
|
287 | + |
|
288 | + public function setCountry($country) |
|
289 | + { |
|
290 | + $this->country = $country; |
|
291 | + } |
|
292 | + |
|
293 | + public function setBirthday($birthday) |
|
294 | + { |
|
295 | + $this->birthday = $birthday; |
|
296 | + } |
|
297 | + |
|
298 | + public function setOrderSn($orderSn) |
|
299 | + { |
|
300 | + $this->orderSn = $orderSn; |
|
301 | + } |
|
302 | + |
|
303 | + public function setMobile($mobile) |
|
304 | + { |
|
305 | + $this->mobile = $mobile; |
|
306 | + } |
|
307 | + |
|
308 | + public function setEmail($email) |
|
309 | + { |
|
310 | + $this->email = $email; |
|
311 | + } |
|
312 | 312 | |
313 | 313 | } |
@@ -7,228 +7,228 @@ |
||
7 | 7 | class PddWmsOrderstateSendRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.wms.orderstate.send"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.wms.orderstate.send"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddWmsOrderstateSendRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestOrder, "order") |
|
56 | - */ |
|
57 | - private $order; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestOrderLinesItem>, "orderLines") |
|
61 | - */ |
|
62 | - private $orderLines; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(String, "ownerCode") |
|
66 | - */ |
|
67 | - private $ownerCode; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestProcess, "process") |
|
71 | - */ |
|
72 | - private $process; |
|
73 | - |
|
74 | - public function setOrder($order) |
|
75 | - { |
|
76 | - $this->order = $order; |
|
77 | - } |
|
78 | - |
|
79 | - public function setOrderLines($orderLines) |
|
80 | - { |
|
81 | - $this->orderLines = $orderLines; |
|
82 | - } |
|
83 | - |
|
84 | - public function setOwnerCode($ownerCode) |
|
85 | - { |
|
86 | - $this->ownerCode = $ownerCode; |
|
87 | - } |
|
88 | - |
|
89 | - public function setProcess($process) |
|
90 | - { |
|
91 | - $this->process = $process; |
|
92 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestOrder, "order") |
|
56 | + */ |
|
57 | + private $order; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestOrderLinesItem>, "orderLines") |
|
61 | + */ |
|
62 | + private $orderLines; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "ownerCode") |
|
66 | + */ |
|
67 | + private $ownerCode; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsOrderstateSendRequest_RequestProcess, "process") |
|
71 | + */ |
|
72 | + private $process; |
|
73 | + |
|
74 | + public function setOrder($order) |
|
75 | + { |
|
76 | + $this->order = $order; |
|
77 | + } |
|
78 | + |
|
79 | + public function setOrderLines($orderLines) |
|
80 | + { |
|
81 | + $this->orderLines = $orderLines; |
|
82 | + } |
|
83 | + |
|
84 | + public function setOwnerCode($ownerCode) |
|
85 | + { |
|
86 | + $this->ownerCode = $ownerCode; |
|
87 | + } |
|
88 | + |
|
89 | + public function setProcess($process) |
|
90 | + { |
|
91 | + $this->process = $process; |
|
92 | + } |
|
93 | 93 | |
94 | 94 | } |
95 | 95 | |
96 | 96 | class PddWmsOrderstateSendRequest_RequestOrder extends PopBaseJsonEntity |
97 | 97 | { |
98 | 98 | |
99 | - public function __construct() |
|
100 | - { |
|
99 | + public function __construct() |
|
100 | + { |
|
101 | 101 | |
102 | - } |
|
102 | + } |
|
103 | 103 | |
104 | - /** |
|
105 | - * @JsonProperty(String, "orderCode") |
|
106 | - */ |
|
107 | - private $orderCode; |
|
104 | + /** |
|
105 | + * @JsonProperty(String, "orderCode") |
|
106 | + */ |
|
107 | + private $orderCode; |
|
108 | 108 | |
109 | - /** |
|
110 | - * @JsonProperty(String, "orderType") |
|
111 | - */ |
|
112 | - private $orderType; |
|
109 | + /** |
|
110 | + * @JsonProperty(String, "orderType") |
|
111 | + */ |
|
112 | + private $orderType; |
|
113 | 113 | |
114 | - /** |
|
115 | - * @JsonProperty(String, "warehouseCode") |
|
116 | - */ |
|
117 | - private $warehouseCode; |
|
114 | + /** |
|
115 | + * @JsonProperty(String, "warehouseCode") |
|
116 | + */ |
|
117 | + private $warehouseCode; |
|
118 | 118 | |
119 | - public function setOrderCode($orderCode) |
|
120 | - { |
|
121 | - $this->orderCode = $orderCode; |
|
122 | - } |
|
119 | + public function setOrderCode($orderCode) |
|
120 | + { |
|
121 | + $this->orderCode = $orderCode; |
|
122 | + } |
|
123 | 123 | |
124 | - public function setOrderType($orderType) |
|
125 | - { |
|
126 | - $this->orderType = $orderType; |
|
127 | - } |
|
124 | + public function setOrderType($orderType) |
|
125 | + { |
|
126 | + $this->orderType = $orderType; |
|
127 | + } |
|
128 | 128 | |
129 | - public function setWarehouseCode($warehouseCode) |
|
130 | - { |
|
131 | - $this->warehouseCode = $warehouseCode; |
|
132 | - } |
|
129 | + public function setWarehouseCode($warehouseCode) |
|
130 | + { |
|
131 | + $this->warehouseCode = $warehouseCode; |
|
132 | + } |
|
133 | 133 | |
134 | 134 | } |
135 | 135 | |
136 | 136 | class PddWmsOrderstateSendRequest_RequestOrderLinesItem extends PopBaseJsonEntity |
137 | 137 | { |
138 | 138 | |
139 | - public function __construct() |
|
140 | - { |
|
141 | - |
|
142 | - } |
|
143 | - |
|
144 | - /** |
|
145 | - * @JsonProperty(String, "inventoryType") |
|
146 | - */ |
|
147 | - private $inventoryType; |
|
148 | - |
|
149 | - /** |
|
150 | - * @JsonProperty(String, "parentWareSn") |
|
151 | - */ |
|
152 | - private $parentWareSn; |
|
153 | - |
|
154 | - /** |
|
155 | - * @JsonProperty(String, "quantity") |
|
156 | - */ |
|
157 | - private $quantity; |
|
158 | - |
|
159 | - /** |
|
160 | - * @JsonProperty(String, "wareSn") |
|
161 | - */ |
|
162 | - private $wareSn; |
|
163 | - |
|
164 | - public function setInventoryType($inventoryType) |
|
165 | - { |
|
166 | - $this->inventoryType = $inventoryType; |
|
167 | - } |
|
168 | - |
|
169 | - public function setParentWareSn($parentWareSn) |
|
170 | - { |
|
171 | - $this->parentWareSn = $parentWareSn; |
|
172 | - } |
|
173 | - |
|
174 | - public function setQuantity($quantity) |
|
175 | - { |
|
176 | - $this->quantity = $quantity; |
|
177 | - } |
|
178 | - |
|
179 | - public function setWareSn($wareSn) |
|
180 | - { |
|
181 | - $this->wareSn = $wareSn; |
|
182 | - } |
|
139 | + public function __construct() |
|
140 | + { |
|
141 | + |
|
142 | + } |
|
143 | + |
|
144 | + /** |
|
145 | + * @JsonProperty(String, "inventoryType") |
|
146 | + */ |
|
147 | + private $inventoryType; |
|
148 | + |
|
149 | + /** |
|
150 | + * @JsonProperty(String, "parentWareSn") |
|
151 | + */ |
|
152 | + private $parentWareSn; |
|
153 | + |
|
154 | + /** |
|
155 | + * @JsonProperty(String, "quantity") |
|
156 | + */ |
|
157 | + private $quantity; |
|
158 | + |
|
159 | + /** |
|
160 | + * @JsonProperty(String, "wareSn") |
|
161 | + */ |
|
162 | + private $wareSn; |
|
163 | + |
|
164 | + public function setInventoryType($inventoryType) |
|
165 | + { |
|
166 | + $this->inventoryType = $inventoryType; |
|
167 | + } |
|
168 | + |
|
169 | + public function setParentWareSn($parentWareSn) |
|
170 | + { |
|
171 | + $this->parentWareSn = $parentWareSn; |
|
172 | + } |
|
173 | + |
|
174 | + public function setQuantity($quantity) |
|
175 | + { |
|
176 | + $this->quantity = $quantity; |
|
177 | + } |
|
178 | + |
|
179 | + public function setWareSn($wareSn) |
|
180 | + { |
|
181 | + $this->wareSn = $wareSn; |
|
182 | + } |
|
183 | 183 | |
184 | 184 | } |
185 | 185 | |
186 | 186 | class PddWmsOrderstateSendRequest_RequestProcess extends PopBaseJsonEntity |
187 | 187 | { |
188 | 188 | |
189 | - public function __construct() |
|
190 | - { |
|
191 | - |
|
192 | - } |
|
193 | - |
|
194 | - /** |
|
195 | - * @JsonProperty(String, "operateInfo") |
|
196 | - */ |
|
197 | - private $operateInfo; |
|
198 | - |
|
199 | - /** |
|
200 | - * @JsonProperty(String, "operateTime") |
|
201 | - */ |
|
202 | - private $operateTime; |
|
203 | - |
|
204 | - /** |
|
205 | - * @JsonProperty(String, "processStatus") |
|
206 | - */ |
|
207 | - private $processStatus; |
|
208 | - |
|
209 | - /** |
|
210 | - * @JsonProperty(String, "remark") |
|
211 | - */ |
|
212 | - private $remark; |
|
213 | - |
|
214 | - public function setOperateInfo($operateInfo) |
|
215 | - { |
|
216 | - $this->operateInfo = $operateInfo; |
|
217 | - } |
|
218 | - |
|
219 | - public function setOperateTime($operateTime) |
|
220 | - { |
|
221 | - $this->operateTime = $operateTime; |
|
222 | - } |
|
223 | - |
|
224 | - public function setProcessStatus($processStatus) |
|
225 | - { |
|
226 | - $this->processStatus = $processStatus; |
|
227 | - } |
|
228 | - |
|
229 | - public function setRemark($remark) |
|
230 | - { |
|
231 | - $this->remark = $remark; |
|
232 | - } |
|
189 | + public function __construct() |
|
190 | + { |
|
191 | + |
|
192 | + } |
|
193 | + |
|
194 | + /** |
|
195 | + * @JsonProperty(String, "operateInfo") |
|
196 | + */ |
|
197 | + private $operateInfo; |
|
198 | + |
|
199 | + /** |
|
200 | + * @JsonProperty(String, "operateTime") |
|
201 | + */ |
|
202 | + private $operateTime; |
|
203 | + |
|
204 | + /** |
|
205 | + * @JsonProperty(String, "processStatus") |
|
206 | + */ |
|
207 | + private $processStatus; |
|
208 | + |
|
209 | + /** |
|
210 | + * @JsonProperty(String, "remark") |
|
211 | + */ |
|
212 | + private $remark; |
|
213 | + |
|
214 | + public function setOperateInfo($operateInfo) |
|
215 | + { |
|
216 | + $this->operateInfo = $operateInfo; |
|
217 | + } |
|
218 | + |
|
219 | + public function setOperateTime($operateTime) |
|
220 | + { |
|
221 | + $this->operateTime = $operateTime; |
|
222 | + } |
|
223 | + |
|
224 | + public function setProcessStatus($processStatus) |
|
225 | + { |
|
226 | + $this->processStatus = $processStatus; |
|
227 | + } |
|
228 | + |
|
229 | + public function setRemark($remark) |
|
230 | + { |
|
231 | + $this->remark = $remark; |
|
232 | + } |
|
233 | 233 | |
234 | 234 | } |
@@ -7,58 +7,58 @@ |
||
7 | 7 | class PddVoucherRealtimeOrdernoGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddVoucherRealtimeOrdernoGetRequest_Data, "data") |
|
15 | - */ |
|
16 | - private $data; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddVoucherRealtimeOrdernoGetRequest_Data, "data") |
|
15 | + */ |
|
16 | + private $data; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "data", $this->data); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "data", $this->data); |
|
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.voucher.realtime.orderno.get"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.voucher.realtime.orderno.get"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setData($data) |
|
40 | - { |
|
41 | - $this->data = $data; |
|
42 | - } |
|
39 | + public function setData($data) |
|
40 | + { |
|
41 | + $this->data = $data; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddVoucherRealtimeOrdernoGetRequest_Data 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, "order_sn") |
|
56 | - */ |
|
57 | - private $orderSn; |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "order_sn") |
|
56 | + */ |
|
57 | + private $orderSn; |
|
58 | 58 | |
59 | - public function setOrderSn($orderSn) |
|
60 | - { |
|
61 | - $this->orderSn = $orderSn; |
|
62 | - } |
|
59 | + public function setOrderSn($orderSn) |
|
60 | + { |
|
61 | + $this->orderSn = $orderSn; |
|
62 | + } |
|
63 | 63 | |
64 | 64 | } |
@@ -7,198 +7,198 @@ |
||
7 | 7 | class PddWmsReturnorderConfirmRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsReturnorderConfirmRequest_Request, "request") |
|
15 | - */ |
|
16 | - private $request; |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddWmsReturnorderConfirmRequest_Request, "request") |
|
15 | + */ |
|
16 | + private $request; |
|
17 | 17 | |
18 | - protected function setUserParams(&$params) |
|
19 | - { |
|
20 | - $this->setUserParam($params, "request", $this->request); |
|
18 | + protected function setUserParams(&$params) |
|
19 | + { |
|
20 | + $this->setUserParam($params, "request", $this->request); |
|
21 | 21 | |
22 | - } |
|
22 | + } |
|
23 | 23 | |
24 | - public function getVersion() |
|
25 | - { |
|
26 | - return "V1"; |
|
27 | - } |
|
24 | + public function getVersion() |
|
25 | + { |
|
26 | + return "V1"; |
|
27 | + } |
|
28 | 28 | |
29 | - public function getDataType() |
|
30 | - { |
|
31 | - return "JSON"; |
|
32 | - } |
|
29 | + public function getDataType() |
|
30 | + { |
|
31 | + return "JSON"; |
|
32 | + } |
|
33 | 33 | |
34 | - public function getType() |
|
35 | - { |
|
36 | - return "pdd.wms.returnorder.confirm"; |
|
37 | - } |
|
34 | + public function getType() |
|
35 | + { |
|
36 | + return "pdd.wms.returnorder.confirm"; |
|
37 | + } |
|
38 | 38 | |
39 | - public function setRequest($request) |
|
40 | - { |
|
41 | - $this->request = $request; |
|
42 | - } |
|
39 | + public function setRequest($request) |
|
40 | + { |
|
41 | + $this->request = $request; |
|
42 | + } |
|
43 | 43 | |
44 | 44 | } |
45 | 45 | |
46 | 46 | class PddWmsReturnorderConfirmRequest_Request extends PopBaseJsonEntity |
47 | 47 | { |
48 | 48 | |
49 | - public function __construct() |
|
50 | - { |
|
51 | - |
|
52 | - } |
|
53 | - |
|
54 | - /** |
|
55 | - * @JsonProperty(String, "expressCode") |
|
56 | - */ |
|
57 | - private $expressCode; |
|
58 | - |
|
59 | - /** |
|
60 | - * @JsonProperty(String, "logisticsCode") |
|
61 | - */ |
|
62 | - private $logisticsCode; |
|
63 | - |
|
64 | - /** |
|
65 | - * @JsonProperty(String, "logisticsName") |
|
66 | - */ |
|
67 | - private $logisticsName; |
|
68 | - |
|
69 | - /** |
|
70 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsReturnorderConfirmRequest_RequestOrderLinesItem>, "orderLines") |
|
71 | - */ |
|
72 | - private $orderLines; |
|
73 | - |
|
74 | - /** |
|
75 | - * @JsonProperty(String, "orderType") |
|
76 | - */ |
|
77 | - private $orderType; |
|
78 | - |
|
79 | - /** |
|
80 | - * @JsonProperty(String, "outBizCode") |
|
81 | - */ |
|
82 | - private $outBizCode; |
|
83 | - |
|
84 | - /** |
|
85 | - * @JsonProperty(String, "ownerCode") |
|
86 | - */ |
|
87 | - private $ownerCode; |
|
88 | - |
|
89 | - /** |
|
90 | - * @JsonProperty(String, "returnOrderCode") |
|
91 | - */ |
|
92 | - private $returnOrderCode; |
|
93 | - |
|
94 | - /** |
|
95 | - * @JsonProperty(String, "warehouseCode") |
|
96 | - */ |
|
97 | - private $warehouseCode; |
|
98 | - |
|
99 | - /** |
|
100 | - * @JsonProperty(String, "status") |
|
101 | - */ |
|
102 | - private $status; |
|
103 | - |
|
104 | - public function setExpressCode($expressCode) |
|
105 | - { |
|
106 | - $this->expressCode = $expressCode; |
|
107 | - } |
|
108 | - |
|
109 | - public function setLogisticsCode($logisticsCode) |
|
110 | - { |
|
111 | - $this->logisticsCode = $logisticsCode; |
|
112 | - } |
|
113 | - |
|
114 | - public function setLogisticsName($logisticsName) |
|
115 | - { |
|
116 | - $this->logisticsName = $logisticsName; |
|
117 | - } |
|
118 | - |
|
119 | - public function setOrderLines($orderLines) |
|
120 | - { |
|
121 | - $this->orderLines = $orderLines; |
|
122 | - } |
|
123 | - |
|
124 | - public function setOrderType($orderType) |
|
125 | - { |
|
126 | - $this->orderType = $orderType; |
|
127 | - } |
|
128 | - |
|
129 | - public function setOutBizCode($outBizCode) |
|
130 | - { |
|
131 | - $this->outBizCode = $outBizCode; |
|
132 | - } |
|
133 | - |
|
134 | - public function setOwnerCode($ownerCode) |
|
135 | - { |
|
136 | - $this->ownerCode = $ownerCode; |
|
137 | - } |
|
138 | - |
|
139 | - public function setReturnOrderCode($returnOrderCode) |
|
140 | - { |
|
141 | - $this->returnOrderCode = $returnOrderCode; |
|
142 | - } |
|
143 | - |
|
144 | - public function setWarehouseCode($warehouseCode) |
|
145 | - { |
|
146 | - $this->warehouseCode = $warehouseCode; |
|
147 | - } |
|
148 | - |
|
149 | - public function setStatus($status) |
|
150 | - { |
|
151 | - $this->status = $status; |
|
152 | - } |
|
49 | + public function __construct() |
|
50 | + { |
|
51 | + |
|
52 | + } |
|
53 | + |
|
54 | + /** |
|
55 | + * @JsonProperty(String, "expressCode") |
|
56 | + */ |
|
57 | + private $expressCode; |
|
58 | + |
|
59 | + /** |
|
60 | + * @JsonProperty(String, "logisticsCode") |
|
61 | + */ |
|
62 | + private $logisticsCode; |
|
63 | + |
|
64 | + /** |
|
65 | + * @JsonProperty(String, "logisticsName") |
|
66 | + */ |
|
67 | + private $logisticsName; |
|
68 | + |
|
69 | + /** |
|
70 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddWmsReturnorderConfirmRequest_RequestOrderLinesItem>, "orderLines") |
|
71 | + */ |
|
72 | + private $orderLines; |
|
73 | + |
|
74 | + /** |
|
75 | + * @JsonProperty(String, "orderType") |
|
76 | + */ |
|
77 | + private $orderType; |
|
78 | + |
|
79 | + /** |
|
80 | + * @JsonProperty(String, "outBizCode") |
|
81 | + */ |
|
82 | + private $outBizCode; |
|
83 | + |
|
84 | + /** |
|
85 | + * @JsonProperty(String, "ownerCode") |
|
86 | + */ |
|
87 | + private $ownerCode; |
|
88 | + |
|
89 | + /** |
|
90 | + * @JsonProperty(String, "returnOrderCode") |
|
91 | + */ |
|
92 | + private $returnOrderCode; |
|
93 | + |
|
94 | + /** |
|
95 | + * @JsonProperty(String, "warehouseCode") |
|
96 | + */ |
|
97 | + private $warehouseCode; |
|
98 | + |
|
99 | + /** |
|
100 | + * @JsonProperty(String, "status") |
|
101 | + */ |
|
102 | + private $status; |
|
103 | + |
|
104 | + public function setExpressCode($expressCode) |
|
105 | + { |
|
106 | + $this->expressCode = $expressCode; |
|
107 | + } |
|
108 | + |
|
109 | + public function setLogisticsCode($logisticsCode) |
|
110 | + { |
|
111 | + $this->logisticsCode = $logisticsCode; |
|
112 | + } |
|
113 | + |
|
114 | + public function setLogisticsName($logisticsName) |
|
115 | + { |
|
116 | + $this->logisticsName = $logisticsName; |
|
117 | + } |
|
118 | + |
|
119 | + public function setOrderLines($orderLines) |
|
120 | + { |
|
121 | + $this->orderLines = $orderLines; |
|
122 | + } |
|
123 | + |
|
124 | + public function setOrderType($orderType) |
|
125 | + { |
|
126 | + $this->orderType = $orderType; |
|
127 | + } |
|
128 | + |
|
129 | + public function setOutBizCode($outBizCode) |
|
130 | + { |
|
131 | + $this->outBizCode = $outBizCode; |
|
132 | + } |
|
133 | + |
|
134 | + public function setOwnerCode($ownerCode) |
|
135 | + { |
|
136 | + $this->ownerCode = $ownerCode; |
|
137 | + } |
|
138 | + |
|
139 | + public function setReturnOrderCode($returnOrderCode) |
|
140 | + { |
|
141 | + $this->returnOrderCode = $returnOrderCode; |
|
142 | + } |
|
143 | + |
|
144 | + public function setWarehouseCode($warehouseCode) |
|
145 | + { |
|
146 | + $this->warehouseCode = $warehouseCode; |
|
147 | + } |
|
148 | + |
|
149 | + public function setStatus($status) |
|
150 | + { |
|
151 | + $this->status = $status; |
|
152 | + } |
|
153 | 153 | |
154 | 154 | } |
155 | 155 | |
156 | 156 | class PddWmsReturnorderConfirmRequest_RequestOrderLinesItem extends PopBaseJsonEntity |
157 | 157 | { |
158 | 158 | |
159 | - public function __construct() |
|
160 | - { |
|
161 | - |
|
162 | - } |
|
163 | - |
|
164 | - /** |
|
165 | - * @JsonProperty(String, "inventoryType") |
|
166 | - */ |
|
167 | - private $inventoryType; |
|
168 | - |
|
169 | - /** |
|
170 | - * @JsonProperty(String, "parentWareSn") |
|
171 | - */ |
|
172 | - private $parentWareSn; |
|
173 | - |
|
174 | - /** |
|
175 | - * @JsonProperty(Long, "quantity") |
|
176 | - */ |
|
177 | - private $quantity; |
|
178 | - |
|
179 | - /** |
|
180 | - * @JsonProperty(String, "wareSn") |
|
181 | - */ |
|
182 | - private $wareSn; |
|
183 | - |
|
184 | - public function setInventoryType($inventoryType) |
|
185 | - { |
|
186 | - $this->inventoryType = $inventoryType; |
|
187 | - } |
|
188 | - |
|
189 | - public function setParentWareSn($parentWareSn) |
|
190 | - { |
|
191 | - $this->parentWareSn = $parentWareSn; |
|
192 | - } |
|
193 | - |
|
194 | - public function setQuantity($quantity) |
|
195 | - { |
|
196 | - $this->quantity = $quantity; |
|
197 | - } |
|
198 | - |
|
199 | - public function setWareSn($wareSn) |
|
200 | - { |
|
201 | - $this->wareSn = $wareSn; |
|
202 | - } |
|
159 | + public function __construct() |
|
160 | + { |
|
161 | + |
|
162 | + } |
|
163 | + |
|
164 | + /** |
|
165 | + * @JsonProperty(String, "inventoryType") |
|
166 | + */ |
|
167 | + private $inventoryType; |
|
168 | + |
|
169 | + /** |
|
170 | + * @JsonProperty(String, "parentWareSn") |
|
171 | + */ |
|
172 | + private $parentWareSn; |
|
173 | + |
|
174 | + /** |
|
175 | + * @JsonProperty(Long, "quantity") |
|
176 | + */ |
|
177 | + private $quantity; |
|
178 | + |
|
179 | + /** |
|
180 | + * @JsonProperty(String, "wareSn") |
|
181 | + */ |
|
182 | + private $wareSn; |
|
183 | + |
|
184 | + public function setInventoryType($inventoryType) |
|
185 | + { |
|
186 | + $this->inventoryType = $inventoryType; |
|
187 | + } |
|
188 | + |
|
189 | + public function setParentWareSn($parentWareSn) |
|
190 | + { |
|
191 | + $this->parentWareSn = $parentWareSn; |
|
192 | + } |
|
193 | + |
|
194 | + public function setQuantity($quantity) |
|
195 | + { |
|
196 | + $this->quantity = $quantity; |
|
197 | + } |
|
198 | + |
|
199 | + public function setWareSn($wareSn) |
|
200 | + { |
|
201 | + $this->wareSn = $wareSn; |
|
202 | + } |
|
203 | 203 | |
204 | 204 | } |
@@ -7,356 +7,356 @@ |
||
7 | 7 | class PddTrainCallbackChangeReserveRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "arrive_date") |
|
15 | - */ |
|
16 | - private $arriveDate; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "arrive_station") |
|
20 | - */ |
|
21 | - private $arriveStation; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "arrive_time") |
|
25 | - */ |
|
26 | - private $arriveTime; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(Long, "change_pay") |
|
30 | - */ |
|
31 | - private $changePay; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(Long, "change_refund") |
|
35 | - */ |
|
36 | - private $changeRefund; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(Integer, "code") |
|
40 | - */ |
|
41 | - private $code; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "crh_order_id") |
|
45 | - */ |
|
46 | - private $crhOrderId; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(String, "depart_date") |
|
50 | - */ |
|
51 | - private $departDate; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(String, "depart_station") |
|
55 | - */ |
|
56 | - private $departStation; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(String, "depart_time") |
|
60 | - */ |
|
61 | - private $departTime; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(String, "msg") |
|
65 | - */ |
|
66 | - private $msg; |
|
67 | - |
|
68 | - /** |
|
69 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCallbackChangeReserveRequest_NewPassengersItem>, "new_passengers") |
|
70 | - */ |
|
71 | - private $newPassengers; |
|
72 | - |
|
73 | - /** |
|
74 | - * @JsonProperty(String, "order_id") |
|
75 | - */ |
|
76 | - private $orderId; |
|
77 | - |
|
78 | - /** |
|
79 | - * @JsonProperty(String, "pay_limit_time") |
|
80 | - */ |
|
81 | - private $payLimitTime; |
|
82 | - |
|
83 | - /** |
|
84 | - * @JsonProperty(String, "pdd_order_id") |
|
85 | - */ |
|
86 | - private $pddOrderId; |
|
87 | - |
|
88 | - /** |
|
89 | - * @JsonProperty(String, "request_id") |
|
90 | - */ |
|
91 | - private $requestId; |
|
92 | - |
|
93 | - /** |
|
94 | - * @JsonProperty(String, "train_no") |
|
95 | - */ |
|
96 | - private $trainNo; |
|
97 | - |
|
98 | - /** |
|
99 | - * @JsonProperty(Integer, "use_id_card_in") |
|
100 | - */ |
|
101 | - private $useIdCardIn; |
|
102 | - |
|
103 | - /** |
|
104 | - * @JsonProperty(String, "vendor_time") |
|
105 | - */ |
|
106 | - private $vendorTime; |
|
107 | - |
|
108 | - protected function setUserParams(&$params) |
|
109 | - { |
|
110 | - $this->setUserParam($params, "arrive_date", $this->arriveDate); |
|
111 | - $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
112 | - $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
113 | - $this->setUserParam($params, "change_pay", $this->changePay); |
|
114 | - $this->setUserParam($params, "change_refund", $this->changeRefund); |
|
115 | - $this->setUserParam($params, "code", $this->code); |
|
116 | - $this->setUserParam($params, "crh_order_id", $this->crhOrderId); |
|
117 | - $this->setUserParam($params, "depart_date", $this->departDate); |
|
118 | - $this->setUserParam($params, "depart_station", $this->departStation); |
|
119 | - $this->setUserParam($params, "depart_time", $this->departTime); |
|
120 | - $this->setUserParam($params, "msg", $this->msg); |
|
121 | - $this->setUserParam($params, "new_passengers", $this->newPassengers); |
|
122 | - $this->setUserParam($params, "order_id", $this->orderId); |
|
123 | - $this->setUserParam($params, "pay_limit_time", $this->payLimitTime); |
|
124 | - $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
125 | - $this->setUserParam($params, "request_id", $this->requestId); |
|
126 | - $this->setUserParam($params, "train_no", $this->trainNo); |
|
127 | - $this->setUserParam($params, "use_id_card_in", $this->useIdCardIn); |
|
128 | - $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
129 | - |
|
130 | - } |
|
131 | - |
|
132 | - public function getVersion() |
|
133 | - { |
|
134 | - return "V1"; |
|
135 | - } |
|
136 | - |
|
137 | - public function getDataType() |
|
138 | - { |
|
139 | - return "JSON"; |
|
140 | - } |
|
141 | - |
|
142 | - public function getType() |
|
143 | - { |
|
144 | - return "pdd.train.callback.change.reserve"; |
|
145 | - } |
|
146 | - |
|
147 | - public function setArriveDate($arriveDate) |
|
148 | - { |
|
149 | - $this->arriveDate = $arriveDate; |
|
150 | - } |
|
151 | - |
|
152 | - public function setArriveStation($arriveStation) |
|
153 | - { |
|
154 | - $this->arriveStation = $arriveStation; |
|
155 | - } |
|
156 | - |
|
157 | - public function setArriveTime($arriveTime) |
|
158 | - { |
|
159 | - $this->arriveTime = $arriveTime; |
|
160 | - } |
|
161 | - |
|
162 | - public function setChangePay($changePay) |
|
163 | - { |
|
164 | - $this->changePay = $changePay; |
|
165 | - } |
|
166 | - |
|
167 | - public function setChangeRefund($changeRefund) |
|
168 | - { |
|
169 | - $this->changeRefund = $changeRefund; |
|
170 | - } |
|
171 | - |
|
172 | - public function setCode($code) |
|
173 | - { |
|
174 | - $this->code = $code; |
|
175 | - } |
|
176 | - |
|
177 | - public function setCrhOrderId($crhOrderId) |
|
178 | - { |
|
179 | - $this->crhOrderId = $crhOrderId; |
|
180 | - } |
|
181 | - |
|
182 | - public function setDepartDate($departDate) |
|
183 | - { |
|
184 | - $this->departDate = $departDate; |
|
185 | - } |
|
186 | - |
|
187 | - public function setDepartStation($departStation) |
|
188 | - { |
|
189 | - $this->departStation = $departStation; |
|
190 | - } |
|
191 | - |
|
192 | - public function setDepartTime($departTime) |
|
193 | - { |
|
194 | - $this->departTime = $departTime; |
|
195 | - } |
|
196 | - |
|
197 | - public function setMsg($msg) |
|
198 | - { |
|
199 | - $this->msg = $msg; |
|
200 | - } |
|
201 | - |
|
202 | - public function setNewPassengers($newPassengers) |
|
203 | - { |
|
204 | - $this->newPassengers = $newPassengers; |
|
205 | - } |
|
206 | - |
|
207 | - public function setOrderId($orderId) |
|
208 | - { |
|
209 | - $this->orderId = $orderId; |
|
210 | - } |
|
211 | - |
|
212 | - public function setPayLimitTime($payLimitTime) |
|
213 | - { |
|
214 | - $this->payLimitTime = $payLimitTime; |
|
215 | - } |
|
216 | - |
|
217 | - public function setPddOrderId($pddOrderId) |
|
218 | - { |
|
219 | - $this->pddOrderId = $pddOrderId; |
|
220 | - } |
|
221 | - |
|
222 | - public function setRequestId($requestId) |
|
223 | - { |
|
224 | - $this->requestId = $requestId; |
|
225 | - } |
|
226 | - |
|
227 | - public function setTrainNo($trainNo) |
|
228 | - { |
|
229 | - $this->trainNo = $trainNo; |
|
230 | - } |
|
231 | - |
|
232 | - public function setUseIdCardIn($useIdCardIn) |
|
233 | - { |
|
234 | - $this->useIdCardIn = $useIdCardIn; |
|
235 | - } |
|
236 | - |
|
237 | - public function setVendorTime($vendorTime) |
|
238 | - { |
|
239 | - $this->vendorTime = $vendorTime; |
|
240 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "arrive_date") |
|
15 | + */ |
|
16 | + private $arriveDate; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "arrive_station") |
|
20 | + */ |
|
21 | + private $arriveStation; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "arrive_time") |
|
25 | + */ |
|
26 | + private $arriveTime; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(Long, "change_pay") |
|
30 | + */ |
|
31 | + private $changePay; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(Long, "change_refund") |
|
35 | + */ |
|
36 | + private $changeRefund; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(Integer, "code") |
|
40 | + */ |
|
41 | + private $code; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "crh_order_id") |
|
45 | + */ |
|
46 | + private $crhOrderId; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(String, "depart_date") |
|
50 | + */ |
|
51 | + private $departDate; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(String, "depart_station") |
|
55 | + */ |
|
56 | + private $departStation; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(String, "depart_time") |
|
60 | + */ |
|
61 | + private $departTime; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(String, "msg") |
|
65 | + */ |
|
66 | + private $msg; |
|
67 | + |
|
68 | + /** |
|
69 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTrainCallbackChangeReserveRequest_NewPassengersItem>, "new_passengers") |
|
70 | + */ |
|
71 | + private $newPassengers; |
|
72 | + |
|
73 | + /** |
|
74 | + * @JsonProperty(String, "order_id") |
|
75 | + */ |
|
76 | + private $orderId; |
|
77 | + |
|
78 | + /** |
|
79 | + * @JsonProperty(String, "pay_limit_time") |
|
80 | + */ |
|
81 | + private $payLimitTime; |
|
82 | + |
|
83 | + /** |
|
84 | + * @JsonProperty(String, "pdd_order_id") |
|
85 | + */ |
|
86 | + private $pddOrderId; |
|
87 | + |
|
88 | + /** |
|
89 | + * @JsonProperty(String, "request_id") |
|
90 | + */ |
|
91 | + private $requestId; |
|
92 | + |
|
93 | + /** |
|
94 | + * @JsonProperty(String, "train_no") |
|
95 | + */ |
|
96 | + private $trainNo; |
|
97 | + |
|
98 | + /** |
|
99 | + * @JsonProperty(Integer, "use_id_card_in") |
|
100 | + */ |
|
101 | + private $useIdCardIn; |
|
102 | + |
|
103 | + /** |
|
104 | + * @JsonProperty(String, "vendor_time") |
|
105 | + */ |
|
106 | + private $vendorTime; |
|
107 | + |
|
108 | + protected function setUserParams(&$params) |
|
109 | + { |
|
110 | + $this->setUserParam($params, "arrive_date", $this->arriveDate); |
|
111 | + $this->setUserParam($params, "arrive_station", $this->arriveStation); |
|
112 | + $this->setUserParam($params, "arrive_time", $this->arriveTime); |
|
113 | + $this->setUserParam($params, "change_pay", $this->changePay); |
|
114 | + $this->setUserParam($params, "change_refund", $this->changeRefund); |
|
115 | + $this->setUserParam($params, "code", $this->code); |
|
116 | + $this->setUserParam($params, "crh_order_id", $this->crhOrderId); |
|
117 | + $this->setUserParam($params, "depart_date", $this->departDate); |
|
118 | + $this->setUserParam($params, "depart_station", $this->departStation); |
|
119 | + $this->setUserParam($params, "depart_time", $this->departTime); |
|
120 | + $this->setUserParam($params, "msg", $this->msg); |
|
121 | + $this->setUserParam($params, "new_passengers", $this->newPassengers); |
|
122 | + $this->setUserParam($params, "order_id", $this->orderId); |
|
123 | + $this->setUserParam($params, "pay_limit_time", $this->payLimitTime); |
|
124 | + $this->setUserParam($params, "pdd_order_id", $this->pddOrderId); |
|
125 | + $this->setUserParam($params, "request_id", $this->requestId); |
|
126 | + $this->setUserParam($params, "train_no", $this->trainNo); |
|
127 | + $this->setUserParam($params, "use_id_card_in", $this->useIdCardIn); |
|
128 | + $this->setUserParam($params, "vendor_time", $this->vendorTime); |
|
129 | + |
|
130 | + } |
|
131 | + |
|
132 | + public function getVersion() |
|
133 | + { |
|
134 | + return "V1"; |
|
135 | + } |
|
136 | + |
|
137 | + public function getDataType() |
|
138 | + { |
|
139 | + return "JSON"; |
|
140 | + } |
|
141 | + |
|
142 | + public function getType() |
|
143 | + { |
|
144 | + return "pdd.train.callback.change.reserve"; |
|
145 | + } |
|
146 | + |
|
147 | + public function setArriveDate($arriveDate) |
|
148 | + { |
|
149 | + $this->arriveDate = $arriveDate; |
|
150 | + } |
|
151 | + |
|
152 | + public function setArriveStation($arriveStation) |
|
153 | + { |
|
154 | + $this->arriveStation = $arriveStation; |
|
155 | + } |
|
156 | + |
|
157 | + public function setArriveTime($arriveTime) |
|
158 | + { |
|
159 | + $this->arriveTime = $arriveTime; |
|
160 | + } |
|
161 | + |
|
162 | + public function setChangePay($changePay) |
|
163 | + { |
|
164 | + $this->changePay = $changePay; |
|
165 | + } |
|
166 | + |
|
167 | + public function setChangeRefund($changeRefund) |
|
168 | + { |
|
169 | + $this->changeRefund = $changeRefund; |
|
170 | + } |
|
171 | + |
|
172 | + public function setCode($code) |
|
173 | + { |
|
174 | + $this->code = $code; |
|
175 | + } |
|
176 | + |
|
177 | + public function setCrhOrderId($crhOrderId) |
|
178 | + { |
|
179 | + $this->crhOrderId = $crhOrderId; |
|
180 | + } |
|
181 | + |
|
182 | + public function setDepartDate($departDate) |
|
183 | + { |
|
184 | + $this->departDate = $departDate; |
|
185 | + } |
|
186 | + |
|
187 | + public function setDepartStation($departStation) |
|
188 | + { |
|
189 | + $this->departStation = $departStation; |
|
190 | + } |
|
191 | + |
|
192 | + public function setDepartTime($departTime) |
|
193 | + { |
|
194 | + $this->departTime = $departTime; |
|
195 | + } |
|
196 | + |
|
197 | + public function setMsg($msg) |
|
198 | + { |
|
199 | + $this->msg = $msg; |
|
200 | + } |
|
201 | + |
|
202 | + public function setNewPassengers($newPassengers) |
|
203 | + { |
|
204 | + $this->newPassengers = $newPassengers; |
|
205 | + } |
|
206 | + |
|
207 | + public function setOrderId($orderId) |
|
208 | + { |
|
209 | + $this->orderId = $orderId; |
|
210 | + } |
|
211 | + |
|
212 | + public function setPayLimitTime($payLimitTime) |
|
213 | + { |
|
214 | + $this->payLimitTime = $payLimitTime; |
|
215 | + } |
|
216 | + |
|
217 | + public function setPddOrderId($pddOrderId) |
|
218 | + { |
|
219 | + $this->pddOrderId = $pddOrderId; |
|
220 | + } |
|
221 | + |
|
222 | + public function setRequestId($requestId) |
|
223 | + { |
|
224 | + $this->requestId = $requestId; |
|
225 | + } |
|
226 | + |
|
227 | + public function setTrainNo($trainNo) |
|
228 | + { |
|
229 | + $this->trainNo = $trainNo; |
|
230 | + } |
|
231 | + |
|
232 | + public function setUseIdCardIn($useIdCardIn) |
|
233 | + { |
|
234 | + $this->useIdCardIn = $useIdCardIn; |
|
235 | + } |
|
236 | + |
|
237 | + public function setVendorTime($vendorTime) |
|
238 | + { |
|
239 | + $this->vendorTime = $vendorTime; |
|
240 | + } |
|
241 | 241 | |
242 | 242 | } |
243 | 243 | |
244 | 244 | class PddTrainCallbackChangeReserveRequest_NewPassengersItem extends PopBaseJsonEntity |
245 | 245 | { |
246 | 246 | |
247 | - public function __construct() |
|
248 | - { |
|
249 | - |
|
250 | - } |
|
251 | - |
|
252 | - /** |
|
253 | - * @JsonProperty(String, "coach_name") |
|
254 | - */ |
|
255 | - private $coachName; |
|
256 | - |
|
257 | - /** |
|
258 | - * @JsonProperty(String, "coach_no") |
|
259 | - */ |
|
260 | - private $coachNo; |
|
261 | - |
|
262 | - /** |
|
263 | - * @JsonProperty(String, "name") |
|
264 | - */ |
|
265 | - private $name; |
|
266 | - |
|
267 | - /** |
|
268 | - * @JsonProperty(String, "new_sub_order_id") |
|
269 | - */ |
|
270 | - private $newSubOrderId; |
|
271 | - |
|
272 | - /** |
|
273 | - * @JsonProperty(String, "new_sub_pdd_order_id") |
|
274 | - */ |
|
275 | - private $newSubPddOrderId; |
|
276 | - |
|
277 | - /** |
|
278 | - * @JsonProperty(String, "old_sub_order_id") |
|
279 | - */ |
|
280 | - private $oldSubOrderId; |
|
281 | - |
|
282 | - /** |
|
283 | - * @JsonProperty(String, "old_sub_pdd_order_id") |
|
284 | - */ |
|
285 | - private $oldSubPddOrderId; |
|
286 | - |
|
287 | - /** |
|
288 | - * @JsonProperty(String, "seat_name") |
|
289 | - */ |
|
290 | - private $seatName; |
|
291 | - |
|
292 | - /** |
|
293 | - * @JsonProperty(Integer, "seat_type") |
|
294 | - */ |
|
295 | - private $seatType; |
|
296 | - |
|
297 | - /** |
|
298 | - * @JsonProperty(String, "sub_crh_order_id") |
|
299 | - */ |
|
300 | - private $subCrhOrderId; |
|
301 | - |
|
302 | - /** |
|
303 | - * @JsonProperty(Long, "ticket_price") |
|
304 | - */ |
|
305 | - private $ticketPrice; |
|
306 | - |
|
307 | - public function setCoachName($coachName) |
|
308 | - { |
|
309 | - $this->coachName = $coachName; |
|
310 | - } |
|
311 | - |
|
312 | - public function setCoachNo($coachNo) |
|
313 | - { |
|
314 | - $this->coachNo = $coachNo; |
|
315 | - } |
|
316 | - |
|
317 | - public function setName($name) |
|
318 | - { |
|
319 | - $this->name = $name; |
|
320 | - } |
|
321 | - |
|
322 | - public function setNewSubOrderId($newSubOrderId) |
|
323 | - { |
|
324 | - $this->newSubOrderId = $newSubOrderId; |
|
325 | - } |
|
326 | - |
|
327 | - public function setNewSubPddOrderId($newSubPddOrderId) |
|
328 | - { |
|
329 | - $this->newSubPddOrderId = $newSubPddOrderId; |
|
330 | - } |
|
331 | - |
|
332 | - public function setOldSubOrderId($oldSubOrderId) |
|
333 | - { |
|
334 | - $this->oldSubOrderId = $oldSubOrderId; |
|
335 | - } |
|
336 | - |
|
337 | - public function setOldSubPddOrderId($oldSubPddOrderId) |
|
338 | - { |
|
339 | - $this->oldSubPddOrderId = $oldSubPddOrderId; |
|
340 | - } |
|
341 | - |
|
342 | - public function setSeatName($seatName) |
|
343 | - { |
|
344 | - $this->seatName = $seatName; |
|
345 | - } |
|
346 | - |
|
347 | - public function setSeatType($seatType) |
|
348 | - { |
|
349 | - $this->seatType = $seatType; |
|
350 | - } |
|
351 | - |
|
352 | - public function setSubCrhOrderId($subCrhOrderId) |
|
353 | - { |
|
354 | - $this->subCrhOrderId = $subCrhOrderId; |
|
355 | - } |
|
356 | - |
|
357 | - public function setTicketPrice($ticketPrice) |
|
358 | - { |
|
359 | - $this->ticketPrice = $ticketPrice; |
|
360 | - } |
|
247 | + public function __construct() |
|
248 | + { |
|
249 | + |
|
250 | + } |
|
251 | + |
|
252 | + /** |
|
253 | + * @JsonProperty(String, "coach_name") |
|
254 | + */ |
|
255 | + private $coachName; |
|
256 | + |
|
257 | + /** |
|
258 | + * @JsonProperty(String, "coach_no") |
|
259 | + */ |
|
260 | + private $coachNo; |
|
261 | + |
|
262 | + /** |
|
263 | + * @JsonProperty(String, "name") |
|
264 | + */ |
|
265 | + private $name; |
|
266 | + |
|
267 | + /** |
|
268 | + * @JsonProperty(String, "new_sub_order_id") |
|
269 | + */ |
|
270 | + private $newSubOrderId; |
|
271 | + |
|
272 | + /** |
|
273 | + * @JsonProperty(String, "new_sub_pdd_order_id") |
|
274 | + */ |
|
275 | + private $newSubPddOrderId; |
|
276 | + |
|
277 | + /** |
|
278 | + * @JsonProperty(String, "old_sub_order_id") |
|
279 | + */ |
|
280 | + private $oldSubOrderId; |
|
281 | + |
|
282 | + /** |
|
283 | + * @JsonProperty(String, "old_sub_pdd_order_id") |
|
284 | + */ |
|
285 | + private $oldSubPddOrderId; |
|
286 | + |
|
287 | + /** |
|
288 | + * @JsonProperty(String, "seat_name") |
|
289 | + */ |
|
290 | + private $seatName; |
|
291 | + |
|
292 | + /** |
|
293 | + * @JsonProperty(Integer, "seat_type") |
|
294 | + */ |
|
295 | + private $seatType; |
|
296 | + |
|
297 | + /** |
|
298 | + * @JsonProperty(String, "sub_crh_order_id") |
|
299 | + */ |
|
300 | + private $subCrhOrderId; |
|
301 | + |
|
302 | + /** |
|
303 | + * @JsonProperty(Long, "ticket_price") |
|
304 | + */ |
|
305 | + private $ticketPrice; |
|
306 | + |
|
307 | + public function setCoachName($coachName) |
|
308 | + { |
|
309 | + $this->coachName = $coachName; |
|
310 | + } |
|
311 | + |
|
312 | + public function setCoachNo($coachNo) |
|
313 | + { |
|
314 | + $this->coachNo = $coachNo; |
|
315 | + } |
|
316 | + |
|
317 | + public function setName($name) |
|
318 | + { |
|
319 | + $this->name = $name; |
|
320 | + } |
|
321 | + |
|
322 | + public function setNewSubOrderId($newSubOrderId) |
|
323 | + { |
|
324 | + $this->newSubOrderId = $newSubOrderId; |
|
325 | + } |
|
326 | + |
|
327 | + public function setNewSubPddOrderId($newSubPddOrderId) |
|
328 | + { |
|
329 | + $this->newSubPddOrderId = $newSubPddOrderId; |
|
330 | + } |
|
331 | + |
|
332 | + public function setOldSubOrderId($oldSubOrderId) |
|
333 | + { |
|
334 | + $this->oldSubOrderId = $oldSubOrderId; |
|
335 | + } |
|
336 | + |
|
337 | + public function setOldSubPddOrderId($oldSubPddOrderId) |
|
338 | + { |
|
339 | + $this->oldSubPddOrderId = $oldSubPddOrderId; |
|
340 | + } |
|
341 | + |
|
342 | + public function setSeatName($seatName) |
|
343 | + { |
|
344 | + $this->seatName = $seatName; |
|
345 | + } |
|
346 | + |
|
347 | + public function setSeatType($seatType) |
|
348 | + { |
|
349 | + $this->seatType = $seatType; |
|
350 | + } |
|
351 | + |
|
352 | + public function setSubCrhOrderId($subCrhOrderId) |
|
353 | + { |
|
354 | + $this->subCrhOrderId = $subCrhOrderId; |
|
355 | + } |
|
356 | + |
|
357 | + public function setTicketPrice($ticketPrice) |
|
358 | + { |
|
359 | + $this->ticketPrice = $ticketPrice; |
|
360 | + } |
|
361 | 361 | |
362 | 362 | } |
@@ -7,668 +7,668 @@ |
||
7 | 7 | class PddTicketSkuRuleEditRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookerInfoLimitation, "booker_info_limitation") |
|
15 | - */ |
|
16 | - private $bookerInfoLimitation; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNotice, "booking_notice") |
|
20 | - */ |
|
21 | - private $bookingNotice; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_OrderLimitation, "order_limitation") |
|
25 | - */ |
|
26 | - private $orderLimitation; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(String, "out_rule_id") |
|
30 | - */ |
|
31 | - private $outRuleId; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_ProviderContactInfo, "provider_contact_info") |
|
35 | - */ |
|
36 | - private $providerContactInfo; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_RefundLimitations, "refund_limitations") |
|
40 | - */ |
|
41 | - private $refundLimitations; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(String, "rule_id") |
|
45 | - */ |
|
46 | - private $ruleId; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(String, "rule_name") |
|
50 | - */ |
|
51 | - private $ruleName; |
|
52 | - |
|
53 | - /** |
|
54 | - * @JsonProperty(String, "rule_version") |
|
55 | - */ |
|
56 | - private $ruleVersion; |
|
57 | - |
|
58 | - /** |
|
59 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_TravelerInfoLimitation, "traveler_info_limitation") |
|
60 | - */ |
|
61 | - private $travelerInfoLimitation; |
|
62 | - |
|
63 | - /** |
|
64 | - * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_ValidLimitation, "valid_limitation") |
|
65 | - */ |
|
66 | - private $validLimitation; |
|
67 | - |
|
68 | - protected function setUserParams(&$params) |
|
69 | - { |
|
70 | - $this->setUserParam($params, "booker_info_limitation", $this->bookerInfoLimitation); |
|
71 | - $this->setUserParam($params, "booking_notice", $this->bookingNotice); |
|
72 | - $this->setUserParam($params, "order_limitation", $this->orderLimitation); |
|
73 | - $this->setUserParam($params, "out_rule_id", $this->outRuleId); |
|
74 | - $this->setUserParam($params, "provider_contact_info", $this->providerContactInfo); |
|
75 | - $this->setUserParam($params, "refund_limitations", $this->refundLimitations); |
|
76 | - $this->setUserParam($params, "rule_id", $this->ruleId); |
|
77 | - $this->setUserParam($params, "rule_name", $this->ruleName); |
|
78 | - $this->setUserParam($params, "rule_version", $this->ruleVersion); |
|
79 | - $this->setUserParam($params, "traveler_info_limitation", $this->travelerInfoLimitation); |
|
80 | - $this->setUserParam($params, "valid_limitation", $this->validLimitation); |
|
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.ticket.sku.rule.edit"; |
|
97 | - } |
|
98 | - |
|
99 | - public function setBookerInfoLimitation($bookerInfoLimitation) |
|
100 | - { |
|
101 | - $this->bookerInfoLimitation = $bookerInfoLimitation; |
|
102 | - } |
|
103 | - |
|
104 | - public function setBookingNotice($bookingNotice) |
|
105 | - { |
|
106 | - $this->bookingNotice = $bookingNotice; |
|
107 | - } |
|
108 | - |
|
109 | - public function setOrderLimitation($orderLimitation) |
|
110 | - { |
|
111 | - $this->orderLimitation = $orderLimitation; |
|
112 | - } |
|
113 | - |
|
114 | - public function setOutRuleId($outRuleId) |
|
115 | - { |
|
116 | - $this->outRuleId = $outRuleId; |
|
117 | - } |
|
118 | - |
|
119 | - public function setProviderContactInfo($providerContactInfo) |
|
120 | - { |
|
121 | - $this->providerContactInfo = $providerContactInfo; |
|
122 | - } |
|
123 | - |
|
124 | - public function setRefundLimitations($refundLimitations) |
|
125 | - { |
|
126 | - $this->refundLimitations = $refundLimitations; |
|
127 | - } |
|
128 | - |
|
129 | - public function setRuleId($ruleId) |
|
130 | - { |
|
131 | - $this->ruleId = $ruleId; |
|
132 | - } |
|
133 | - |
|
134 | - public function setRuleName($ruleName) |
|
135 | - { |
|
136 | - $this->ruleName = $ruleName; |
|
137 | - } |
|
138 | - |
|
139 | - public function setRuleVersion($ruleVersion) |
|
140 | - { |
|
141 | - $this->ruleVersion = $ruleVersion; |
|
142 | - } |
|
143 | - |
|
144 | - public function setTravelerInfoLimitation($travelerInfoLimitation) |
|
145 | - { |
|
146 | - $this->travelerInfoLimitation = $travelerInfoLimitation; |
|
147 | - } |
|
148 | - |
|
149 | - public function setValidLimitation($validLimitation) |
|
150 | - { |
|
151 | - $this->validLimitation = $validLimitation; |
|
152 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookerInfoLimitation, "booker_info_limitation") |
|
15 | + */ |
|
16 | + private $bookerInfoLimitation; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNotice, "booking_notice") |
|
20 | + */ |
|
21 | + private $bookingNotice; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_OrderLimitation, "order_limitation") |
|
25 | + */ |
|
26 | + private $orderLimitation; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(String, "out_rule_id") |
|
30 | + */ |
|
31 | + private $outRuleId; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_ProviderContactInfo, "provider_contact_info") |
|
35 | + */ |
|
36 | + private $providerContactInfo; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_RefundLimitations, "refund_limitations") |
|
40 | + */ |
|
41 | + private $refundLimitations; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(String, "rule_id") |
|
45 | + */ |
|
46 | + private $ruleId; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(String, "rule_name") |
|
50 | + */ |
|
51 | + private $ruleName; |
|
52 | + |
|
53 | + /** |
|
54 | + * @JsonProperty(String, "rule_version") |
|
55 | + */ |
|
56 | + private $ruleVersion; |
|
57 | + |
|
58 | + /** |
|
59 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_TravelerInfoLimitation, "traveler_info_limitation") |
|
60 | + */ |
|
61 | + private $travelerInfoLimitation; |
|
62 | + |
|
63 | + /** |
|
64 | + * @JsonProperty(\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_ValidLimitation, "valid_limitation") |
|
65 | + */ |
|
66 | + private $validLimitation; |
|
67 | + |
|
68 | + protected function setUserParams(&$params) |
|
69 | + { |
|
70 | + $this->setUserParam($params, "booker_info_limitation", $this->bookerInfoLimitation); |
|
71 | + $this->setUserParam($params, "booking_notice", $this->bookingNotice); |
|
72 | + $this->setUserParam($params, "order_limitation", $this->orderLimitation); |
|
73 | + $this->setUserParam($params, "out_rule_id", $this->outRuleId); |
|
74 | + $this->setUserParam($params, "provider_contact_info", $this->providerContactInfo); |
|
75 | + $this->setUserParam($params, "refund_limitations", $this->refundLimitations); |
|
76 | + $this->setUserParam($params, "rule_id", $this->ruleId); |
|
77 | + $this->setUserParam($params, "rule_name", $this->ruleName); |
|
78 | + $this->setUserParam($params, "rule_version", $this->ruleVersion); |
|
79 | + $this->setUserParam($params, "traveler_info_limitation", $this->travelerInfoLimitation); |
|
80 | + $this->setUserParam($params, "valid_limitation", $this->validLimitation); |
|
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.ticket.sku.rule.edit"; |
|
97 | + } |
|
98 | + |
|
99 | + public function setBookerInfoLimitation($bookerInfoLimitation) |
|
100 | + { |
|
101 | + $this->bookerInfoLimitation = $bookerInfoLimitation; |
|
102 | + } |
|
103 | + |
|
104 | + public function setBookingNotice($bookingNotice) |
|
105 | + { |
|
106 | + $this->bookingNotice = $bookingNotice; |
|
107 | + } |
|
108 | + |
|
109 | + public function setOrderLimitation($orderLimitation) |
|
110 | + { |
|
111 | + $this->orderLimitation = $orderLimitation; |
|
112 | + } |
|
113 | + |
|
114 | + public function setOutRuleId($outRuleId) |
|
115 | + { |
|
116 | + $this->outRuleId = $outRuleId; |
|
117 | + } |
|
118 | + |
|
119 | + public function setProviderContactInfo($providerContactInfo) |
|
120 | + { |
|
121 | + $this->providerContactInfo = $providerContactInfo; |
|
122 | + } |
|
123 | + |
|
124 | + public function setRefundLimitations($refundLimitations) |
|
125 | + { |
|
126 | + $this->refundLimitations = $refundLimitations; |
|
127 | + } |
|
128 | + |
|
129 | + public function setRuleId($ruleId) |
|
130 | + { |
|
131 | + $this->ruleId = $ruleId; |
|
132 | + } |
|
133 | + |
|
134 | + public function setRuleName($ruleName) |
|
135 | + { |
|
136 | + $this->ruleName = $ruleName; |
|
137 | + } |
|
138 | + |
|
139 | + public function setRuleVersion($ruleVersion) |
|
140 | + { |
|
141 | + $this->ruleVersion = $ruleVersion; |
|
142 | + } |
|
143 | + |
|
144 | + public function setTravelerInfoLimitation($travelerInfoLimitation) |
|
145 | + { |
|
146 | + $this->travelerInfoLimitation = $travelerInfoLimitation; |
|
147 | + } |
|
148 | + |
|
149 | + public function setValidLimitation($validLimitation) |
|
150 | + { |
|
151 | + $this->validLimitation = $validLimitation; |
|
152 | + } |
|
153 | 153 | |
154 | 154 | } |
155 | 155 | |
156 | 156 | class PddTicketSkuRuleEditRequest_BookerInfoLimitation 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, "booker_required") |
|
166 | - */ |
|
167 | - private $bookerRequired; |
|
164 | + /** |
|
165 | + * @JsonProperty(Integer, "booker_required") |
|
166 | + */ |
|
167 | + private $bookerRequired; |
|
168 | 168 | |
169 | - /** |
|
170 | - * @JsonProperty(Integer, "mobile") |
|
171 | - */ |
|
172 | - private $mobile; |
|
169 | + /** |
|
170 | + * @JsonProperty(Integer, "mobile") |
|
171 | + */ |
|
172 | + private $mobile; |
|
173 | 173 | |
174 | - public function setBookerRequired($bookerRequired) |
|
175 | - { |
|
176 | - $this->bookerRequired = $bookerRequired; |
|
177 | - } |
|
174 | + public function setBookerRequired($bookerRequired) |
|
175 | + { |
|
176 | + $this->bookerRequired = $bookerRequired; |
|
177 | + } |
|
178 | 178 | |
179 | - public function setMobile($mobile) |
|
180 | - { |
|
181 | - $this->mobile = $mobile; |
|
182 | - } |
|
179 | + public function setMobile($mobile) |
|
180 | + { |
|
181 | + $this->mobile = $mobile; |
|
182 | + } |
|
183 | 183 | |
184 | 184 | } |
185 | 185 | |
186 | 186 | class PddTicketSkuRuleEditRequest_BookingNotice extends PopBaseJsonEntity |
187 | 187 | { |
188 | 188 | |
189 | - public function __construct() |
|
190 | - { |
|
191 | - |
|
192 | - } |
|
193 | - |
|
194 | - /** |
|
195 | - * @JsonProperty(String, "enter_address") |
|
196 | - */ |
|
197 | - private $enterAddress; |
|
198 | - |
|
199 | - /** |
|
200 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNoticeEnterTimeItem>, "enter_time") |
|
201 | - */ |
|
202 | - private $enterTime; |
|
203 | - |
|
204 | - /** |
|
205 | - * @JsonProperty(String, "enter_ways") |
|
206 | - */ |
|
207 | - private $enterWays; |
|
208 | - |
|
209 | - /** |
|
210 | - * @JsonProperty(String, "extra_desc") |
|
211 | - */ |
|
212 | - private $extraDesc; |
|
213 | - |
|
214 | - /** |
|
215 | - * @JsonProperty(String, "fee_include") |
|
216 | - */ |
|
217 | - private $feeInclude; |
|
218 | - |
|
219 | - /** |
|
220 | - * @JsonProperty(String, "fee_not_include") |
|
221 | - */ |
|
222 | - private $feeNotInclude; |
|
223 | - |
|
224 | - /** |
|
225 | - * @JsonProperty(String, "important_notice") |
|
226 | - */ |
|
227 | - private $importantNotice; |
|
228 | - |
|
229 | - /** |
|
230 | - * @JsonProperty(Integer, "pass_time_limit") |
|
231 | - */ |
|
232 | - private $passTimeLimit; |
|
233 | - |
|
234 | - /** |
|
235 | - * @JsonProperty(String, "ticket_place") |
|
236 | - */ |
|
237 | - private $ticketPlace; |
|
238 | - |
|
239 | - /** |
|
240 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNoticeTicketTimeItem>, "ticket_time") |
|
241 | - */ |
|
242 | - private $ticketTime; |
|
243 | - |
|
244 | - public function setEnterAddress($enterAddress) |
|
245 | - { |
|
246 | - $this->enterAddress = $enterAddress; |
|
247 | - } |
|
248 | - |
|
249 | - public function setEnterTime($enterTime) |
|
250 | - { |
|
251 | - $this->enterTime = $enterTime; |
|
252 | - } |
|
253 | - |
|
254 | - public function setEnterWays($enterWays) |
|
255 | - { |
|
256 | - $this->enterWays = $enterWays; |
|
257 | - } |
|
258 | - |
|
259 | - public function setExtraDesc($extraDesc) |
|
260 | - { |
|
261 | - $this->extraDesc = $extraDesc; |
|
262 | - } |
|
263 | - |
|
264 | - public function setFeeInclude($feeInclude) |
|
265 | - { |
|
266 | - $this->feeInclude = $feeInclude; |
|
267 | - } |
|
268 | - |
|
269 | - public function setFeeNotInclude($feeNotInclude) |
|
270 | - { |
|
271 | - $this->feeNotInclude = $feeNotInclude; |
|
272 | - } |
|
273 | - |
|
274 | - public function setImportantNotice($importantNotice) |
|
275 | - { |
|
276 | - $this->importantNotice = $importantNotice; |
|
277 | - } |
|
278 | - |
|
279 | - public function setPassTimeLimit($passTimeLimit) |
|
280 | - { |
|
281 | - $this->passTimeLimit = $passTimeLimit; |
|
282 | - } |
|
283 | - |
|
284 | - public function setTicketPlace($ticketPlace) |
|
285 | - { |
|
286 | - $this->ticketPlace = $ticketPlace; |
|
287 | - } |
|
288 | - |
|
289 | - public function setTicketTime($ticketTime) |
|
290 | - { |
|
291 | - $this->ticketTime = $ticketTime; |
|
292 | - } |
|
189 | + public function __construct() |
|
190 | + { |
|
191 | + |
|
192 | + } |
|
193 | + |
|
194 | + /** |
|
195 | + * @JsonProperty(String, "enter_address") |
|
196 | + */ |
|
197 | + private $enterAddress; |
|
198 | + |
|
199 | + /** |
|
200 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNoticeEnterTimeItem>, "enter_time") |
|
201 | + */ |
|
202 | + private $enterTime; |
|
203 | + |
|
204 | + /** |
|
205 | + * @JsonProperty(String, "enter_ways") |
|
206 | + */ |
|
207 | + private $enterWays; |
|
208 | + |
|
209 | + /** |
|
210 | + * @JsonProperty(String, "extra_desc") |
|
211 | + */ |
|
212 | + private $extraDesc; |
|
213 | + |
|
214 | + /** |
|
215 | + * @JsonProperty(String, "fee_include") |
|
216 | + */ |
|
217 | + private $feeInclude; |
|
218 | + |
|
219 | + /** |
|
220 | + * @JsonProperty(String, "fee_not_include") |
|
221 | + */ |
|
222 | + private $feeNotInclude; |
|
223 | + |
|
224 | + /** |
|
225 | + * @JsonProperty(String, "important_notice") |
|
226 | + */ |
|
227 | + private $importantNotice; |
|
228 | + |
|
229 | + /** |
|
230 | + * @JsonProperty(Integer, "pass_time_limit") |
|
231 | + */ |
|
232 | + private $passTimeLimit; |
|
233 | + |
|
234 | + /** |
|
235 | + * @JsonProperty(String, "ticket_place") |
|
236 | + */ |
|
237 | + private $ticketPlace; |
|
238 | + |
|
239 | + /** |
|
240 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_BookingNoticeTicketTimeItem>, "ticket_time") |
|
241 | + */ |
|
242 | + private $ticketTime; |
|
243 | + |
|
244 | + public function setEnterAddress($enterAddress) |
|
245 | + { |
|
246 | + $this->enterAddress = $enterAddress; |
|
247 | + } |
|
248 | + |
|
249 | + public function setEnterTime($enterTime) |
|
250 | + { |
|
251 | + $this->enterTime = $enterTime; |
|
252 | + } |
|
253 | + |
|
254 | + public function setEnterWays($enterWays) |
|
255 | + { |
|
256 | + $this->enterWays = $enterWays; |
|
257 | + } |
|
258 | + |
|
259 | + public function setExtraDesc($extraDesc) |
|
260 | + { |
|
261 | + $this->extraDesc = $extraDesc; |
|
262 | + } |
|
263 | + |
|
264 | + public function setFeeInclude($feeInclude) |
|
265 | + { |
|
266 | + $this->feeInclude = $feeInclude; |
|
267 | + } |
|
268 | + |
|
269 | + public function setFeeNotInclude($feeNotInclude) |
|
270 | + { |
|
271 | + $this->feeNotInclude = $feeNotInclude; |
|
272 | + } |
|
273 | + |
|
274 | + public function setImportantNotice($importantNotice) |
|
275 | + { |
|
276 | + $this->importantNotice = $importantNotice; |
|
277 | + } |
|
278 | + |
|
279 | + public function setPassTimeLimit($passTimeLimit) |
|
280 | + { |
|
281 | + $this->passTimeLimit = $passTimeLimit; |
|
282 | + } |
|
283 | + |
|
284 | + public function setTicketPlace($ticketPlace) |
|
285 | + { |
|
286 | + $this->ticketPlace = $ticketPlace; |
|
287 | + } |
|
288 | + |
|
289 | + public function setTicketTime($ticketTime) |
|
290 | + { |
|
291 | + $this->ticketTime = $ticketTime; |
|
292 | + } |
|
293 | 293 | |
294 | 294 | } |
295 | 295 | |
296 | 296 | class PddTicketSkuRuleEditRequest_BookingNoticeEnterTimeItem extends PopBaseJsonEntity |
297 | 297 | { |
298 | 298 | |
299 | - public function __construct() |
|
300 | - { |
|
299 | + public function __construct() |
|
300 | + { |
|
301 | 301 | |
302 | - } |
|
302 | + } |
|
303 | 303 | |
304 | - /** |
|
305 | - * @JsonProperty(String, "comment") |
|
306 | - */ |
|
307 | - private $comment; |
|
304 | + /** |
|
305 | + * @JsonProperty(String, "comment") |
|
306 | + */ |
|
307 | + private $comment; |
|
308 | 308 | |
309 | - /** |
|
310 | - * @JsonProperty(String, "end_at") |
|
311 | - */ |
|
312 | - private $endAt; |
|
309 | + /** |
|
310 | + * @JsonProperty(String, "end_at") |
|
311 | + */ |
|
312 | + private $endAt; |
|
313 | 313 | |
314 | - /** |
|
315 | - * @JsonProperty(String, "start_at") |
|
316 | - */ |
|
317 | - private $startAt; |
|
314 | + /** |
|
315 | + * @JsonProperty(String, "start_at") |
|
316 | + */ |
|
317 | + private $startAt; |
|
318 | 318 | |
319 | - public function setComment($comment) |
|
320 | - { |
|
321 | - $this->comment = $comment; |
|
322 | - } |
|
319 | + public function setComment($comment) |
|
320 | + { |
|
321 | + $this->comment = $comment; |
|
322 | + } |
|
323 | 323 | |
324 | - public function setEndAt($endAt) |
|
325 | - { |
|
326 | - $this->endAt = $endAt; |
|
327 | - } |
|
324 | + public function setEndAt($endAt) |
|
325 | + { |
|
326 | + $this->endAt = $endAt; |
|
327 | + } |
|
328 | 328 | |
329 | - public function setStartAt($startAt) |
|
330 | - { |
|
331 | - $this->startAt = $startAt; |
|
332 | - } |
|
329 | + public function setStartAt($startAt) |
|
330 | + { |
|
331 | + $this->startAt = $startAt; |
|
332 | + } |
|
333 | 333 | |
334 | 334 | } |
335 | 335 | |
336 | 336 | class PddTicketSkuRuleEditRequest_BookingNoticeTicketTimeItem extends PopBaseJsonEntity |
337 | 337 | { |
338 | 338 | |
339 | - public function __construct() |
|
340 | - { |
|
339 | + public function __construct() |
|
340 | + { |
|
341 | 341 | |
342 | - } |
|
342 | + } |
|
343 | 343 | |
344 | - /** |
|
345 | - * @JsonProperty(String, "comment") |
|
346 | - */ |
|
347 | - private $comment; |
|
344 | + /** |
|
345 | + * @JsonProperty(String, "comment") |
|
346 | + */ |
|
347 | + private $comment; |
|
348 | 348 | |
349 | - /** |
|
350 | - * @JsonProperty(String, "end_at") |
|
351 | - */ |
|
352 | - private $endAt; |
|
349 | + /** |
|
350 | + * @JsonProperty(String, "end_at") |
|
351 | + */ |
|
352 | + private $endAt; |
|
353 | 353 | |
354 | - /** |
|
355 | - * @JsonProperty(String, "start_at") |
|
356 | - */ |
|
357 | - private $startAt; |
|
354 | + /** |
|
355 | + * @JsonProperty(String, "start_at") |
|
356 | + */ |
|
357 | + private $startAt; |
|
358 | 358 | |
359 | - public function setComment($comment) |
|
360 | - { |
|
361 | - $this->comment = $comment; |
|
362 | - } |
|
359 | + public function setComment($comment) |
|
360 | + { |
|
361 | + $this->comment = $comment; |
|
362 | + } |
|
363 | 363 | |
364 | - public function setEndAt($endAt) |
|
365 | - { |
|
366 | - $this->endAt = $endAt; |
|
367 | - } |
|
364 | + public function setEndAt($endAt) |
|
365 | + { |
|
366 | + $this->endAt = $endAt; |
|
367 | + } |
|
368 | 368 | |
369 | - public function setStartAt($startAt) |
|
370 | - { |
|
371 | - $this->startAt = $startAt; |
|
372 | - } |
|
369 | + public function setStartAt($startAt) |
|
370 | + { |
|
371 | + $this->startAt = $startAt; |
|
372 | + } |
|
373 | 373 | |
374 | 374 | } |
375 | 375 | |
376 | 376 | class PddTicketSkuRuleEditRequest_OrderLimitation extends PopBaseJsonEntity |
377 | 377 | { |
378 | 378 | |
379 | - public function __construct() |
|
380 | - { |
|
381 | - |
|
382 | - } |
|
383 | - |
|
384 | - /** |
|
385 | - * @JsonProperty(Integer, "cycle_length") |
|
386 | - */ |
|
387 | - private $cycleLength; |
|
388 | - |
|
389 | - /** |
|
390 | - * @JsonProperty(Integer, "limitation_type") |
|
391 | - */ |
|
392 | - private $limitationType; |
|
393 | - |
|
394 | - /** |
|
395 | - * @JsonProperty(Integer, "limit_cycle") |
|
396 | - */ |
|
397 | - private $limitCycle; |
|
398 | - |
|
399 | - /** |
|
400 | - * @JsonProperty(Integer, "limit_num") |
|
401 | - */ |
|
402 | - private $limitNum; |
|
403 | - |
|
404 | - public function setCycleLength($cycleLength) |
|
405 | - { |
|
406 | - $this->cycleLength = $cycleLength; |
|
407 | - } |
|
408 | - |
|
409 | - public function setLimitationType($limitationType) |
|
410 | - { |
|
411 | - $this->limitationType = $limitationType; |
|
412 | - } |
|
413 | - |
|
414 | - public function setLimitCycle($limitCycle) |
|
415 | - { |
|
416 | - $this->limitCycle = $limitCycle; |
|
417 | - } |
|
418 | - |
|
419 | - public function setLimitNum($limitNum) |
|
420 | - { |
|
421 | - $this->limitNum = $limitNum; |
|
422 | - } |
|
379 | + public function __construct() |
|
380 | + { |
|
381 | + |
|
382 | + } |
|
383 | + |
|
384 | + /** |
|
385 | + * @JsonProperty(Integer, "cycle_length") |
|
386 | + */ |
|
387 | + private $cycleLength; |
|
388 | + |
|
389 | + /** |
|
390 | + * @JsonProperty(Integer, "limitation_type") |
|
391 | + */ |
|
392 | + private $limitationType; |
|
393 | + |
|
394 | + /** |
|
395 | + * @JsonProperty(Integer, "limit_cycle") |
|
396 | + */ |
|
397 | + private $limitCycle; |
|
398 | + |
|
399 | + /** |
|
400 | + * @JsonProperty(Integer, "limit_num") |
|
401 | + */ |
|
402 | + private $limitNum; |
|
403 | + |
|
404 | + public function setCycleLength($cycleLength) |
|
405 | + { |
|
406 | + $this->cycleLength = $cycleLength; |
|
407 | + } |
|
408 | + |
|
409 | + public function setLimitationType($limitationType) |
|
410 | + { |
|
411 | + $this->limitationType = $limitationType; |
|
412 | + } |
|
413 | + |
|
414 | + public function setLimitCycle($limitCycle) |
|
415 | + { |
|
416 | + $this->limitCycle = $limitCycle; |
|
417 | + } |
|
418 | + |
|
419 | + public function setLimitNum($limitNum) |
|
420 | + { |
|
421 | + $this->limitNum = $limitNum; |
|
422 | + } |
|
423 | 423 | |
424 | 424 | } |
425 | 425 | |
426 | 426 | class PddTicketSkuRuleEditRequest_ProviderContactInfo extends PopBaseJsonEntity |
427 | 427 | { |
428 | 428 | |
429 | - public function __construct() |
|
430 | - { |
|
429 | + public function __construct() |
|
430 | + { |
|
431 | 431 | |
432 | - } |
|
432 | + } |
|
433 | 433 | |
434 | - /** |
|
435 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_ProviderContactInfoProviderBusinessHourItem>, "provider_business_hour") |
|
436 | - */ |
|
437 | - private $providerBusinessHour; |
|
434 | + /** |
|
435 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_ProviderContactInfoProviderBusinessHourItem>, "provider_business_hour") |
|
436 | + */ |
|
437 | + private $providerBusinessHour; |
|
438 | 438 | |
439 | - /** |
|
440 | - * @JsonProperty(String, "provider_name") |
|
441 | - */ |
|
442 | - private $providerName; |
|
439 | + /** |
|
440 | + * @JsonProperty(String, "provider_name") |
|
441 | + */ |
|
442 | + private $providerName; |
|
443 | 443 | |
444 | - /** |
|
445 | - * @JsonProperty(String, "provider_telephone") |
|
446 | - */ |
|
447 | - private $providerTelephone; |
|
444 | + /** |
|
445 | + * @JsonProperty(String, "provider_telephone") |
|
446 | + */ |
|
447 | + private $providerTelephone; |
|
448 | 448 | |
449 | - public function setProviderBusinessHour($providerBusinessHour) |
|
450 | - { |
|
451 | - $this->providerBusinessHour = $providerBusinessHour; |
|
452 | - } |
|
449 | + public function setProviderBusinessHour($providerBusinessHour) |
|
450 | + { |
|
451 | + $this->providerBusinessHour = $providerBusinessHour; |
|
452 | + } |
|
453 | 453 | |
454 | - public function setProviderName($providerName) |
|
455 | - { |
|
456 | - $this->providerName = $providerName; |
|
457 | - } |
|
454 | + public function setProviderName($providerName) |
|
455 | + { |
|
456 | + $this->providerName = $providerName; |
|
457 | + } |
|
458 | 458 | |
459 | - public function setProviderTelephone($providerTelephone) |
|
460 | - { |
|
461 | - $this->providerTelephone = $providerTelephone; |
|
462 | - } |
|
459 | + public function setProviderTelephone($providerTelephone) |
|
460 | + { |
|
461 | + $this->providerTelephone = $providerTelephone; |
|
462 | + } |
|
463 | 463 | |
464 | 464 | } |
465 | 465 | |
466 | 466 | class PddTicketSkuRuleEditRequest_ProviderContactInfoProviderBusinessHourItem extends PopBaseJsonEntity |
467 | 467 | { |
468 | 468 | |
469 | - public function __construct() |
|
470 | - { |
|
469 | + public function __construct() |
|
470 | + { |
|
471 | 471 | |
472 | - } |
|
472 | + } |
|
473 | 473 | |
474 | - /** |
|
475 | - * @JsonProperty(String, "close_at") |
|
476 | - */ |
|
477 | - private $closeAt; |
|
474 | + /** |
|
475 | + * @JsonProperty(String, "close_at") |
|
476 | + */ |
|
477 | + private $closeAt; |
|
478 | 478 | |
479 | - /** |
|
480 | - * @JsonProperty(String, "open_at") |
|
481 | - */ |
|
482 | - private $openAt; |
|
479 | + /** |
|
480 | + * @JsonProperty(String, "open_at") |
|
481 | + */ |
|
482 | + private $openAt; |
|
483 | 483 | |
484 | - /** |
|
485 | - * @JsonProperty(String, "time_info") |
|
486 | - */ |
|
487 | - private $timeInfo; |
|
484 | + /** |
|
485 | + * @JsonProperty(String, "time_info") |
|
486 | + */ |
|
487 | + private $timeInfo; |
|
488 | 488 | |
489 | - public function setCloseAt($closeAt) |
|
490 | - { |
|
491 | - $this->closeAt = $closeAt; |
|
492 | - } |
|
489 | + public function setCloseAt($closeAt) |
|
490 | + { |
|
491 | + $this->closeAt = $closeAt; |
|
492 | + } |
|
493 | 493 | |
494 | - public function setOpenAt($openAt) |
|
495 | - { |
|
496 | - $this->openAt = $openAt; |
|
497 | - } |
|
494 | + public function setOpenAt($openAt) |
|
495 | + { |
|
496 | + $this->openAt = $openAt; |
|
497 | + } |
|
498 | 498 | |
499 | - public function setTimeInfo($timeInfo) |
|
500 | - { |
|
501 | - $this->timeInfo = $timeInfo; |
|
502 | - } |
|
499 | + public function setTimeInfo($timeInfo) |
|
500 | + { |
|
501 | + $this->timeInfo = $timeInfo; |
|
502 | + } |
|
503 | 503 | |
504 | 504 | } |
505 | 505 | |
506 | 506 | class PddTicketSkuRuleEditRequest_RefundLimitations extends PopBaseJsonEntity |
507 | 507 | { |
508 | 508 | |
509 | - public function __construct() |
|
510 | - { |
|
509 | + public function __construct() |
|
510 | + { |
|
511 | 511 | |
512 | - } |
|
512 | + } |
|
513 | 513 | |
514 | - /** |
|
515 | - * @JsonProperty(Integer, "is_refundable") |
|
516 | - */ |
|
517 | - private $isRefundable; |
|
514 | + /** |
|
515 | + * @JsonProperty(Integer, "is_refundable") |
|
516 | + */ |
|
517 | + private $isRefundable; |
|
518 | 518 | |
519 | - /** |
|
520 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_RefundLimitationsRefundRulesItem>, "refund_rules") |
|
521 | - */ |
|
522 | - private $refundRules; |
|
519 | + /** |
|
520 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddTicketSkuRuleEditRequest_RefundLimitationsRefundRulesItem>, "refund_rules") |
|
521 | + */ |
|
522 | + private $refundRules; |
|
523 | 523 | |
524 | - public function setIsRefundable($isRefundable) |
|
525 | - { |
|
526 | - $this->isRefundable = $isRefundable; |
|
527 | - } |
|
524 | + public function setIsRefundable($isRefundable) |
|
525 | + { |
|
526 | + $this->isRefundable = $isRefundable; |
|
527 | + } |
|
528 | 528 | |
529 | - public function setRefundRules($refundRules) |
|
530 | - { |
|
531 | - $this->refundRules = $refundRules; |
|
532 | - } |
|
529 | + public function setRefundRules($refundRules) |
|
530 | + { |
|
531 | + $this->refundRules = $refundRules; |
|
532 | + } |
|
533 | 533 | |
534 | 534 | } |
535 | 535 | |
536 | 536 | class PddTicketSkuRuleEditRequest_RefundLimitationsRefundRulesItem extends PopBaseJsonEntity |
537 | 537 | { |
538 | 538 | |
539 | - public function __construct() |
|
540 | - { |
|
541 | - |
|
542 | - } |
|
543 | - |
|
544 | - /** |
|
545 | - * @JsonProperty(Integer, "ahead_time") |
|
546 | - */ |
|
547 | - private $aheadTime; |
|
548 | - |
|
549 | - /** |
|
550 | - * @JsonProperty(Integer, "deduction_fee") |
|
551 | - */ |
|
552 | - private $deductionFee; |
|
553 | - |
|
554 | - /** |
|
555 | - * @JsonProperty(Integer, "deduction_unit") |
|
556 | - */ |
|
557 | - private $deductionUnit; |
|
558 | - |
|
559 | - /** |
|
560 | - * @JsonProperty(Integer, "type") |
|
561 | - */ |
|
562 | - private $type; |
|
563 | - |
|
564 | - public function setAheadTime($aheadTime) |
|
565 | - { |
|
566 | - $this->aheadTime = $aheadTime; |
|
567 | - } |
|
568 | - |
|
569 | - public function setDeductionFee($deductionFee) |
|
570 | - { |
|
571 | - $this->deductionFee = $deductionFee; |
|
572 | - } |
|
573 | - |
|
574 | - public function setDeductionUnit($deductionUnit) |
|
575 | - { |
|
576 | - $this->deductionUnit = $deductionUnit; |
|
577 | - } |
|
578 | - |
|
579 | - public function setType($type) |
|
580 | - { |
|
581 | - $this->type = $type; |
|
582 | - } |
|
539 | + public function __construct() |
|
540 | + { |
|
541 | + |
|
542 | + } |
|
543 | + |
|
544 | + /** |
|
545 | + * @JsonProperty(Integer, "ahead_time") |
|
546 | + */ |
|
547 | + private $aheadTime; |
|
548 | + |
|
549 | + /** |
|
550 | + * @JsonProperty(Integer, "deduction_fee") |
|
551 | + */ |
|
552 | + private $deductionFee; |
|
553 | + |
|
554 | + /** |
|
555 | + * @JsonProperty(Integer, "deduction_unit") |
|
556 | + */ |
|
557 | + private $deductionUnit; |
|
558 | + |
|
559 | + /** |
|
560 | + * @JsonProperty(Integer, "type") |
|
561 | + */ |
|
562 | + private $type; |
|
563 | + |
|
564 | + public function setAheadTime($aheadTime) |
|
565 | + { |
|
566 | + $this->aheadTime = $aheadTime; |
|
567 | + } |
|
568 | + |
|
569 | + public function setDeductionFee($deductionFee) |
|
570 | + { |
|
571 | + $this->deductionFee = $deductionFee; |
|
572 | + } |
|
573 | + |
|
574 | + public function setDeductionUnit($deductionUnit) |
|
575 | + { |
|
576 | + $this->deductionUnit = $deductionUnit; |
|
577 | + } |
|
578 | + |
|
579 | + public function setType($type) |
|
580 | + { |
|
581 | + $this->type = $type; |
|
582 | + } |
|
583 | 583 | |
584 | 584 | } |
585 | 585 | |
586 | 586 | class PddTicketSkuRuleEditRequest_TravelerInfoLimitation extends PopBaseJsonEntity |
587 | 587 | { |
588 | 588 | |
589 | - public function __construct() |
|
590 | - { |
|
589 | + public function __construct() |
|
590 | + { |
|
591 | 591 | |
592 | - } |
|
592 | + } |
|
593 | 593 | |
594 | - /** |
|
595 | - * @JsonProperty(Integer, "credential") |
|
596 | - */ |
|
597 | - private $credential; |
|
594 | + /** |
|
595 | + * @JsonProperty(Integer, "credential") |
|
596 | + */ |
|
597 | + private $credential; |
|
598 | 598 | |
599 | - /** |
|
600 | - * @JsonProperty(Integer, "name") |
|
601 | - */ |
|
602 | - private $name; |
|
599 | + /** |
|
600 | + * @JsonProperty(Integer, "name") |
|
601 | + */ |
|
602 | + private $name; |
|
603 | 603 | |
604 | - /** |
|
605 | - * @JsonProperty(Integer, "traveler_required") |
|
606 | - */ |
|
607 | - private $travelerRequired; |
|
604 | + /** |
|
605 | + * @JsonProperty(Integer, "traveler_required") |
|
606 | + */ |
|
607 | + private $travelerRequired; |
|
608 | 608 | |
609 | - public function setCredential($credential) |
|
610 | - { |
|
611 | - $this->credential = $credential; |
|
612 | - } |
|
609 | + public function setCredential($credential) |
|
610 | + { |
|
611 | + $this->credential = $credential; |
|
612 | + } |
|
613 | 613 | |
614 | - public function setName($name) |
|
615 | - { |
|
616 | - $this->name = $name; |
|
617 | - } |
|
614 | + public function setName($name) |
|
615 | + { |
|
616 | + $this->name = $name; |
|
617 | + } |
|
618 | 618 | |
619 | - public function setTravelerRequired($travelerRequired) |
|
620 | - { |
|
621 | - $this->travelerRequired = $travelerRequired; |
|
622 | - } |
|
619 | + public function setTravelerRequired($travelerRequired) |
|
620 | + { |
|
621 | + $this->travelerRequired = $travelerRequired; |
|
622 | + } |
|
623 | 623 | |
624 | 624 | } |
625 | 625 | |
626 | 626 | class PddTicketSkuRuleEditRequest_ValidLimitation extends PopBaseJsonEntity |
627 | 627 | { |
628 | 628 | |
629 | - public function __construct() |
|
630 | - { |
|
631 | - |
|
632 | - } |
|
633 | - |
|
634 | - /** |
|
635 | - * @JsonProperty(Integer, "days_time") |
|
636 | - */ |
|
637 | - private $daysTime; |
|
638 | - |
|
639 | - /** |
|
640 | - * @JsonProperty(Long, "end_time") |
|
641 | - */ |
|
642 | - private $endTime; |
|
643 | - |
|
644 | - /** |
|
645 | - * @JsonProperty(Long, "start_time") |
|
646 | - */ |
|
647 | - private $startTime; |
|
648 | - |
|
649 | - /** |
|
650 | - * @JsonProperty(Integer, "time_type") |
|
651 | - */ |
|
652 | - private $timeType; |
|
653 | - |
|
654 | - public function setDaysTime($daysTime) |
|
655 | - { |
|
656 | - $this->daysTime = $daysTime; |
|
657 | - } |
|
658 | - |
|
659 | - public function setEndTime($endTime) |
|
660 | - { |
|
661 | - $this->endTime = $endTime; |
|
662 | - } |
|
663 | - |
|
664 | - public function setStartTime($startTime) |
|
665 | - { |
|
666 | - $this->startTime = $startTime; |
|
667 | - } |
|
668 | - |
|
669 | - public function setTimeType($timeType) |
|
670 | - { |
|
671 | - $this->timeType = $timeType; |
|
672 | - } |
|
629 | + public function __construct() |
|
630 | + { |
|
631 | + |
|
632 | + } |
|
633 | + |
|
634 | + /** |
|
635 | + * @JsonProperty(Integer, "days_time") |
|
636 | + */ |
|
637 | + private $daysTime; |
|
638 | + |
|
639 | + /** |
|
640 | + * @JsonProperty(Long, "end_time") |
|
641 | + */ |
|
642 | + private $endTime; |
|
643 | + |
|
644 | + /** |
|
645 | + * @JsonProperty(Long, "start_time") |
|
646 | + */ |
|
647 | + private $startTime; |
|
648 | + |
|
649 | + /** |
|
650 | + * @JsonProperty(Integer, "time_type") |
|
651 | + */ |
|
652 | + private $timeType; |
|
653 | + |
|
654 | + public function setDaysTime($daysTime) |
|
655 | + { |
|
656 | + $this->daysTime = $daysTime; |
|
657 | + } |
|
658 | + |
|
659 | + public function setEndTime($endTime) |
|
660 | + { |
|
661 | + $this->endTime = $endTime; |
|
662 | + } |
|
663 | + |
|
664 | + public function setStartTime($startTime) |
|
665 | + { |
|
666 | + $this->startTime = $startTime; |
|
667 | + } |
|
668 | + |
|
669 | + public function setTimeType($timeType) |
|
670 | + { |
|
671 | + $this->timeType = $timeType; |
|
672 | + } |
|
673 | 673 | |
674 | 674 | } |