@@ -7,445 +7,445 @@ |
||
7 | 7 | class PddFlightOrderCreateRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
11 | - |
|
12 | - } |
|
13 | - /** |
|
14 | - * @JsonProperty(String, "trace_id") |
|
15 | - */ |
|
16 | - private $traceId; |
|
17 | - |
|
18 | - /** |
|
19 | - * @JsonProperty(String, "sub_trace_id") |
|
20 | - */ |
|
21 | - private $subTraceId; |
|
22 | - |
|
23 | - /** |
|
24 | - * @JsonProperty(String, "trip_type") |
|
25 | - */ |
|
26 | - private $tripType; |
|
27 | - |
|
28 | - /** |
|
29 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCreateRequest_FlightInfoListItem>, "flight_info_list") |
|
30 | - */ |
|
31 | - private $flightInfoList; |
|
32 | - |
|
33 | - /** |
|
34 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCreateRequest_PassengerInfoListItem>, "passenger_info_list") |
|
35 | - */ |
|
36 | - private $passengerInfoList; |
|
37 | - |
|
38 | - /** |
|
39 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCreateRequest_PriceInfoListItem>, "price_info_list") |
|
40 | - */ |
|
41 | - private $priceInfoList; |
|
42 | - |
|
43 | - /** |
|
44 | - * @JsonProperty(Integer, "product_type") |
|
45 | - */ |
|
46 | - private $productType; |
|
47 | - |
|
48 | - /** |
|
49 | - * @JsonProperty(String, "product_id") |
|
50 | - */ |
|
51 | - private $productId; |
|
52 | - |
|
53 | - protected function setUserParams(&$params) |
|
54 | - { |
|
55 | - $this->setUserParam($params, "trace_id", $this->traceId); |
|
56 | - $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
57 | - $this->setUserParam($params, "trip_type", $this->tripType); |
|
58 | - $this->setUserParam($params, "flight_info_list", $this->flightInfoList); |
|
59 | - $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
60 | - $this->setUserParam($params, "price_info_list", $this->priceInfoList); |
|
61 | - $this->setUserParam($params, "product_type", $this->productType); |
|
62 | - $this->setUserParam($params, "product_id", $this->productId); |
|
63 | - |
|
64 | - } |
|
65 | - |
|
66 | - public function getVersion() |
|
67 | - { |
|
68 | - return "V1"; |
|
69 | - } |
|
70 | - |
|
71 | - public function getDataType() |
|
72 | - { |
|
73 | - return "JSON"; |
|
74 | - } |
|
75 | - |
|
76 | - public function getType() |
|
77 | - { |
|
78 | - return "pdd.flight.order.create"; |
|
79 | - } |
|
80 | - |
|
81 | - public function setTraceId($traceId) |
|
82 | - { |
|
83 | - $this->traceId = $traceId; |
|
84 | - } |
|
85 | - |
|
86 | - public function setSubTraceId($subTraceId) |
|
87 | - { |
|
88 | - $this->subTraceId = $subTraceId; |
|
89 | - } |
|
90 | - |
|
91 | - public function setTripType($tripType) |
|
92 | - { |
|
93 | - $this->tripType = $tripType; |
|
94 | - } |
|
95 | - |
|
96 | - public function setFlightInfoList($flightInfoList) |
|
97 | - { |
|
98 | - $this->flightInfoList = $flightInfoList; |
|
99 | - } |
|
100 | - |
|
101 | - public function setPassengerInfoList($passengerInfoList) |
|
102 | - { |
|
103 | - $this->passengerInfoList = $passengerInfoList; |
|
104 | - } |
|
105 | - |
|
106 | - public function setPriceInfoList($priceInfoList) |
|
107 | - { |
|
108 | - $this->priceInfoList = $priceInfoList; |
|
109 | - } |
|
110 | - |
|
111 | - public function setProductType($productType) |
|
112 | - { |
|
113 | - $this->productType = $productType; |
|
114 | - } |
|
115 | - |
|
116 | - public function setProductId($productId) |
|
117 | - { |
|
118 | - $this->productId = $productId; |
|
119 | - } |
|
10 | + { |
|
11 | + |
|
12 | + } |
|
13 | + /** |
|
14 | + * @JsonProperty(String, "trace_id") |
|
15 | + */ |
|
16 | + private $traceId; |
|
17 | + |
|
18 | + /** |
|
19 | + * @JsonProperty(String, "sub_trace_id") |
|
20 | + */ |
|
21 | + private $subTraceId; |
|
22 | + |
|
23 | + /** |
|
24 | + * @JsonProperty(String, "trip_type") |
|
25 | + */ |
|
26 | + private $tripType; |
|
27 | + |
|
28 | + /** |
|
29 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCreateRequest_FlightInfoListItem>, "flight_info_list") |
|
30 | + */ |
|
31 | + private $flightInfoList; |
|
32 | + |
|
33 | + /** |
|
34 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCreateRequest_PassengerInfoListItem>, "passenger_info_list") |
|
35 | + */ |
|
36 | + private $passengerInfoList; |
|
37 | + |
|
38 | + /** |
|
39 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCreateRequest_PriceInfoListItem>, "price_info_list") |
|
40 | + */ |
|
41 | + private $priceInfoList; |
|
42 | + |
|
43 | + /** |
|
44 | + * @JsonProperty(Integer, "product_type") |
|
45 | + */ |
|
46 | + private $productType; |
|
47 | + |
|
48 | + /** |
|
49 | + * @JsonProperty(String, "product_id") |
|
50 | + */ |
|
51 | + private $productId; |
|
52 | + |
|
53 | + protected function setUserParams(&$params) |
|
54 | + { |
|
55 | + $this->setUserParam($params, "trace_id", $this->traceId); |
|
56 | + $this->setUserParam($params, "sub_trace_id", $this->subTraceId); |
|
57 | + $this->setUserParam($params, "trip_type", $this->tripType); |
|
58 | + $this->setUserParam($params, "flight_info_list", $this->flightInfoList); |
|
59 | + $this->setUserParam($params, "passenger_info_list", $this->passengerInfoList); |
|
60 | + $this->setUserParam($params, "price_info_list", $this->priceInfoList); |
|
61 | + $this->setUserParam($params, "product_type", $this->productType); |
|
62 | + $this->setUserParam($params, "product_id", $this->productId); |
|
63 | + |
|
64 | + } |
|
65 | + |
|
66 | + public function getVersion() |
|
67 | + { |
|
68 | + return "V1"; |
|
69 | + } |
|
70 | + |
|
71 | + public function getDataType() |
|
72 | + { |
|
73 | + return "JSON"; |
|
74 | + } |
|
75 | + |
|
76 | + public function getType() |
|
77 | + { |
|
78 | + return "pdd.flight.order.create"; |
|
79 | + } |
|
80 | + |
|
81 | + public function setTraceId($traceId) |
|
82 | + { |
|
83 | + $this->traceId = $traceId; |
|
84 | + } |
|
85 | + |
|
86 | + public function setSubTraceId($subTraceId) |
|
87 | + { |
|
88 | + $this->subTraceId = $subTraceId; |
|
89 | + } |
|
90 | + |
|
91 | + public function setTripType($tripType) |
|
92 | + { |
|
93 | + $this->tripType = $tripType; |
|
94 | + } |
|
95 | + |
|
96 | + public function setFlightInfoList($flightInfoList) |
|
97 | + { |
|
98 | + $this->flightInfoList = $flightInfoList; |
|
99 | + } |
|
100 | + |
|
101 | + public function setPassengerInfoList($passengerInfoList) |
|
102 | + { |
|
103 | + $this->passengerInfoList = $passengerInfoList; |
|
104 | + } |
|
105 | + |
|
106 | + public function setPriceInfoList($priceInfoList) |
|
107 | + { |
|
108 | + $this->priceInfoList = $priceInfoList; |
|
109 | + } |
|
110 | + |
|
111 | + public function setProductType($productType) |
|
112 | + { |
|
113 | + $this->productType = $productType; |
|
114 | + } |
|
115 | + |
|
116 | + public function setProductId($productId) |
|
117 | + { |
|
118 | + $this->productId = $productId; |
|
119 | + } |
|
120 | 120 | |
121 | 121 | } |
122 | 122 | |
123 | 123 | class PddFlightOrderCreateRequest_FlightInfoListItem extends PopBaseJsonEntity |
124 | 124 | { |
125 | 125 | |
126 | - public function __construct() |
|
127 | - { |
|
128 | - |
|
129 | - } |
|
130 | - |
|
131 | - /** |
|
132 | - * @JsonProperty(String, "flight_no") |
|
133 | - */ |
|
134 | - private $flightNo; |
|
135 | - |
|
136 | - /** |
|
137 | - * @JsonProperty(String, "carrier_code") |
|
138 | - */ |
|
139 | - private $carrierCode; |
|
140 | - |
|
141 | - /** |
|
142 | - * @JsonProperty(Boolean, "shared") |
|
143 | - */ |
|
144 | - private $shared; |
|
145 | - |
|
146 | - /** |
|
147 | - * @JsonProperty(String, "departure_date_time") |
|
148 | - */ |
|
149 | - private $departureDateTime; |
|
150 | - |
|
151 | - /** |
|
152 | - * @JsonProperty(String, "departure_airport_code") |
|
153 | - */ |
|
154 | - private $departureAirportCode; |
|
155 | - |
|
156 | - /** |
|
157 | - * @JsonProperty(String, "departure_terminal") |
|
158 | - */ |
|
159 | - private $departureTerminal; |
|
160 | - |
|
161 | - /** |
|
162 | - * @JsonProperty(String, "arrival_date_time") |
|
163 | - */ |
|
164 | - private $arrivalDateTime; |
|
165 | - |
|
166 | - /** |
|
167 | - * @JsonProperty(String, "arrival_airport_code") |
|
168 | - */ |
|
169 | - private $arrivalAirportCode; |
|
170 | - |
|
171 | - /** |
|
172 | - * @JsonProperty(String, "arrival_terminal") |
|
173 | - */ |
|
174 | - private $arrivalTerminal; |
|
175 | - |
|
176 | - /** |
|
177 | - * @JsonProperty(Integer, "segment_no") |
|
178 | - */ |
|
179 | - private $segmentNo; |
|
180 | - |
|
181 | - /** |
|
182 | - * @JsonProperty(Integer, "sequence_no") |
|
183 | - */ |
|
184 | - private $sequenceNo; |
|
185 | - |
|
186 | - /** |
|
187 | - * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCreateRequest_FlightInfoListItemCabinInfoListItem>, "cabin_info_list") |
|
188 | - */ |
|
189 | - private $cabinInfoList; |
|
190 | - |
|
191 | - public function setFlightNo($flightNo) |
|
192 | - { |
|
193 | - $this->flightNo = $flightNo; |
|
194 | - } |
|
195 | - |
|
196 | - public function setCarrierCode($carrierCode) |
|
197 | - { |
|
198 | - $this->carrierCode = $carrierCode; |
|
199 | - } |
|
200 | - |
|
201 | - public function setShared($shared) |
|
202 | - { |
|
203 | - $this->shared = $shared; |
|
204 | - } |
|
205 | - |
|
206 | - public function setDepartureDateTime($departureDateTime) |
|
207 | - { |
|
208 | - $this->departureDateTime = $departureDateTime; |
|
209 | - } |
|
210 | - |
|
211 | - public function setDepartureAirportCode($departureAirportCode) |
|
212 | - { |
|
213 | - $this->departureAirportCode = $departureAirportCode; |
|
214 | - } |
|
215 | - |
|
216 | - public function setDepartureTerminal($departureTerminal) |
|
217 | - { |
|
218 | - $this->departureTerminal = $departureTerminal; |
|
219 | - } |
|
220 | - |
|
221 | - public function setArrivalDateTime($arrivalDateTime) |
|
222 | - { |
|
223 | - $this->arrivalDateTime = $arrivalDateTime; |
|
224 | - } |
|
225 | - |
|
226 | - public function setArrivalAirportCode($arrivalAirportCode) |
|
227 | - { |
|
228 | - $this->arrivalAirportCode = $arrivalAirportCode; |
|
229 | - } |
|
230 | - |
|
231 | - public function setArrivalTerminal($arrivalTerminal) |
|
232 | - { |
|
233 | - $this->arrivalTerminal = $arrivalTerminal; |
|
234 | - } |
|
235 | - |
|
236 | - public function setSegmentNo($segmentNo) |
|
237 | - { |
|
238 | - $this->segmentNo = $segmentNo; |
|
239 | - } |
|
240 | - |
|
241 | - public function setSequenceNo($sequenceNo) |
|
242 | - { |
|
243 | - $this->sequenceNo = $sequenceNo; |
|
244 | - } |
|
245 | - |
|
246 | - public function setCabinInfoList($cabinInfoList) |
|
247 | - { |
|
248 | - $this->cabinInfoList = $cabinInfoList; |
|
249 | - } |
|
126 | + public function __construct() |
|
127 | + { |
|
128 | + |
|
129 | + } |
|
130 | + |
|
131 | + /** |
|
132 | + * @JsonProperty(String, "flight_no") |
|
133 | + */ |
|
134 | + private $flightNo; |
|
135 | + |
|
136 | + /** |
|
137 | + * @JsonProperty(String, "carrier_code") |
|
138 | + */ |
|
139 | + private $carrierCode; |
|
140 | + |
|
141 | + /** |
|
142 | + * @JsonProperty(Boolean, "shared") |
|
143 | + */ |
|
144 | + private $shared; |
|
145 | + |
|
146 | + /** |
|
147 | + * @JsonProperty(String, "departure_date_time") |
|
148 | + */ |
|
149 | + private $departureDateTime; |
|
150 | + |
|
151 | + /** |
|
152 | + * @JsonProperty(String, "departure_airport_code") |
|
153 | + */ |
|
154 | + private $departureAirportCode; |
|
155 | + |
|
156 | + /** |
|
157 | + * @JsonProperty(String, "departure_terminal") |
|
158 | + */ |
|
159 | + private $departureTerminal; |
|
160 | + |
|
161 | + /** |
|
162 | + * @JsonProperty(String, "arrival_date_time") |
|
163 | + */ |
|
164 | + private $arrivalDateTime; |
|
165 | + |
|
166 | + /** |
|
167 | + * @JsonProperty(String, "arrival_airport_code") |
|
168 | + */ |
|
169 | + private $arrivalAirportCode; |
|
170 | + |
|
171 | + /** |
|
172 | + * @JsonProperty(String, "arrival_terminal") |
|
173 | + */ |
|
174 | + private $arrivalTerminal; |
|
175 | + |
|
176 | + /** |
|
177 | + * @JsonProperty(Integer, "segment_no") |
|
178 | + */ |
|
179 | + private $segmentNo; |
|
180 | + |
|
181 | + /** |
|
182 | + * @JsonProperty(Integer, "sequence_no") |
|
183 | + */ |
|
184 | + private $sequenceNo; |
|
185 | + |
|
186 | + /** |
|
187 | + * @JsonProperty(List<\Com\Pdd\Pop\Sdk\Api\Request\PddFlightOrderCreateRequest_FlightInfoListItemCabinInfoListItem>, "cabin_info_list") |
|
188 | + */ |
|
189 | + private $cabinInfoList; |
|
190 | + |
|
191 | + public function setFlightNo($flightNo) |
|
192 | + { |
|
193 | + $this->flightNo = $flightNo; |
|
194 | + } |
|
195 | + |
|
196 | + public function setCarrierCode($carrierCode) |
|
197 | + { |
|
198 | + $this->carrierCode = $carrierCode; |
|
199 | + } |
|
200 | + |
|
201 | + public function setShared($shared) |
|
202 | + { |
|
203 | + $this->shared = $shared; |
|
204 | + } |
|
205 | + |
|
206 | + public function setDepartureDateTime($departureDateTime) |
|
207 | + { |
|
208 | + $this->departureDateTime = $departureDateTime; |
|
209 | + } |
|
210 | + |
|
211 | + public function setDepartureAirportCode($departureAirportCode) |
|
212 | + { |
|
213 | + $this->departureAirportCode = $departureAirportCode; |
|
214 | + } |
|
215 | + |
|
216 | + public function setDepartureTerminal($departureTerminal) |
|
217 | + { |
|
218 | + $this->departureTerminal = $departureTerminal; |
|
219 | + } |
|
220 | + |
|
221 | + public function setArrivalDateTime($arrivalDateTime) |
|
222 | + { |
|
223 | + $this->arrivalDateTime = $arrivalDateTime; |
|
224 | + } |
|
225 | + |
|
226 | + public function setArrivalAirportCode($arrivalAirportCode) |
|
227 | + { |
|
228 | + $this->arrivalAirportCode = $arrivalAirportCode; |
|
229 | + } |
|
230 | + |
|
231 | + public function setArrivalTerminal($arrivalTerminal) |
|
232 | + { |
|
233 | + $this->arrivalTerminal = $arrivalTerminal; |
|
234 | + } |
|
235 | + |
|
236 | + public function setSegmentNo($segmentNo) |
|
237 | + { |
|
238 | + $this->segmentNo = $segmentNo; |
|
239 | + } |
|
240 | + |
|
241 | + public function setSequenceNo($sequenceNo) |
|
242 | + { |
|
243 | + $this->sequenceNo = $sequenceNo; |
|
244 | + } |
|
245 | + |
|
246 | + public function setCabinInfoList($cabinInfoList) |
|
247 | + { |
|
248 | + $this->cabinInfoList = $cabinInfoList; |
|
249 | + } |
|
250 | 250 | |
251 | 251 | } |
252 | 252 | |
253 | 253 | class PddFlightOrderCreateRequest_FlightInfoListItemCabinInfoListItem extends PopBaseJsonEntity |
254 | 254 | { |
255 | 255 | |
256 | - public function __construct() |
|
257 | - { |
|
256 | + public function __construct() |
|
257 | + { |
|
258 | 258 | |
259 | - } |
|
259 | + } |
|
260 | 260 | |
261 | - /** |
|
262 | - * @JsonProperty(String, "passenger_type") |
|
263 | - */ |
|
264 | - private $passengerType; |
|
261 | + /** |
|
262 | + * @JsonProperty(String, "passenger_type") |
|
263 | + */ |
|
264 | + private $passengerType; |
|
265 | 265 | |
266 | - /** |
|
267 | - * @JsonProperty(String, "sub_class") |
|
268 | - */ |
|
269 | - private $subClass; |
|
266 | + /** |
|
267 | + * @JsonProperty(String, "sub_class") |
|
268 | + */ |
|
269 | + private $subClass; |
|
270 | 270 | |
271 | - public function setPassengerType($passengerType) |
|
272 | - { |
|
273 | - $this->passengerType = $passengerType; |
|
274 | - } |
|
271 | + public function setPassengerType($passengerType) |
|
272 | + { |
|
273 | + $this->passengerType = $passengerType; |
|
274 | + } |
|
275 | 275 | |
276 | - public function setSubClass($subClass) |
|
277 | - { |
|
278 | - $this->subClass = $subClass; |
|
279 | - } |
|
276 | + public function setSubClass($subClass) |
|
277 | + { |
|
278 | + $this->subClass = $subClass; |
|
279 | + } |
|
280 | 280 | |
281 | 281 | } |
282 | 282 | |
283 | 283 | class PddFlightOrderCreateRequest_PassengerInfoListItem extends PopBaseJsonEntity |
284 | 284 | { |
285 | 285 | |
286 | - public function __construct() |
|
287 | - { |
|
288 | - |
|
289 | - } |
|
290 | - |
|
291 | - /** |
|
292 | - * @JsonProperty(String, "passenger_type") |
|
293 | - */ |
|
294 | - private $passengerType; |
|
295 | - |
|
296 | - /** |
|
297 | - * @JsonProperty(String, "name") |
|
298 | - */ |
|
299 | - private $name; |
|
300 | - |
|
301 | - /** |
|
302 | - * @JsonProperty(String, "identity_type") |
|
303 | - */ |
|
304 | - private $identityType; |
|
305 | - |
|
306 | - /** |
|
307 | - * @JsonProperty(String, "identity_no") |
|
308 | - */ |
|
309 | - private $identityNo; |
|
310 | - |
|
311 | - /** |
|
312 | - * @JsonProperty(String, "gender") |
|
313 | - */ |
|
314 | - private $gender; |
|
315 | - |
|
316 | - /** |
|
317 | - * @JsonProperty(String, "birthday") |
|
318 | - */ |
|
319 | - private $birthday; |
|
320 | - |
|
321 | - /** |
|
322 | - * @JsonProperty(String, "effective_date") |
|
323 | - */ |
|
324 | - private $effectiveDate; |
|
325 | - |
|
326 | - /** |
|
327 | - * @JsonProperty(String, "phone_num") |
|
328 | - */ |
|
329 | - private $phoneNum; |
|
330 | - |
|
331 | - public function setPassengerType($passengerType) |
|
332 | - { |
|
333 | - $this->passengerType = $passengerType; |
|
334 | - } |
|
335 | - |
|
336 | - public function setName($name) |
|
337 | - { |
|
338 | - $this->name = $name; |
|
339 | - } |
|
340 | - |
|
341 | - public function setIdentityType($identityType) |
|
342 | - { |
|
343 | - $this->identityType = $identityType; |
|
344 | - } |
|
345 | - |
|
346 | - public function setIdentityNo($identityNo) |
|
347 | - { |
|
348 | - $this->identityNo = $identityNo; |
|
349 | - } |
|
350 | - |
|
351 | - public function setGender($gender) |
|
352 | - { |
|
353 | - $this->gender = $gender; |
|
354 | - } |
|
355 | - |
|
356 | - public function setBirthday($birthday) |
|
357 | - { |
|
358 | - $this->birthday = $birthday; |
|
359 | - } |
|
360 | - |
|
361 | - public function setEffectiveDate($effectiveDate) |
|
362 | - { |
|
363 | - $this->effectiveDate = $effectiveDate; |
|
364 | - } |
|
365 | - |
|
366 | - public function setPhoneNum($phoneNum) |
|
367 | - { |
|
368 | - $this->phoneNum = $phoneNum; |
|
369 | - } |
|
286 | + public function __construct() |
|
287 | + { |
|
288 | + |
|
289 | + } |
|
290 | + |
|
291 | + /** |
|
292 | + * @JsonProperty(String, "passenger_type") |
|
293 | + */ |
|
294 | + private $passengerType; |
|
295 | + |
|
296 | + /** |
|
297 | + * @JsonProperty(String, "name") |
|
298 | + */ |
|
299 | + private $name; |
|
300 | + |
|
301 | + /** |
|
302 | + * @JsonProperty(String, "identity_type") |
|
303 | + */ |
|
304 | + private $identityType; |
|
305 | + |
|
306 | + /** |
|
307 | + * @JsonProperty(String, "identity_no") |
|
308 | + */ |
|
309 | + private $identityNo; |
|
310 | + |
|
311 | + /** |
|
312 | + * @JsonProperty(String, "gender") |
|
313 | + */ |
|
314 | + private $gender; |
|
315 | + |
|
316 | + /** |
|
317 | + * @JsonProperty(String, "birthday") |
|
318 | + */ |
|
319 | + private $birthday; |
|
320 | + |
|
321 | + /** |
|
322 | + * @JsonProperty(String, "effective_date") |
|
323 | + */ |
|
324 | + private $effectiveDate; |
|
325 | + |
|
326 | + /** |
|
327 | + * @JsonProperty(String, "phone_num") |
|
328 | + */ |
|
329 | + private $phoneNum; |
|
330 | + |
|
331 | + public function setPassengerType($passengerType) |
|
332 | + { |
|
333 | + $this->passengerType = $passengerType; |
|
334 | + } |
|
335 | + |
|
336 | + public function setName($name) |
|
337 | + { |
|
338 | + $this->name = $name; |
|
339 | + } |
|
340 | + |
|
341 | + public function setIdentityType($identityType) |
|
342 | + { |
|
343 | + $this->identityType = $identityType; |
|
344 | + } |
|
345 | + |
|
346 | + public function setIdentityNo($identityNo) |
|
347 | + { |
|
348 | + $this->identityNo = $identityNo; |
|
349 | + } |
|
350 | + |
|
351 | + public function setGender($gender) |
|
352 | + { |
|
353 | + $this->gender = $gender; |
|
354 | + } |
|
355 | + |
|
356 | + public function setBirthday($birthday) |
|
357 | + { |
|
358 | + $this->birthday = $birthday; |
|
359 | + } |
|
360 | + |
|
361 | + public function setEffectiveDate($effectiveDate) |
|
362 | + { |
|
363 | + $this->effectiveDate = $effectiveDate; |
|
364 | + } |
|
365 | + |
|
366 | + public function setPhoneNum($phoneNum) |
|
367 | + { |
|
368 | + $this->phoneNum = $phoneNum; |
|
369 | + } |
|
370 | 370 | |
371 | 371 | } |
372 | 372 | |
373 | 373 | class PddFlightOrderCreateRequest_PriceInfoListItem extends PopBaseJsonEntity |
374 | 374 | { |
375 | 375 | |
376 | - public function __construct() |
|
377 | - { |
|
378 | - |
|
379 | - } |
|
380 | - |
|
381 | - /** |
|
382 | - * @JsonProperty(String, "passenger_type") |
|
383 | - */ |
|
384 | - private $passengerType; |
|
385 | - |
|
386 | - /** |
|
387 | - * @JsonProperty(Long, "base_price") |
|
388 | - */ |
|
389 | - private $basePrice; |
|
390 | - |
|
391 | - /** |
|
392 | - * @JsonProperty(Long, "settle_price") |
|
393 | - */ |
|
394 | - private $settlePrice; |
|
395 | - |
|
396 | - /** |
|
397 | - * @JsonProperty(Long, "airport_tax") |
|
398 | - */ |
|
399 | - private $airportTax; |
|
400 | - |
|
401 | - /** |
|
402 | - * @JsonProperty(Long, "fuel_tax") |
|
403 | - */ |
|
404 | - private $fuelTax; |
|
405 | - |
|
406 | - /** |
|
407 | - * @JsonProperty(Double, "commission_point") |
|
408 | - */ |
|
409 | - private $commissionPoint; |
|
410 | - |
|
411 | - /** |
|
412 | - * @JsonProperty(Long, "commission_money") |
|
413 | - */ |
|
414 | - private $commissionMoney; |
|
415 | - |
|
416 | - public function setPassengerType($passengerType) |
|
417 | - { |
|
418 | - $this->passengerType = $passengerType; |
|
419 | - } |
|
420 | - |
|
421 | - public function setBasePrice($basePrice) |
|
422 | - { |
|
423 | - $this->basePrice = $basePrice; |
|
424 | - } |
|
425 | - |
|
426 | - public function setSettlePrice($settlePrice) |
|
427 | - { |
|
428 | - $this->settlePrice = $settlePrice; |
|
429 | - } |
|
430 | - |
|
431 | - public function setAirportTax($airportTax) |
|
432 | - { |
|
433 | - $this->airportTax = $airportTax; |
|
434 | - } |
|
435 | - |
|
436 | - public function setFuelTax($fuelTax) |
|
437 | - { |
|
438 | - $this->fuelTax = $fuelTax; |
|
439 | - } |
|
440 | - |
|
441 | - public function setCommissionPoint($commissionPoint) |
|
442 | - { |
|
443 | - $this->commissionPoint = $commissionPoint; |
|
444 | - } |
|
445 | - |
|
446 | - public function setCommissionMoney($commissionMoney) |
|
447 | - { |
|
448 | - $this->commissionMoney = $commissionMoney; |
|
449 | - } |
|
376 | + public function __construct() |
|
377 | + { |
|
378 | + |
|
379 | + } |
|
380 | + |
|
381 | + /** |
|
382 | + * @JsonProperty(String, "passenger_type") |
|
383 | + */ |
|
384 | + private $passengerType; |
|
385 | + |
|
386 | + /** |
|
387 | + * @JsonProperty(Long, "base_price") |
|
388 | + */ |
|
389 | + private $basePrice; |
|
390 | + |
|
391 | + /** |
|
392 | + * @JsonProperty(Long, "settle_price") |
|
393 | + */ |
|
394 | + private $settlePrice; |
|
395 | + |
|
396 | + /** |
|
397 | + * @JsonProperty(Long, "airport_tax") |
|
398 | + */ |
|
399 | + private $airportTax; |
|
400 | + |
|
401 | + /** |
|
402 | + * @JsonProperty(Long, "fuel_tax") |
|
403 | + */ |
|
404 | + private $fuelTax; |
|
405 | + |
|
406 | + /** |
|
407 | + * @JsonProperty(Double, "commission_point") |
|
408 | + */ |
|
409 | + private $commissionPoint; |
|
410 | + |
|
411 | + /** |
|
412 | + * @JsonProperty(Long, "commission_money") |
|
413 | + */ |
|
414 | + private $commissionMoney; |
|
415 | + |
|
416 | + public function setPassengerType($passengerType) |
|
417 | + { |
|
418 | + $this->passengerType = $passengerType; |
|
419 | + } |
|
420 | + |
|
421 | + public function setBasePrice($basePrice) |
|
422 | + { |
|
423 | + $this->basePrice = $basePrice; |
|
424 | + } |
|
425 | + |
|
426 | + public function setSettlePrice($settlePrice) |
|
427 | + { |
|
428 | + $this->settlePrice = $settlePrice; |
|
429 | + } |
|
430 | + |
|
431 | + public function setAirportTax($airportTax) |
|
432 | + { |
|
433 | + $this->airportTax = $airportTax; |
|
434 | + } |
|
435 | + |
|
436 | + public function setFuelTax($fuelTax) |
|
437 | + { |
|
438 | + $this->fuelTax = $fuelTax; |
|
439 | + } |
|
440 | + |
|
441 | + public function setCommissionPoint($commissionPoint) |
|
442 | + { |
|
443 | + $this->commissionPoint = $commissionPoint; |
|
444 | + } |
|
445 | + |
|
446 | + public function setCommissionMoney($commissionMoney) |
|
447 | + { |
|
448 | + $this->commissionMoney = $commissionMoney; |
|
449 | + } |
|
450 | 450 | |
451 | 451 | } |
@@ -7,27 +7,27 @@ |
||
7 | 7 | class PddRefundAddressListGetRequest extends PopBaseHttpRequest |
8 | 8 | { |
9 | 9 | public function __construct() |
10 | - { |
|
10 | + { |
|
11 | 11 | |
12 | - } |
|
13 | - protected function setUserParams(&$params) |
|
14 | - { |
|
12 | + } |
|
13 | + protected function setUserParams(&$params) |
|
14 | + { |
|
15 | 15 | |
16 | - } |
|
16 | + } |
|
17 | 17 | |
18 | - public function getVersion() |
|
19 | - { |
|
20 | - return "V1"; |
|
21 | - } |
|
18 | + public function getVersion() |
|
19 | + { |
|
20 | + return "V1"; |
|
21 | + } |
|
22 | 22 | |
23 | - public function getDataType() |
|
24 | - { |
|
25 | - return "JSON"; |
|
26 | - } |
|
23 | + public function getDataType() |
|
24 | + { |
|
25 | + return "JSON"; |
|
26 | + } |
|
27 | 27 | |
28 | - public function getType() |
|
29 | - { |
|
30 | - return "pdd.refund.address.list.get"; |
|
31 | - } |
|
28 | + public function getType() |
|
29 | + { |
|
30 | + return "pdd.refund.address.list.get"; |
|
31 | + } |
|
32 | 32 | |
33 | 33 | } |
@@ -13,13 +13,13 @@ |
||
13 | 13 | |
14 | 14 | $request->setRequest(); |
15 | 15 | try{ |
16 | - $response = $client->syncInvoke($request); |
|
16 | + $response = $client->syncInvoke($request); |
|
17 | 17 | } catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
18 | - echo $e->getMessage(); |
|
19 | - exit; |
|
18 | + echo $e->getMessage(); |
|
19 | + exit; |
|
20 | 20 | } |
21 | 21 | $content = $response->getContent(); |
22 | 22 | if(isset($content['error_response'])){ |
23 | - echo "异常返回"; |
|
23 | + echo "异常返回"; |
|
24 | 24 | } |
25 | 25 | echo json_encode($content,JSON_UNESCAPED_UNICODE); |
26 | 26 | \ No newline at end of file |
@@ -17,13 +17,13 @@ |
||
17 | 17 | $request->setPageNum(1); |
18 | 18 | $request->setPageSize(1); |
19 | 19 | try{ |
20 | - $response = $client->syncInvoke($request); |
|
20 | + $response = $client->syncInvoke($request); |
|
21 | 21 | } catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
22 | - echo $e->getMessage(); |
|
23 | - exit; |
|
22 | + echo $e->getMessage(); |
|
23 | + exit; |
|
24 | 24 | } |
25 | 25 | $content = $response->getContent(); |
26 | 26 | if(isset($content['error_response'])){ |
27 | - echo "异常返回"; |
|
27 | + echo "异常返回"; |
|
28 | 28 | } |
29 | 29 | echo json_encode($content,JSON_UNESCAPED_UNICODE); |
30 | 30 | \ No newline at end of file |
@@ -15,13 +15,13 @@ |
||
15 | 15 | $request->setKeyProp(); |
16 | 16 | $request->setSpuName('str'); |
17 | 17 | try{ |
18 | - $response = $client->syncInvoke($request); |
|
18 | + $response = $client->syncInvoke($request); |
|
19 | 19 | } catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
20 | - echo $e->getMessage(); |
|
21 | - exit; |
|
20 | + echo $e->getMessage(); |
|
21 | + exit; |
|
22 | 22 | } |
23 | 23 | $content = $response->getContent(); |
24 | 24 | if(isset($content['error_response'])){ |
25 | - echo "异常返回"; |
|
25 | + echo "异常返回"; |
|
26 | 26 | } |
27 | 27 | echo json_encode($content,JSON_UNESCAPED_UNICODE); |
28 | 28 | \ No newline at end of file |
@@ -20,13 +20,13 @@ |
||
20 | 20 | $request->setComplainAttachmentList(array('str')); |
21 | 21 | $request->setComplainType(1); |
22 | 22 | try{ |
23 | - $response = $client->syncInvoke($request); |
|
23 | + $response = $client->syncInvoke($request); |
|
24 | 24 | } catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
25 | - echo $e->getMessage(); |
|
26 | - exit; |
|
25 | + echo $e->getMessage(); |
|
26 | + exit; |
|
27 | 27 | } |
28 | 28 | $content = $response->getContent(); |
29 | 29 | if(isset($content['error_response'])){ |
30 | - echo "异常返回"; |
|
30 | + echo "异常返回"; |
|
31 | 31 | } |
32 | 32 | echo json_encode($content,JSON_UNESCAPED_UNICODE); |
33 | 33 | \ No newline at end of file |
@@ -13,13 +13,13 @@ |
||
13 | 13 | |
14 | 14 | $request->setDataList(); |
15 | 15 | try{ |
16 | - $response = $client->syncInvoke($request); |
|
16 | + $response = $client->syncInvoke($request); |
|
17 | 17 | } catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
18 | - echo $e->getMessage(); |
|
19 | - exit; |
|
18 | + echo $e->getMessage(); |
|
19 | + exit; |
|
20 | 20 | } |
21 | 21 | $content = $response->getContent(); |
22 | 22 | if(isset($content['error_response'])){ |
23 | - echo "异常返回"; |
|
23 | + echo "异常返回"; |
|
24 | 24 | } |
25 | 25 | echo json_encode($content,JSON_UNESCAPED_UNICODE); |
26 | 26 | \ No newline at end of file |
@@ -17,13 +17,13 @@ |
||
17 | 17 | $request->setSerialNo('str'); |
18 | 18 | $request->setStatus(1); |
19 | 19 | try{ |
20 | - $response = $client->syncInvoke($request); |
|
20 | + $response = $client->syncInvoke($request); |
|
21 | 21 | } catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
22 | - echo $e->getMessage(); |
|
23 | - exit; |
|
22 | + echo $e->getMessage(); |
|
23 | + exit; |
|
24 | 24 | } |
25 | 25 | $content = $response->getContent(); |
26 | 26 | if(isset($content['error_response'])){ |
27 | - echo "异常返回"; |
|
27 | + echo "异常返回"; |
|
28 | 28 | } |
29 | 29 | echo json_encode($content,JSON_UNESCAPED_UNICODE); |
30 | 30 | \ No newline at end of file |
@@ -13,13 +13,13 @@ |
||
13 | 13 | |
14 | 14 | $request->setRequest(); |
15 | 15 | try{ |
16 | - $response = $client->syncInvoke($request); |
|
16 | + $response = $client->syncInvoke($request); |
|
17 | 17 | } catch(Com\Pdd\Pop\Sdk\PopHttpException $e){ |
18 | - echo $e->getMessage(); |
|
19 | - exit; |
|
18 | + echo $e->getMessage(); |
|
19 | + exit; |
|
20 | 20 | } |
21 | 21 | $content = $response->getContent(); |
22 | 22 | if(isset($content['error_response'])){ |
23 | - echo "异常返回"; |
|
23 | + echo "异常返回"; |
|
24 | 24 | } |
25 | 25 | echo json_encode($content,JSON_UNESCAPED_UNICODE); |
26 | 26 | \ No newline at end of file |