gillbus 0.17.6 → 0.22.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/Gemfile +0 -4
- data/gillbus.gemspec +1 -1
- data/lib/gillbus/base_request.rb +2 -0
- data/lib/gillbus/base_response.rb +8 -4
- data/lib/gillbus/get_carriers.rb +13 -0
- data/lib/gillbus/get_required_fields.rb +1 -0
- data/lib/gillbus/get_trip_seats.rb +7 -0
- data/lib/gillbus/helpers/parser.rb +45 -11
- data/lib/gillbus/return_position.rb +2 -0
- data/lib/gillbus/return_position_forced.rb +16 -0
- data/lib/gillbus/search_nearby_trips.rb +39 -0
- data/lib/gillbus/search_trips.rb +20 -13
- data/lib/gillbus/structs/carrier.rb +11 -0
- data/lib/gillbus/structs/luggage.rb +19 -0
- data/lib/gillbus/structs/nearby_cities_trip.rb +61 -0
- data/lib/gillbus/structs/point.rb +2 -0
- data/lib/gillbus/structs/return_cause.rb +1 -1
- data/lib/gillbus/structs/seat.rb +1 -0
- data/lib/gillbus/structs/segment.rb +27 -0
- data/lib/gillbus/structs/tariff/return_cause.rb +8 -3
- data/lib/gillbus/structs/ticket.rb +29 -12
- data/lib/gillbus/structs/tickets_option.rb +29 -0
- data/lib/gillbus/structs/trip.rb +35 -0
- data/lib/gillbus/structs/trip_options.rb +82 -24
- data/lib/gillbus/structs/trip_service.rb +16 -1
- data/lib/gillbus/tickets_booking.rb +34 -0
- data/lib/gillbus/version.rb +1 -1
- data/lib/gillbus.rb +31 -3
- data/test/error_test.rb +1 -1
- data/test/find_order_test.rb +16 -0
- data/test/get_required_fields_test.rb +77 -0
- data/test/get_trip_seats_test.rb +36 -0
- data/test/get_trip_segments_test.rb +1 -0
- data/test/parse_trip_options_test.rb +92 -0
- data/test/parse_trip_test.rb +25 -0
- data/test/responses/findOrder.xml +8 -0
- data/test/responses/getRequiredFieldsWithOneLuggage.xml +28 -0
- data/test/responses/getRequiredFieldsWithTwoLuggageSegments.xml +40 -0
- data/test/responses/getRequiredFieldsWithoutLuggage.xml +23 -0
- data/test/responses/getTripSeats-back-seats.xml +1192 -0
- data/test/responses/getTripSeats-two-floors.xml +1122 -0
- data/test/responses/getTripSeats.xml +70 -0
- data/test/responses/legacy_trip.yml +120 -0
- data/test/responses/legacy_trip_2.yml +217 -0
- data/test/responses/searchTrips-full-carriers-info.xml +231 -0
- data/test/responses/searchTrips-new-options-format.xml +244 -0
- data/test/responses/searchTrips-prod.xml +5 -0
- data/test/responses/searchTrips-round-trip-offers.xml +2016 -0
- data/test/responses/searchTripsNearby.xml +707 -0
- data/test/responses/ticketsBooking.xml +1 -0
- data/test/search_nearby_trips_test.rb +18 -0
- data/test/search_trips_test.rb +93 -0
- data/test/tickets_booking_test.rb +63 -0
- metadata +49 -13
@@ -5,6 +5,7 @@
|
|
5
5
|
<TYPE>6</TYPE>
|
6
6
|
<X>0</X>
|
7
7
|
<Y>0</Y>
|
8
|
+
<Z>0</Z>
|
8
9
|
</SEAT>
|
9
10
|
<SEAT>
|
10
11
|
<ID>1</ID>
|
@@ -12,6 +13,7 @@
|
|
12
13
|
<TYPE>5</TYPE>
|
13
14
|
<X>1</X>
|
14
15
|
<Y>0</Y>
|
16
|
+
<Z>0</Z>
|
15
17
|
</SEAT>
|
16
18
|
<SEAT>
|
17
19
|
<ID>2</ID>
|
@@ -19,6 +21,7 @@
|
|
19
21
|
<TYPE>5</TYPE>
|
20
22
|
<X>2</X>
|
21
23
|
<Y>0</Y>
|
24
|
+
<Z>0</Z>
|
22
25
|
</SEAT>
|
23
26
|
<SEAT>
|
24
27
|
<ID>3</ID>
|
@@ -26,6 +29,7 @@
|
|
26
29
|
<TYPE>5</TYPE>
|
27
30
|
<X>3</X>
|
28
31
|
<Y>0</Y>
|
32
|
+
<Z>0</Z>
|
29
33
|
</SEAT>
|
30
34
|
<SEAT>
|
31
35
|
<ID>4</ID>
|
@@ -33,6 +37,7 @@
|
|
33
37
|
<TYPE>5</TYPE>
|
34
38
|
<X>4</X>
|
35
39
|
<Y>0</Y>
|
40
|
+
<Z>0</Z>
|
36
41
|
</SEAT>
|
37
42
|
<SEAT>
|
38
43
|
<ID>5</ID>
|
@@ -40,6 +45,7 @@
|
|
40
45
|
<TYPE>5</TYPE>
|
41
46
|
<X>5</X>
|
42
47
|
<Y>0</Y>
|
48
|
+
<Z>0</Z>
|
43
49
|
</SEAT>
|
44
50
|
<SEAT>
|
45
51
|
<ID>6</ID>
|
@@ -47,6 +53,7 @@
|
|
47
53
|
<TYPE>5</TYPE>
|
48
54
|
<X>6</X>
|
49
55
|
<Y>0</Y>
|
56
|
+
<Z>0</Z>
|
50
57
|
</SEAT>
|
51
58
|
<SEAT>
|
52
59
|
<ID>7</ID>
|
@@ -54,6 +61,7 @@
|
|
54
61
|
<TYPE>5</TYPE>
|
55
62
|
<X>7</X>
|
56
63
|
<Y>0</Y>
|
64
|
+
<Z>0</Z>
|
57
65
|
</SEAT>
|
58
66
|
<SEAT>
|
59
67
|
<ID>8</ID>
|
@@ -61,6 +69,7 @@
|
|
61
69
|
<TYPE>5</TYPE>
|
62
70
|
<X>8</X>
|
63
71
|
<Y>0</Y>
|
72
|
+
<Z>0</Z>
|
64
73
|
</SEAT>
|
65
74
|
<SEAT>
|
66
75
|
<ID>9</ID>
|
@@ -68,6 +77,7 @@
|
|
68
77
|
<TYPE>5</TYPE>
|
69
78
|
<X>9</X>
|
70
79
|
<Y>0</Y>
|
80
|
+
<Z>0</Z>
|
71
81
|
</SEAT>
|
72
82
|
<SEAT>
|
73
83
|
<ID>10</ID>
|
@@ -75,6 +85,7 @@
|
|
75
85
|
<TYPE>5</TYPE>
|
76
86
|
<X>10</X>
|
77
87
|
<Y>0</Y>
|
88
|
+
<Z>0</Z>
|
78
89
|
</SEAT>
|
79
90
|
<SEAT>
|
80
91
|
<ID>11</ID>
|
@@ -82,6 +93,7 @@
|
|
82
93
|
<TYPE>5</TYPE>
|
83
94
|
<X>11</X>
|
84
95
|
<Y>0</Y>
|
96
|
+
<Z>0</Z>
|
85
97
|
</SEAT>
|
86
98
|
<SEAT>
|
87
99
|
<ID>12</ID>
|
@@ -89,6 +101,7 @@
|
|
89
101
|
<TYPE>5</TYPE>
|
90
102
|
<X>12</X>
|
91
103
|
<Y>0</Y>
|
104
|
+
<Z>0</Z>
|
92
105
|
</SEAT>
|
93
106
|
<SEAT>
|
94
107
|
<ID>13</ID>
|
@@ -96,6 +109,7 @@
|
|
96
109
|
<TYPE>5</TYPE>
|
97
110
|
<X>13</X>
|
98
111
|
<Y>0</Y>
|
112
|
+
<Z>0</Z>
|
99
113
|
</SEAT>
|
100
114
|
<SEAT>
|
101
115
|
<ID>14</ID>
|
@@ -103,6 +117,7 @@
|
|
103
117
|
<TYPE>0</TYPE>
|
104
118
|
<X>0</X>
|
105
119
|
<Y>1</Y>
|
120
|
+
<Z>0</Z>
|
106
121
|
</SEAT>
|
107
122
|
<SEAT>
|
108
123
|
<ID>15</ID>
|
@@ -110,6 +125,7 @@
|
|
110
125
|
<TYPE>5</TYPE>
|
111
126
|
<X>1</X>
|
112
127
|
<Y>1</Y>
|
128
|
+
<Z>0</Z>
|
113
129
|
</SEAT>
|
114
130
|
<SEAT>
|
115
131
|
<ID>16</ID>
|
@@ -117,6 +133,7 @@
|
|
117
133
|
<TYPE>5</TYPE>
|
118
134
|
<X>2</X>
|
119
135
|
<Y>1</Y>
|
136
|
+
<Z>0</Z>
|
120
137
|
</SEAT>
|
121
138
|
<SEAT>
|
122
139
|
<ID>17</ID>
|
@@ -124,6 +141,7 @@
|
|
124
141
|
<TYPE>5</TYPE>
|
125
142
|
<X>3</X>
|
126
143
|
<Y>1</Y>
|
144
|
+
<Z>0</Z>
|
127
145
|
</SEAT>
|
128
146
|
<SEAT>
|
129
147
|
<ID>18</ID>
|
@@ -131,6 +149,7 @@
|
|
131
149
|
<TYPE>5</TYPE>
|
132
150
|
<X>4</X>
|
133
151
|
<Y>1</Y>
|
152
|
+
<Z>0</Z>
|
134
153
|
</SEAT>
|
135
154
|
<SEAT>
|
136
155
|
<ID>19</ID>
|
@@ -138,6 +157,7 @@
|
|
138
157
|
<TYPE>5</TYPE>
|
139
158
|
<X>5</X>
|
140
159
|
<Y>1</Y>
|
160
|
+
<Z>0</Z>
|
141
161
|
</SEAT>
|
142
162
|
<SEAT>
|
143
163
|
<ID>20</ID>
|
@@ -145,6 +165,7 @@
|
|
145
165
|
<TYPE>5</TYPE>
|
146
166
|
<X>6</X>
|
147
167
|
<Y>1</Y>
|
168
|
+
<Z>0</Z>
|
148
169
|
</SEAT>
|
149
170
|
<SEAT>
|
150
171
|
<ID>21</ID>
|
@@ -152,6 +173,7 @@
|
|
152
173
|
<TYPE>5</TYPE>
|
153
174
|
<X>7</X>
|
154
175
|
<Y>1</Y>
|
176
|
+
<Z>0</Z>
|
155
177
|
</SEAT>
|
156
178
|
<SEAT>
|
157
179
|
<ID>22</ID>
|
@@ -159,6 +181,7 @@
|
|
159
181
|
<TYPE>5</TYPE>
|
160
182
|
<X>8</X>
|
161
183
|
<Y>1</Y>
|
184
|
+
<Z>0</Z>
|
162
185
|
</SEAT>
|
163
186
|
<SEAT>
|
164
187
|
<ID>23</ID>
|
@@ -166,6 +189,7 @@
|
|
166
189
|
<TYPE>5</TYPE>
|
167
190
|
<X>9</X>
|
168
191
|
<Y>1</Y>
|
192
|
+
<Z>0</Z>
|
169
193
|
</SEAT>
|
170
194
|
<SEAT>
|
171
195
|
<ID>24</ID>
|
@@ -173,6 +197,7 @@
|
|
173
197
|
<TYPE>5</TYPE>
|
174
198
|
<X>10</X>
|
175
199
|
<Y>1</Y>
|
200
|
+
<Z>0</Z>
|
176
201
|
</SEAT>
|
177
202
|
<SEAT>
|
178
203
|
<ID>25</ID>
|
@@ -180,6 +205,7 @@
|
|
180
205
|
<TYPE>5</TYPE>
|
181
206
|
<X>11</X>
|
182
207
|
<Y>1</Y>
|
208
|
+
<Z>0</Z>
|
183
209
|
</SEAT>
|
184
210
|
<SEAT>
|
185
211
|
<ID>26</ID>
|
@@ -187,6 +213,7 @@
|
|
187
213
|
<TYPE>5</TYPE>
|
188
214
|
<X>12</X>
|
189
215
|
<Y>1</Y>
|
216
|
+
<Z>0</Z>
|
190
217
|
</SEAT>
|
191
218
|
<SEAT>
|
192
219
|
<ID>27</ID>
|
@@ -194,6 +221,7 @@
|
|
194
221
|
<TYPE>5</TYPE>
|
195
222
|
<X>13</X>
|
196
223
|
<Y>1</Y>
|
224
|
+
<Z>0</Z>
|
197
225
|
</SEAT>
|
198
226
|
<SEAT>
|
199
227
|
<ID>28</ID>
|
@@ -201,6 +229,7 @@
|
|
201
229
|
<TYPE>0</TYPE>
|
202
230
|
<X>0</X>
|
203
231
|
<Y>2</Y>
|
232
|
+
<Z>0</Z>
|
204
233
|
</SEAT>
|
205
234
|
<SEAT>
|
206
235
|
<ID>29</ID>
|
@@ -208,6 +237,7 @@
|
|
208
237
|
<TYPE>0</TYPE>
|
209
238
|
<X>1</X>
|
210
239
|
<Y>2</Y>
|
240
|
+
<Z>0</Z>
|
211
241
|
</SEAT>
|
212
242
|
<SEAT>
|
213
243
|
<ID>30</ID>
|
@@ -215,6 +245,7 @@
|
|
215
245
|
<TYPE>0</TYPE>
|
216
246
|
<X>2</X>
|
217
247
|
<Y>2</Y>
|
248
|
+
<Z>0</Z>
|
218
249
|
</SEAT>
|
219
250
|
<SEAT>
|
220
251
|
<ID>31</ID>
|
@@ -222,6 +253,7 @@
|
|
222
253
|
<TYPE>0</TYPE>
|
223
254
|
<X>3</X>
|
224
255
|
<Y>2</Y>
|
256
|
+
<Z>0</Z>
|
225
257
|
</SEAT>
|
226
258
|
<SEAT>
|
227
259
|
<ID>32</ID>
|
@@ -229,6 +261,7 @@
|
|
229
261
|
<TYPE>0</TYPE>
|
230
262
|
<X>4</X>
|
231
263
|
<Y>2</Y>
|
264
|
+
<Z>0</Z>
|
232
265
|
</SEAT>
|
233
266
|
<SEAT>
|
234
267
|
<ID>33</ID>
|
@@ -236,6 +269,7 @@
|
|
236
269
|
<TYPE>0</TYPE>
|
237
270
|
<X>5</X>
|
238
271
|
<Y>2</Y>
|
272
|
+
<Z>0</Z>
|
239
273
|
</SEAT>
|
240
274
|
<SEAT>
|
241
275
|
<ID>34</ID>
|
@@ -243,6 +277,7 @@
|
|
243
277
|
<TYPE>0</TYPE>
|
244
278
|
<X>6</X>
|
245
279
|
<Y>2</Y>
|
280
|
+
<Z>0</Z>
|
246
281
|
</SEAT>
|
247
282
|
<SEAT>
|
248
283
|
<ID>35</ID>
|
@@ -250,6 +285,7 @@
|
|
250
285
|
<TYPE>0</TYPE>
|
251
286
|
<X>7</X>
|
252
287
|
<Y>2</Y>
|
288
|
+
<Z>0</Z>
|
253
289
|
</SEAT>
|
254
290
|
<SEAT>
|
255
291
|
<ID>36</ID>
|
@@ -257,6 +293,7 @@
|
|
257
293
|
<TYPE>0</TYPE>
|
258
294
|
<X>8</X>
|
259
295
|
<Y>2</Y>
|
296
|
+
<Z>0</Z>
|
260
297
|
</SEAT>
|
261
298
|
<SEAT>
|
262
299
|
<ID>37</ID>
|
@@ -264,6 +301,7 @@
|
|
264
301
|
<TYPE>0</TYPE>
|
265
302
|
<X>9</X>
|
266
303
|
<Y>2</Y>
|
304
|
+
<Z>0</Z>
|
267
305
|
</SEAT>
|
268
306
|
<SEAT>
|
269
307
|
<ID>38</ID>
|
@@ -271,6 +309,7 @@
|
|
271
309
|
<TYPE>0</TYPE>
|
272
310
|
<X>10</X>
|
273
311
|
<Y>2</Y>
|
312
|
+
<Z>0</Z>
|
274
313
|
</SEAT>
|
275
314
|
<SEAT>
|
276
315
|
<ID>39</ID>
|
@@ -278,6 +317,7 @@
|
|
278
317
|
<TYPE>0</TYPE>
|
279
318
|
<X>11</X>
|
280
319
|
<Y>2</Y>
|
320
|
+
<Z>0</Z>
|
281
321
|
</SEAT>
|
282
322
|
<SEAT>
|
283
323
|
<ID>40</ID>
|
@@ -285,6 +325,7 @@
|
|
285
325
|
<TYPE>0</TYPE>
|
286
326
|
<X>12</X>
|
287
327
|
<Y>2</Y>
|
328
|
+
<Z>0</Z>
|
288
329
|
</SEAT>
|
289
330
|
<SEAT>
|
290
331
|
<ID>41</ID>
|
@@ -292,6 +333,7 @@
|
|
292
333
|
<TYPE>0</TYPE>
|
293
334
|
<X>13</X>
|
294
335
|
<Y>2</Y>
|
336
|
+
<Z>0</Z>
|
295
337
|
</SEAT>
|
296
338
|
<SEAT>
|
297
339
|
<ID>42</ID>
|
@@ -299,6 +341,7 @@
|
|
299
341
|
<TYPE>0</TYPE>
|
300
342
|
<X>0</X>
|
301
343
|
<Y>3</Y>
|
344
|
+
<Z>0</Z>
|
302
345
|
</SEAT>
|
303
346
|
<SEAT>
|
304
347
|
<ID>10716</ID>
|
@@ -306,6 +349,7 @@
|
|
306
349
|
<TYPE>3</TYPE>
|
307
350
|
<X>1</X>
|
308
351
|
<Y>3</Y>
|
352
|
+
<Z>0</Z>
|
309
353
|
</SEAT>
|
310
354
|
<SEAT>
|
311
355
|
<ID>44</ID>
|
@@ -313,6 +357,7 @@
|
|
313
357
|
<TYPE>5</TYPE>
|
314
358
|
<X>2</X>
|
315
359
|
<Y>3</Y>
|
360
|
+
<Z>0</Z>
|
316
361
|
</SEAT>
|
317
362
|
<SEAT>
|
318
363
|
<ID>45</ID>
|
@@ -320,6 +365,7 @@
|
|
320
365
|
<TYPE>5</TYPE>
|
321
366
|
<X>3</X>
|
322
367
|
<Y>3</Y>
|
368
|
+
<Z>0</Z>
|
323
369
|
</SEAT>
|
324
370
|
<SEAT>
|
325
371
|
<ID>46</ID>
|
@@ -327,6 +373,7 @@
|
|
327
373
|
<TYPE>5</TYPE>
|
328
374
|
<X>4</X>
|
329
375
|
<Y>3</Y>
|
376
|
+
<Z>0</Z>
|
330
377
|
</SEAT>
|
331
378
|
<SEAT>
|
332
379
|
<ID>47</ID>
|
@@ -334,6 +381,7 @@
|
|
334
381
|
<TYPE>5</TYPE>
|
335
382
|
<X>5</X>
|
336
383
|
<Y>3</Y>
|
384
|
+
<Z>0</Z>
|
337
385
|
</SEAT>
|
338
386
|
<SEAT>
|
339
387
|
<ID>48</ID>
|
@@ -341,6 +389,7 @@
|
|
341
389
|
<TYPE>5</TYPE>
|
342
390
|
<X>6</X>
|
343
391
|
<Y>3</Y>
|
392
|
+
<Z>0</Z>
|
344
393
|
</SEAT>
|
345
394
|
<SEAT>
|
346
395
|
<ID>49</ID>
|
@@ -348,6 +397,7 @@
|
|
348
397
|
<TYPE>5</TYPE>
|
349
398
|
<X>7</X>
|
350
399
|
<Y>3</Y>
|
400
|
+
<Z>0</Z>
|
351
401
|
</SEAT>
|
352
402
|
<SEAT>
|
353
403
|
<ID>50</ID>
|
@@ -355,6 +405,7 @@
|
|
355
405
|
<TYPE>5</TYPE>
|
356
406
|
<X>8</X>
|
357
407
|
<Y>3</Y>
|
408
|
+
<Z>0</Z>
|
358
409
|
</SEAT>
|
359
410
|
<SEAT>
|
360
411
|
<ID>51</ID>
|
@@ -362,6 +413,7 @@
|
|
362
413
|
<TYPE>5</TYPE>
|
363
414
|
<X>9</X>
|
364
415
|
<Y>3</Y>
|
416
|
+
<Z>0</Z>
|
365
417
|
</SEAT>
|
366
418
|
<SEAT>
|
367
419
|
<ID>52</ID>
|
@@ -369,6 +421,7 @@
|
|
369
421
|
<TYPE>5</TYPE>
|
370
422
|
<X>10</X>
|
371
423
|
<Y>3</Y>
|
424
|
+
<Z>0</Z>
|
372
425
|
</SEAT>
|
373
426
|
<SEAT>
|
374
427
|
<ID>53</ID>
|
@@ -376,6 +429,7 @@
|
|
376
429
|
<TYPE>5</TYPE>
|
377
430
|
<X>11</X>
|
378
431
|
<Y>3</Y>
|
432
|
+
<Z>0</Z>
|
379
433
|
</SEAT>
|
380
434
|
<SEAT>
|
381
435
|
<ID>54</ID>
|
@@ -383,6 +437,7 @@
|
|
383
437
|
<TYPE>5</TYPE>
|
384
438
|
<X>12</X>
|
385
439
|
<Y>3</Y>
|
440
|
+
<Z>0</Z>
|
386
441
|
</SEAT>
|
387
442
|
<SEAT>
|
388
443
|
<ID>55</ID>
|
@@ -390,6 +445,7 @@
|
|
390
445
|
<TYPE>5</TYPE>
|
391
446
|
<X>13</X>
|
392
447
|
<Y>3</Y>
|
448
|
+
<Z>0</Z>
|
393
449
|
</SEAT>
|
394
450
|
<SEAT>
|
395
451
|
<ID>56</ID>
|
@@ -397,6 +453,7 @@
|
|
397
453
|
<TYPE>6</TYPE>
|
398
454
|
<X>0</X>
|
399
455
|
<Y>4</Y>
|
456
|
+
<Z>0</Z>
|
400
457
|
</SEAT>
|
401
458
|
<SEAT>
|
402
459
|
<ID>10715</ID>
|
@@ -404,6 +461,7 @@
|
|
404
461
|
<TYPE>3</TYPE>
|
405
462
|
<X>1</X>
|
406
463
|
<Y>4</Y>
|
464
|
+
<Z>0</Z>
|
407
465
|
</SEAT>
|
408
466
|
<SEAT>
|
409
467
|
<ID>10719</ID>
|
@@ -411,6 +469,7 @@
|
|
411
469
|
<TYPE>3</TYPE>
|
412
470
|
<X>2</X>
|
413
471
|
<Y>4</Y>
|
472
|
+
<Z>0</Z>
|
414
473
|
</SEAT>
|
415
474
|
<SEAT>
|
416
475
|
<ID>59</ID>
|
@@ -418,6 +477,7 @@
|
|
418
477
|
<TYPE>5</TYPE>
|
419
478
|
<X>3</X>
|
420
479
|
<Y>4</Y>
|
480
|
+
<Z>0</Z>
|
421
481
|
</SEAT>
|
422
482
|
<SEAT>
|
423
483
|
<ID>60</ID>
|
@@ -425,6 +485,7 @@
|
|
425
485
|
<TYPE>5</TYPE>
|
426
486
|
<X>4</X>
|
427
487
|
<Y>4</Y>
|
488
|
+
<Z>0</Z>
|
428
489
|
</SEAT>
|
429
490
|
<SEAT>
|
430
491
|
<ID>61</ID>
|
@@ -432,6 +493,7 @@
|
|
432
493
|
<TYPE>5</TYPE>
|
433
494
|
<X>5</X>
|
434
495
|
<Y>4</Y>
|
496
|
+
<Z>0</Z>
|
435
497
|
</SEAT>
|
436
498
|
<SEAT>
|
437
499
|
<ID>62</ID>
|
@@ -439,6 +501,7 @@
|
|
439
501
|
<TYPE>5</TYPE>
|
440
502
|
<X>6</X>
|
441
503
|
<Y>4</Y>
|
504
|
+
<Z>0</Z>
|
442
505
|
</SEAT>
|
443
506
|
<SEAT>
|
444
507
|
<ID>63</ID>
|
@@ -446,6 +509,7 @@
|
|
446
509
|
<TYPE>5</TYPE>
|
447
510
|
<X>7</X>
|
448
511
|
<Y>4</Y>
|
512
|
+
<Z>0</Z>
|
449
513
|
</SEAT>
|
450
514
|
<SEAT>
|
451
515
|
<ID>64</ID>
|
@@ -453,6 +517,7 @@
|
|
453
517
|
<TYPE>5</TYPE>
|
454
518
|
<X>8</X>
|
455
519
|
<Y>4</Y>
|
520
|
+
<Z>0</Z>
|
456
521
|
</SEAT>
|
457
522
|
<SEAT>
|
458
523
|
<ID>65</ID>
|
@@ -460,6 +525,7 @@
|
|
460
525
|
<TYPE>5</TYPE>
|
461
526
|
<X>9</X>
|
462
527
|
<Y>4</Y>
|
528
|
+
<Z>0</Z>
|
463
529
|
</SEAT>
|
464
530
|
<SEAT>
|
465
531
|
<ID>66</ID>
|
@@ -467,6 +533,7 @@
|
|
467
533
|
<TYPE>5</TYPE>
|
468
534
|
<X>10</X>
|
469
535
|
<Y>4</Y>
|
536
|
+
<Z>0</Z>
|
470
537
|
</SEAT>
|
471
538
|
<SEAT>
|
472
539
|
<ID>67</ID>
|
@@ -474,6 +541,7 @@
|
|
474
541
|
<TYPE>5</TYPE>
|
475
542
|
<X>11</X>
|
476
543
|
<Y>4</Y>
|
544
|
+
<Z>0</Z>
|
477
545
|
</SEAT>
|
478
546
|
<SEAT>
|
479
547
|
<ID>68</ID>
|
@@ -481,6 +549,7 @@
|
|
481
549
|
<TYPE>5</TYPE>
|
482
550
|
<X>12</X>
|
483
551
|
<Y>4</Y>
|
552
|
+
<Z>0</Z>
|
484
553
|
</SEAT>
|
485
554
|
<SEAT>
|
486
555
|
<ID>69</ID>
|
@@ -488,5 +557,6 @@
|
|
488
557
|
<TYPE>5</TYPE>
|
489
558
|
<X>13</X>
|
490
559
|
<Y>4</Y>
|
560
|
+
<Z>0</Z>
|
491
561
|
</SEAT>
|
492
562
|
</DATA>
|
@@ -0,0 +1,120 @@
|
|
1
|
+
---
|
2
|
+
ID: '386911730793662069'
|
3
|
+
RES_ID: '0'
|
4
|
+
NUMBER: TEST - Москва-Брянск
|
5
|
+
START_CITY_NAME: Москва
|
6
|
+
END_CITY_NAME: Брянск
|
7
|
+
START_TIMEZONE:
|
8
|
+
END_TIMEZONE:
|
9
|
+
START_DATE: 29.12.2017
|
10
|
+
END_DATE: 29.12.2017
|
11
|
+
START_TIME: '07:00'
|
12
|
+
END_TIME: '13:30'
|
13
|
+
BUS_MODEL: SCANIA C
|
14
|
+
BUS_CLASS:
|
15
|
+
BUS_ID:
|
16
|
+
BUS_FLOORS_NUMBER: '1'
|
17
|
+
PLATFORM:
|
18
|
+
TRIP_SEATS_MAP: 'true'
|
19
|
+
SHOW_PICKUP_DROPOFF: 'false'
|
20
|
+
BRANDED: 'false'
|
21
|
+
HAS_TRANSFER: 'false'
|
22
|
+
PLACES_COUNT: '51'
|
23
|
+
FREE_PLACES_COUNT: '20'
|
24
|
+
FREE_BUSY_PLACES: 20/51
|
25
|
+
CARRIER_ID: 39E2022747F26FA1E0530300F00A8A55
|
26
|
+
CARRIER_NAME: '"Региональные Автобусные Маршруты" ООО'
|
27
|
+
TIME_IN_ROAD: '06:30'
|
28
|
+
FAKE_TIME_IN_ROAD: 'false'
|
29
|
+
STATION_BEGIN_ID: 34C0A393C480628CE0530300F00AE18E
|
30
|
+
STATION_BEGIN_NAME: Киевский вокзал
|
31
|
+
STATION_BEGIN_ADDRESS: пл. Киевского Вокзала, д. 1
|
32
|
+
STATION_END_ID: 357C66C2E3907C1CE0530300F00A3A4E
|
33
|
+
STATION_END_NAME: Брянск, ж/д вокзал
|
34
|
+
STATION_END_ADDRESS: ул. Речная д. 1
|
35
|
+
RESERVATION_ENABLED: 'true'
|
36
|
+
SALE_ENABLED: 'true'
|
37
|
+
RETURN_ENABLED: 'false'
|
38
|
+
TIME_FOR_CANCEL: '40'
|
39
|
+
TRIP_FULL_SALE: 'false'
|
40
|
+
CAN_DISCOUNT: 'true'
|
41
|
+
INTERNATIONAL: 'false'
|
42
|
+
JOIN_BOOK_BUY: 'true'
|
43
|
+
TRIP_MODE: '1'
|
44
|
+
CUSTOM_STATUS: '0'
|
45
|
+
SPECIAL_CONDITIONS:
|
46
|
+
REDIRECT_URL:
|
47
|
+
IMAGE_URL: 'null'
|
48
|
+
START_POINT_TYPE: 'null'
|
49
|
+
VEHICLE_DESCRIPTION: 'null'
|
50
|
+
VEHICLE_FEATURES: 'null'
|
51
|
+
TOTAL_COST: '550.0'
|
52
|
+
CURRENCY: RUB
|
53
|
+
CURRENCY_CODE: '643'
|
54
|
+
TARIFF:
|
55
|
+
SHORT_NAME: Y
|
56
|
+
FULL_NAME: Базовый тариф
|
57
|
+
START_DATE:
|
58
|
+
END_DATE:
|
59
|
+
DESCRIPTION: 'Базовый тариф стоимости проезда одного пассажиров в одном направлении
|
60
|
+
|
61
|
+
'
|
62
|
+
TIME_TO_BUY_RESERVED: '2'
|
63
|
+
TIME_TO_STOP_BOOKING: '2'
|
64
|
+
TIME_TO_PAY_RESERVATION: 06.12.2017 18:25:39
|
65
|
+
COST: '550'
|
66
|
+
INSURANCE_COST: '0'
|
67
|
+
INSURANCE_ID:
|
68
|
+
INSURANCE_SUM: '0'
|
69
|
+
INSURANCE_CUR:
|
70
|
+
AFTER_DISPATCH_NO_RETURN: 'true'
|
71
|
+
PASSENGER_BIRTHDAY:
|
72
|
+
PASSENGER_ISIC_NUMBER:
|
73
|
+
PASSENGER_STUDENT_TICKET:
|
74
|
+
NOTE:
|
75
|
+
RETURN_CAUSE:
|
76
|
+
- lossless: 'true'
|
77
|
+
__content__: Без потерь, более чем за 2 ч., до отправления рейса. Возвращается
|
78
|
+
100% стоимости тарифа. Ориентировочная сумма возврата 550
|
79
|
+
- 'Добровольно, менее чем за 2 ч., до отправления рейса. Удерживается при возврате:
|
80
|
+
15% тарифа. Ориентировочная сумма возврата 425'
|
81
|
+
- 'Возврат маршрутной квитанции в случае опоздания к отправлению (стоимость не возвращается).
|
82
|
+
Удерживается при возврате: 100% тарифа. Ориентировочная сумма возврата 0'
|
83
|
+
- Возврат маршрутной квитанции по отмене отправления т/с, задержки отправления т/с
|
84
|
+
более чем на час и непредставления пассажиру указанного в билете места. СРОК ОБРАЩЕНИЯ
|
85
|
+
для возврата билета 24 часа с времени отправления. . Возвращается 100% стоимости
|
86
|
+
билета. Ориентировочная сумма возврата 550
|
87
|
+
PROMOTE: 'false'
|
88
|
+
IS_EXCLUSIVE_PRICE: 'false'
|
89
|
+
POINT:
|
90
|
+
- NUMBER: '0'
|
91
|
+
GEOGRAPHY_NAME: Москва
|
92
|
+
NAME: Киевский вокзал
|
93
|
+
ADDRESS: пл. Киевского Вокзала, д. 1
|
94
|
+
TIMEZONE:
|
95
|
+
ARRIVAL_DATE: 29.12.2017
|
96
|
+
ARRIVAL_TIME:
|
97
|
+
DISPATCH_DATE: 29.12.2017
|
98
|
+
DISPATCH_TIME: '07:00'
|
99
|
+
CHECK_POINT: 'false'
|
100
|
+
DISTANCE: '0'
|
101
|
+
TRANSFER_POINT: 'false'
|
102
|
+
PLATFORM:
|
103
|
+
BUSMODEL:
|
104
|
+
AGREED: 'true'
|
105
|
+
- NUMBER: '1'
|
106
|
+
GEOGRAPHY_NAME: Брянск
|
107
|
+
NAME: Остановка Брянск
|
108
|
+
ADDRESS: улица Речная; дом 1
|
109
|
+
TIMEZONE:
|
110
|
+
ARRIVAL_DATE: 29.12.2017
|
111
|
+
ARRIVAL_TIME: '13:30'
|
112
|
+
DISPATCH_DATE: 29.12.2017
|
113
|
+
DISPATCH_TIME:
|
114
|
+
CHECK_POINT: 'false'
|
115
|
+
DISTANCE: '390'
|
116
|
+
TRANSFER_POINT: 'false'
|
117
|
+
PLATFORM:
|
118
|
+
BUSMODEL:
|
119
|
+
AGREED: 'true'
|
120
|
+
EXTRA_CHARGE: '0.0'
|