gillbus 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.ruby-version +1 -0
- data/Gemfile +10 -0
- data/Guardfile +29 -0
- data/LICENSE.txt +22 -0
- data/README.md +140 -0
- data/Rakefile +9 -0
- data/gillbus.gemspec +31 -0
- data/lib/gillbus/base_request.rb +99 -0
- data/lib/gillbus/base_response.rb +43 -0
- data/lib/gillbus/buy_booking.rb +74 -0
- data/lib/gillbus/buy_tickets.rb +36 -0
- data/lib/gillbus/cancel_order.rb +55 -0
- data/lib/gillbus/drivers/faraday_response_file_logger.rb +19 -0
- data/lib/gillbus/find_order.rb +37 -0
- data/lib/gillbus/get_all_cities.rb +24 -0
- data/lib/gillbus/get_cities.rb +34 -0
- data/lib/gillbus/get_countries.rb +24 -0
- data/lib/gillbus/get_dates_new.rb +35 -0
- data/lib/gillbus/get_order_status.rb +28 -0
- data/lib/gillbus/get_order_ticket.rb +62 -0
- data/lib/gillbus/get_required_fields.rb +32 -0
- data/lib/gillbus/get_time_table.rb +33 -0
- data/lib/gillbus/get_trip_seats.rb +61 -0
- data/lib/gillbus/get_trips.rb +13 -0
- data/lib/gillbus/helpers/fields.rb +47 -0
- data/lib/gillbus/helpers/parser.rb +100 -0
- data/lib/gillbus/helpers/update_attrs.rb +15 -0
- data/lib/gillbus/lock_seats.rb +82 -0
- data/lib/gillbus/logout.rb +19 -0
- data/lib/gillbus/parse_error.rb +11 -0
- data/lib/gillbus/reserve_tickets.rb +13 -0
- data/lib/gillbus/search_trips.rb +96 -0
- data/lib/gillbus/session_login.rb +32 -0
- data/lib/gillbus/structs/commission.rb +54 -0
- data/lib/gillbus/structs/item.rb +14 -0
- data/lib/gillbus/structs/passenger_discount.rb +37 -0
- data/lib/gillbus/structs/point.rb +38 -0
- data/lib/gillbus/structs/return_cause.rb +23 -0
- data/lib/gillbus/structs/seat.rb +38 -0
- data/lib/gillbus/structs/segment.rb +161 -0
- data/lib/gillbus/structs/tariff.rb +59 -0
- data/lib/gillbus/structs/ticket.rb +285 -0
- data/lib/gillbus/structs/timetable_segment.rb +51 -0
- data/lib/gillbus/structs/timetable_trip.rb +77 -0
- data/lib/gillbus/structs/trip.rb +164 -0
- data/lib/gillbus/tickets_booking.rb +182 -0
- data/lib/gillbus/unlock_seats.rb +15 -0
- data/lib/gillbus/version.rb +3 -0
- data/lib/gillbus.rb +86 -0
- data/script/example_booking.rb +82 -0
- data/script/example_booking_with_segments.rb +90 -0
- data/script/example_canceling_booking.rb +67 -0
- data/script/example_canceling_reservation.rb +69 -0
- data/script/example_reservation.rb +88 -0
- data/test/buy_booking_test.rb +32 -0
- data/test/buy_tickets_test.rb +12 -0
- data/test/cancel_order_test.rb +12 -0
- data/test/error_test.rb +31 -0
- data/test/find_order_test.rb +24 -0
- data/test/get_cities_test.rb +12 -0
- data/test/get_countries_test.rb +12 -0
- data/test/get_dates_new_test.rb +12 -0
- data/test/get_order_ticket_test.rb +12 -0
- data/test/get_time_table_test.rb +21 -0
- data/test/get_trip_seats_test.rb +40 -0
- data/test/lock_seats_test.rb +70 -0
- data/test/reserve_tickets_test.rb +22 -0
- data/test/responses/buyBooking.xml +9 -0
- data/test/responses/buyTickets.xml +7 -0
- data/test/responses/cancelOrder.xml +8 -0
- data/test/responses/error.xml +1 -0
- data/test/responses/findOrder.xml +296 -0
- data/test/responses/getCities.xml +266 -0
- data/test/responses/getCountries.xml +90 -0
- data/test/responses/getOrderTicket.xml +3 -0
- data/test/responses/getTimeTable.xml +81 -0
- data/test/responses/getTripSeats-one-empty-segment.xml +562 -0
- data/test/responses/getTripSeats-segments.xml +1052 -0
- data/test/responses/getTripSeats.xml +492 -0
- data/test/responses/lockSeats.xml +23 -0
- data/test/responses/reserveTickets.xml +76 -0
- data/test/responses/searchTrips-empty.xml +3 -0
- data/test/responses/searchTrips-prod.xml +193 -0
- data/test/responses/searchTrips-segments-roundtrip.xml +15812 -0
- data/test/responses/searchTrips-segments.xml +808 -0
- data/test/responses/sessionLogin.xml +3 -0
- data/test/responses/ticketsBooking.xml +75 -0
- data/test/responses/very_empty.xml +1 -0
- data/test/search_trips_test.rb +71 -0
- data/test/session_login_test.rb +12 -0
- data/test/test_helper.rb +3 -0
- data/test/tickets_booking_test.rb +16 -0
- metadata +303 -0
@@ -0,0 +1,492 @@
|
|
1
|
+
<DATA>
|
2
|
+
<SEAT>
|
3
|
+
<ID>0</ID>
|
4
|
+
<NUMBER>В1</NUMBER>
|
5
|
+
<TYPE>6</TYPE>
|
6
|
+
<X>0</X>
|
7
|
+
<Y>0</Y>
|
8
|
+
</SEAT>
|
9
|
+
<SEAT>
|
10
|
+
<ID>1</ID>
|
11
|
+
<NUMBER>4</NUMBER>
|
12
|
+
<TYPE>5</TYPE>
|
13
|
+
<X>1</X>
|
14
|
+
<Y>0</Y>
|
15
|
+
</SEAT>
|
16
|
+
<SEAT>
|
17
|
+
<ID>2</ID>
|
18
|
+
<NUMBER>8</NUMBER>
|
19
|
+
<TYPE>5</TYPE>
|
20
|
+
<X>2</X>
|
21
|
+
<Y>0</Y>
|
22
|
+
</SEAT>
|
23
|
+
<SEAT>
|
24
|
+
<ID>3</ID>
|
25
|
+
<NUMBER>12</NUMBER>
|
26
|
+
<TYPE>5</TYPE>
|
27
|
+
<X>3</X>
|
28
|
+
<Y>0</Y>
|
29
|
+
</SEAT>
|
30
|
+
<SEAT>
|
31
|
+
<ID>4</ID>
|
32
|
+
<NUMBER>16</NUMBER>
|
33
|
+
<TYPE>5</TYPE>
|
34
|
+
<X>4</X>
|
35
|
+
<Y>0</Y>
|
36
|
+
</SEAT>
|
37
|
+
<SEAT>
|
38
|
+
<ID>5</ID>
|
39
|
+
<NUMBER>20</NUMBER>
|
40
|
+
<TYPE>5</TYPE>
|
41
|
+
<X>5</X>
|
42
|
+
<Y>0</Y>
|
43
|
+
</SEAT>
|
44
|
+
<SEAT>
|
45
|
+
<ID>6</ID>
|
46
|
+
<NUMBER>24</NUMBER>
|
47
|
+
<TYPE>5</TYPE>
|
48
|
+
<X>6</X>
|
49
|
+
<Y>0</Y>
|
50
|
+
</SEAT>
|
51
|
+
<SEAT>
|
52
|
+
<ID>7</ID>
|
53
|
+
<NUMBER>28</NUMBER>
|
54
|
+
<TYPE>5</TYPE>
|
55
|
+
<X>7</X>
|
56
|
+
<Y>0</Y>
|
57
|
+
</SEAT>
|
58
|
+
<SEAT>
|
59
|
+
<ID>8</ID>
|
60
|
+
<NUMBER>32</NUMBER>
|
61
|
+
<TYPE>5</TYPE>
|
62
|
+
<X>8</X>
|
63
|
+
<Y>0</Y>
|
64
|
+
</SEAT>
|
65
|
+
<SEAT>
|
66
|
+
<ID>9</ID>
|
67
|
+
<NUMBER>36</NUMBER>
|
68
|
+
<TYPE>5</TYPE>
|
69
|
+
<X>9</X>
|
70
|
+
<Y>0</Y>
|
71
|
+
</SEAT>
|
72
|
+
<SEAT>
|
73
|
+
<ID>10</ID>
|
74
|
+
<NUMBER>40</NUMBER>
|
75
|
+
<TYPE>5</TYPE>
|
76
|
+
<X>10</X>
|
77
|
+
<Y>0</Y>
|
78
|
+
</SEAT>
|
79
|
+
<SEAT>
|
80
|
+
<ID>11</ID>
|
81
|
+
<NUMBER>44</NUMBER>
|
82
|
+
<TYPE>5</TYPE>
|
83
|
+
<X>11</X>
|
84
|
+
<Y>0</Y>
|
85
|
+
</SEAT>
|
86
|
+
<SEAT>
|
87
|
+
<ID>12</ID>
|
88
|
+
<NUMBER>48</NUMBER>
|
89
|
+
<TYPE>5</TYPE>
|
90
|
+
<X>12</X>
|
91
|
+
<Y>0</Y>
|
92
|
+
</SEAT>
|
93
|
+
<SEAT>
|
94
|
+
<ID>13</ID>
|
95
|
+
<NUMBER>52</NUMBER>
|
96
|
+
<TYPE>5</TYPE>
|
97
|
+
<X>13</X>
|
98
|
+
<Y>0</Y>
|
99
|
+
</SEAT>
|
100
|
+
<SEAT>
|
101
|
+
<ID>14</ID>
|
102
|
+
<NUMBER/>
|
103
|
+
<TYPE>0</TYPE>
|
104
|
+
<X>0</X>
|
105
|
+
<Y>1</Y>
|
106
|
+
</SEAT>
|
107
|
+
<SEAT>
|
108
|
+
<ID>15</ID>
|
109
|
+
<NUMBER>3</NUMBER>
|
110
|
+
<TYPE>5</TYPE>
|
111
|
+
<X>1</X>
|
112
|
+
<Y>1</Y>
|
113
|
+
</SEAT>
|
114
|
+
<SEAT>
|
115
|
+
<ID>16</ID>
|
116
|
+
<NUMBER>7</NUMBER>
|
117
|
+
<TYPE>5</TYPE>
|
118
|
+
<X>2</X>
|
119
|
+
<Y>1</Y>
|
120
|
+
</SEAT>
|
121
|
+
<SEAT>
|
122
|
+
<ID>17</ID>
|
123
|
+
<NUMBER>11</NUMBER>
|
124
|
+
<TYPE>5</TYPE>
|
125
|
+
<X>3</X>
|
126
|
+
<Y>1</Y>
|
127
|
+
</SEAT>
|
128
|
+
<SEAT>
|
129
|
+
<ID>18</ID>
|
130
|
+
<NUMBER>15</NUMBER>
|
131
|
+
<TYPE>5</TYPE>
|
132
|
+
<X>4</X>
|
133
|
+
<Y>1</Y>
|
134
|
+
</SEAT>
|
135
|
+
<SEAT>
|
136
|
+
<ID>19</ID>
|
137
|
+
<NUMBER>19</NUMBER>
|
138
|
+
<TYPE>5</TYPE>
|
139
|
+
<X>5</X>
|
140
|
+
<Y>1</Y>
|
141
|
+
</SEAT>
|
142
|
+
<SEAT>
|
143
|
+
<ID>20</ID>
|
144
|
+
<NUMBER>23</NUMBER>
|
145
|
+
<TYPE>5</TYPE>
|
146
|
+
<X>6</X>
|
147
|
+
<Y>1</Y>
|
148
|
+
</SEAT>
|
149
|
+
<SEAT>
|
150
|
+
<ID>21</ID>
|
151
|
+
<NUMBER>27</NUMBER>
|
152
|
+
<TYPE>5</TYPE>
|
153
|
+
<X>7</X>
|
154
|
+
<Y>1</Y>
|
155
|
+
</SEAT>
|
156
|
+
<SEAT>
|
157
|
+
<ID>22</ID>
|
158
|
+
<NUMBER>31</NUMBER>
|
159
|
+
<TYPE>5</TYPE>
|
160
|
+
<X>8</X>
|
161
|
+
<Y>1</Y>
|
162
|
+
</SEAT>
|
163
|
+
<SEAT>
|
164
|
+
<ID>23</ID>
|
165
|
+
<NUMBER>35</NUMBER>
|
166
|
+
<TYPE>5</TYPE>
|
167
|
+
<X>9</X>
|
168
|
+
<Y>1</Y>
|
169
|
+
</SEAT>
|
170
|
+
<SEAT>
|
171
|
+
<ID>24</ID>
|
172
|
+
<NUMBER>39</NUMBER>
|
173
|
+
<TYPE>5</TYPE>
|
174
|
+
<X>10</X>
|
175
|
+
<Y>1</Y>
|
176
|
+
</SEAT>
|
177
|
+
<SEAT>
|
178
|
+
<ID>25</ID>
|
179
|
+
<NUMBER>43</NUMBER>
|
180
|
+
<TYPE>5</TYPE>
|
181
|
+
<X>11</X>
|
182
|
+
<Y>1</Y>
|
183
|
+
</SEAT>
|
184
|
+
<SEAT>
|
185
|
+
<ID>26</ID>
|
186
|
+
<NUMBER>47</NUMBER>
|
187
|
+
<TYPE>5</TYPE>
|
188
|
+
<X>12</X>
|
189
|
+
<Y>1</Y>
|
190
|
+
</SEAT>
|
191
|
+
<SEAT>
|
192
|
+
<ID>27</ID>
|
193
|
+
<NUMBER>51</NUMBER>
|
194
|
+
<TYPE>5</TYPE>
|
195
|
+
<X>13</X>
|
196
|
+
<Y>1</Y>
|
197
|
+
</SEAT>
|
198
|
+
<SEAT>
|
199
|
+
<ID>28</ID>
|
200
|
+
<NUMBER/>
|
201
|
+
<TYPE>0</TYPE>
|
202
|
+
<X>0</X>
|
203
|
+
<Y>2</Y>
|
204
|
+
</SEAT>
|
205
|
+
<SEAT>
|
206
|
+
<ID>29</ID>
|
207
|
+
<NUMBER/>
|
208
|
+
<TYPE>0</TYPE>
|
209
|
+
<X>1</X>
|
210
|
+
<Y>2</Y>
|
211
|
+
</SEAT>
|
212
|
+
<SEAT>
|
213
|
+
<ID>30</ID>
|
214
|
+
<NUMBER/>
|
215
|
+
<TYPE>0</TYPE>
|
216
|
+
<X>2</X>
|
217
|
+
<Y>2</Y>
|
218
|
+
</SEAT>
|
219
|
+
<SEAT>
|
220
|
+
<ID>31</ID>
|
221
|
+
<NUMBER/>
|
222
|
+
<TYPE>0</TYPE>
|
223
|
+
<X>3</X>
|
224
|
+
<Y>2</Y>
|
225
|
+
</SEAT>
|
226
|
+
<SEAT>
|
227
|
+
<ID>32</ID>
|
228
|
+
<NUMBER/>
|
229
|
+
<TYPE>0</TYPE>
|
230
|
+
<X>4</X>
|
231
|
+
<Y>2</Y>
|
232
|
+
</SEAT>
|
233
|
+
<SEAT>
|
234
|
+
<ID>33</ID>
|
235
|
+
<NUMBER/>
|
236
|
+
<TYPE>0</TYPE>
|
237
|
+
<X>5</X>
|
238
|
+
<Y>2</Y>
|
239
|
+
</SEAT>
|
240
|
+
<SEAT>
|
241
|
+
<ID>34</ID>
|
242
|
+
<NUMBER/>
|
243
|
+
<TYPE>0</TYPE>
|
244
|
+
<X>6</X>
|
245
|
+
<Y>2</Y>
|
246
|
+
</SEAT>
|
247
|
+
<SEAT>
|
248
|
+
<ID>35</ID>
|
249
|
+
<NUMBER/>
|
250
|
+
<TYPE>0</TYPE>
|
251
|
+
<X>7</X>
|
252
|
+
<Y>2</Y>
|
253
|
+
</SEAT>
|
254
|
+
<SEAT>
|
255
|
+
<ID>36</ID>
|
256
|
+
<NUMBER/>
|
257
|
+
<TYPE>0</TYPE>
|
258
|
+
<X>8</X>
|
259
|
+
<Y>2</Y>
|
260
|
+
</SEAT>
|
261
|
+
<SEAT>
|
262
|
+
<ID>37</ID>
|
263
|
+
<NUMBER/>
|
264
|
+
<TYPE>0</TYPE>
|
265
|
+
<X>9</X>
|
266
|
+
<Y>2</Y>
|
267
|
+
</SEAT>
|
268
|
+
<SEAT>
|
269
|
+
<ID>38</ID>
|
270
|
+
<NUMBER/>
|
271
|
+
<TYPE>0</TYPE>
|
272
|
+
<X>10</X>
|
273
|
+
<Y>2</Y>
|
274
|
+
</SEAT>
|
275
|
+
<SEAT>
|
276
|
+
<ID>39</ID>
|
277
|
+
<NUMBER/>
|
278
|
+
<TYPE>0</TYPE>
|
279
|
+
<X>11</X>
|
280
|
+
<Y>2</Y>
|
281
|
+
</SEAT>
|
282
|
+
<SEAT>
|
283
|
+
<ID>40</ID>
|
284
|
+
<NUMBER/>
|
285
|
+
<TYPE>0</TYPE>
|
286
|
+
<X>12</X>
|
287
|
+
<Y>2</Y>
|
288
|
+
</SEAT>
|
289
|
+
<SEAT>
|
290
|
+
<ID>41</ID>
|
291
|
+
<NUMBER/>
|
292
|
+
<TYPE>0</TYPE>
|
293
|
+
<X>13</X>
|
294
|
+
<Y>2</Y>
|
295
|
+
</SEAT>
|
296
|
+
<SEAT>
|
297
|
+
<ID>42</ID>
|
298
|
+
<NUMBER/>
|
299
|
+
<TYPE>0</TYPE>
|
300
|
+
<X>0</X>
|
301
|
+
<Y>3</Y>
|
302
|
+
</SEAT>
|
303
|
+
<SEAT>
|
304
|
+
<ID>10716</ID>
|
305
|
+
<NUMBER>2</NUMBER>
|
306
|
+
<TYPE>3</TYPE>
|
307
|
+
<X>1</X>
|
308
|
+
<Y>3</Y>
|
309
|
+
</SEAT>
|
310
|
+
<SEAT>
|
311
|
+
<ID>44</ID>
|
312
|
+
<NUMBER>6</NUMBER>
|
313
|
+
<TYPE>5</TYPE>
|
314
|
+
<X>2</X>
|
315
|
+
<Y>3</Y>
|
316
|
+
</SEAT>
|
317
|
+
<SEAT>
|
318
|
+
<ID>45</ID>
|
319
|
+
<NUMBER>10</NUMBER>
|
320
|
+
<TYPE>5</TYPE>
|
321
|
+
<X>3</X>
|
322
|
+
<Y>3</Y>
|
323
|
+
</SEAT>
|
324
|
+
<SEAT>
|
325
|
+
<ID>46</ID>
|
326
|
+
<NUMBER>14</NUMBER>
|
327
|
+
<TYPE>5</TYPE>
|
328
|
+
<X>4</X>
|
329
|
+
<Y>3</Y>
|
330
|
+
</SEAT>
|
331
|
+
<SEAT>
|
332
|
+
<ID>47</ID>
|
333
|
+
<NUMBER>18</NUMBER>
|
334
|
+
<TYPE>5</TYPE>
|
335
|
+
<X>5</X>
|
336
|
+
<Y>3</Y>
|
337
|
+
</SEAT>
|
338
|
+
<SEAT>
|
339
|
+
<ID>48</ID>
|
340
|
+
<NUMBER>22</NUMBER>
|
341
|
+
<TYPE>5</TYPE>
|
342
|
+
<X>6</X>
|
343
|
+
<Y>3</Y>
|
344
|
+
</SEAT>
|
345
|
+
<SEAT>
|
346
|
+
<ID>49</ID>
|
347
|
+
<NUMBER>26</NUMBER>
|
348
|
+
<TYPE>5</TYPE>
|
349
|
+
<X>7</X>
|
350
|
+
<Y>3</Y>
|
351
|
+
</SEAT>
|
352
|
+
<SEAT>
|
353
|
+
<ID>50</ID>
|
354
|
+
<NUMBER>30</NUMBER>
|
355
|
+
<TYPE>5</TYPE>
|
356
|
+
<X>8</X>
|
357
|
+
<Y>3</Y>
|
358
|
+
</SEAT>
|
359
|
+
<SEAT>
|
360
|
+
<ID>51</ID>
|
361
|
+
<NUMBER>34</NUMBER>
|
362
|
+
<TYPE>5</TYPE>
|
363
|
+
<X>9</X>
|
364
|
+
<Y>3</Y>
|
365
|
+
</SEAT>
|
366
|
+
<SEAT>
|
367
|
+
<ID>52</ID>
|
368
|
+
<NUMBER>38</NUMBER>
|
369
|
+
<TYPE>5</TYPE>
|
370
|
+
<X>10</X>
|
371
|
+
<Y>3</Y>
|
372
|
+
</SEAT>
|
373
|
+
<SEAT>
|
374
|
+
<ID>53</ID>
|
375
|
+
<NUMBER>42</NUMBER>
|
376
|
+
<TYPE>5</TYPE>
|
377
|
+
<X>11</X>
|
378
|
+
<Y>3</Y>
|
379
|
+
</SEAT>
|
380
|
+
<SEAT>
|
381
|
+
<ID>54</ID>
|
382
|
+
<NUMBER>46</NUMBER>
|
383
|
+
<TYPE>5</TYPE>
|
384
|
+
<X>12</X>
|
385
|
+
<Y>3</Y>
|
386
|
+
</SEAT>
|
387
|
+
<SEAT>
|
388
|
+
<ID>55</ID>
|
389
|
+
<NUMBER>50</NUMBER>
|
390
|
+
<TYPE>5</TYPE>
|
391
|
+
<X>13</X>
|
392
|
+
<Y>3</Y>
|
393
|
+
</SEAT>
|
394
|
+
<SEAT>
|
395
|
+
<ID>56</ID>
|
396
|
+
<NUMBER>ВД</NUMBER>
|
397
|
+
<TYPE>6</TYPE>
|
398
|
+
<X>0</X>
|
399
|
+
<Y>4</Y>
|
400
|
+
</SEAT>
|
401
|
+
<SEAT>
|
402
|
+
<ID>10715</ID>
|
403
|
+
<NUMBER>1</NUMBER>
|
404
|
+
<TYPE>3</TYPE>
|
405
|
+
<X>1</X>
|
406
|
+
<Y>4</Y>
|
407
|
+
</SEAT>
|
408
|
+
<SEAT>
|
409
|
+
<ID>10719</ID>
|
410
|
+
<NUMBER>5</NUMBER>
|
411
|
+
<TYPE>3</TYPE>
|
412
|
+
<X>2</X>
|
413
|
+
<Y>4</Y>
|
414
|
+
</SEAT>
|
415
|
+
<SEAT>
|
416
|
+
<ID>59</ID>
|
417
|
+
<NUMBER>9</NUMBER>
|
418
|
+
<TYPE>5</TYPE>
|
419
|
+
<X>3</X>
|
420
|
+
<Y>4</Y>
|
421
|
+
</SEAT>
|
422
|
+
<SEAT>
|
423
|
+
<ID>60</ID>
|
424
|
+
<NUMBER>13</NUMBER>
|
425
|
+
<TYPE>5</TYPE>
|
426
|
+
<X>4</X>
|
427
|
+
<Y>4</Y>
|
428
|
+
</SEAT>
|
429
|
+
<SEAT>
|
430
|
+
<ID>61</ID>
|
431
|
+
<NUMBER>17</NUMBER>
|
432
|
+
<TYPE>5</TYPE>
|
433
|
+
<X>5</X>
|
434
|
+
<Y>4</Y>
|
435
|
+
</SEAT>
|
436
|
+
<SEAT>
|
437
|
+
<ID>62</ID>
|
438
|
+
<NUMBER>21</NUMBER>
|
439
|
+
<TYPE>5</TYPE>
|
440
|
+
<X>6</X>
|
441
|
+
<Y>4</Y>
|
442
|
+
</SEAT>
|
443
|
+
<SEAT>
|
444
|
+
<ID>63</ID>
|
445
|
+
<NUMBER>25</NUMBER>
|
446
|
+
<TYPE>5</TYPE>
|
447
|
+
<X>7</X>
|
448
|
+
<Y>4</Y>
|
449
|
+
</SEAT>
|
450
|
+
<SEAT>
|
451
|
+
<ID>64</ID>
|
452
|
+
<NUMBER>29</NUMBER>
|
453
|
+
<TYPE>5</TYPE>
|
454
|
+
<X>8</X>
|
455
|
+
<Y>4</Y>
|
456
|
+
</SEAT>
|
457
|
+
<SEAT>
|
458
|
+
<ID>65</ID>
|
459
|
+
<NUMBER>33</NUMBER>
|
460
|
+
<TYPE>5</TYPE>
|
461
|
+
<X>9</X>
|
462
|
+
<Y>4</Y>
|
463
|
+
</SEAT>
|
464
|
+
<SEAT>
|
465
|
+
<ID>66</ID>
|
466
|
+
<NUMBER>37</NUMBER>
|
467
|
+
<TYPE>5</TYPE>
|
468
|
+
<X>10</X>
|
469
|
+
<Y>4</Y>
|
470
|
+
</SEAT>
|
471
|
+
<SEAT>
|
472
|
+
<ID>67</ID>
|
473
|
+
<NUMBER>41</NUMBER>
|
474
|
+
<TYPE>5</TYPE>
|
475
|
+
<X>11</X>
|
476
|
+
<Y>4</Y>
|
477
|
+
</SEAT>
|
478
|
+
<SEAT>
|
479
|
+
<ID>68</ID>
|
480
|
+
<NUMBER>45</NUMBER>
|
481
|
+
<TYPE>5</TYPE>
|
482
|
+
<X>12</X>
|
483
|
+
<Y>4</Y>
|
484
|
+
</SEAT>
|
485
|
+
<SEAT>
|
486
|
+
<ID>69</ID>
|
487
|
+
<NUMBER>49</NUMBER>
|
488
|
+
<TYPE>5</TYPE>
|
489
|
+
<X>13</X>
|
490
|
+
<Y>4</Y>
|
491
|
+
</SEAT>
|
492
|
+
</DATA>
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<DATA>
|
3
|
+
<TIME_LIMIT>899989</TIME_LIMIT>
|
4
|
+
<DICTIONARY>
|
5
|
+
<STUDENT_TICKET>false</STUDENT_TICKET>
|
6
|
+
<ISIC>false</ISIC>
|
7
|
+
<TARIFF_SHORT_NAME>false</TARIFF_SHORT_NAME>
|
8
|
+
<TARIFF_COST>false</TARIFF_COST>
|
9
|
+
<DOCUMENT_TYPE>false</DOCUMENT_TYPE>
|
10
|
+
<BAGGAGE_COUNT>false</BAGGAGE_COUNT>
|
11
|
+
<PHONE>true</PHONE>
|
12
|
+
<MAIL>true</MAIL>
|
13
|
+
<FIRSTNAME>true</FIRSTNAME>
|
14
|
+
<LASTNAME>true</LASTNAME>
|
15
|
+
<SECONDNAME>false</SECONDNAME>
|
16
|
+
<BIRTHDAY>false</BIRTHDAY>
|
17
|
+
<PASSPORT>false</PASSPORT>
|
18
|
+
<CITIZENSHIP>false</CITIZENSHIP>
|
19
|
+
<GENDER>false</GENDER>
|
20
|
+
<VISA>false</VISA>
|
21
|
+
<PASSDATE>false</PASSDATE>
|
22
|
+
</DICTIONARY>
|
23
|
+
</DATA>
|
@@ -0,0 +1,76 @@
|
|
1
|
+
<DATA>
|
2
|
+
<TICKET>
|
3
|
+
<TICKET_NUMBER>8472</TICKET_NUMBER>
|
4
|
+
<SYSTEM_NUMBER>8471</SYSTEM_NUMBER>
|
5
|
+
<ORDER_NUMBER>14065</ORDER_NUMBER>
|
6
|
+
<POLICY_NUMBER/>
|
7
|
+
<PASSENGER_FULL_NAME>0Art Art</PASSENGER_FULL_NAME>
|
8
|
+
<PASSENGER_FIRST_NAME>Art</PASSENGER_FIRST_NAME>
|
9
|
+
<PASSENGER_LAST_NAME>0Art</PASSENGER_LAST_NAME>
|
10
|
+
<PASSENGER_BIRTHDAY/>
|
11
|
+
<PASSENGER_STUDENT_TICKET/>
|
12
|
+
<PASSENGER_PHONE>380000000000</PASSENGER_PHONE>
|
13
|
+
<PASSENGER_PASSPORT/>
|
14
|
+
<AGENT_NAME>ТОВ"Юпітер</AGENT_NAME>
|
15
|
+
<AGENT_PHONE>+00(044)496-08-00</AGENT_PHONE>
|
16
|
+
<CARRIER_NAME>ТОВ"Юпітер</CARRIER_NAME>
|
17
|
+
<CARRIER_PHONE>+00(044)496-08-00</CARRIER_PHONE>
|
18
|
+
<BUS_MODEL>Setra</BUS_MODEL>
|
19
|
+
<CARRIAGE_NUMBER/>
|
20
|
+
<NUMBER_SEAT>16</NUMBER_SEAT>
|
21
|
+
<TRIP_NUMBER>ДЕМ059</TRIP_NUMBER>
|
22
|
+
<TRIP_MODE>1</TRIP_MODE>
|
23
|
+
<INTERNATIONAL_TRIP>false</INTERNATIONAL_TRIP>
|
24
|
+
<START_CITY>Донецк</START_CITY>
|
25
|
+
<START_DATE>20.02.2013</START_DATE>
|
26
|
+
<START_TIME>14:40</START_TIME>
|
27
|
+
<END_CITY>Одесса</END_CITY>
|
28
|
+
<END_TIME>06:35</END_TIME>
|
29
|
+
<TYPE_TARIFF_NAME>Y</TYPE_TARIFF_NAME>
|
30
|
+
<TARIFF>75.0</TARIFF>
|
31
|
+
<TARIFF_VAT>15.0</TARIFF_VAT>
|
32
|
+
<FOREIGN_TARIFF>0.0</FOREIGN_TARIFF>
|
33
|
+
<FOREIGN_TARIFF_VAT>0.0</FOREIGN_TARIFF_VAT>
|
34
|
+
<NOTE/>
|
35
|
+
<BARCODE>ЮПТ000008472ЮПТ</BARCODE>
|
36
|
+
<END_DATE>21.02.2013</END_DATE>
|
37
|
+
<STATION_NAME>Залізн. вокзал</STATION_NAME>
|
38
|
+
<INSURANCE_NAME>БрокБізнесБанк</INSURANCE_NAME>
|
39
|
+
<INSURANCE_PHONE>+33(333)333-33-33</INSURANCE_PHONE>
|
40
|
+
<AGENT_REG>132123</AGENT_REG>
|
41
|
+
<CARRIER_REG>132123</CARRIER_REG>
|
42
|
+
<INSURANCE_REG>232323223</INSURANCE_REG>
|
43
|
+
<TOTAL_TARIFF>75.0</TOTAL_TARIFF>
|
44
|
+
<TOTAL_TARIFF_IN_CURRENCY>75.0</TOTAL_TARIFF_IN_CURRENCY>
|
45
|
+
<TOTAL_TARIFF_VAT>15.0</TOTAL_TARIFF_VAT>
|
46
|
+
<TOTAL_TARIFF_VAT_IN_CURRENCY>15.0</TOTAL_TARIFF_VAT_IN_CURRENCY>
|
47
|
+
<SALE_CUR_CODE>UAH</SALE_CUR_CODE>
|
48
|
+
<TARIFF_CUR_CODE>UAH</TARIFF_CUR_CODE>
|
49
|
+
<TARIFF_CUR_RATE/>
|
50
|
+
<TOTAL_AMOUNT>110.0</TOTAL_AMOUNT>
|
51
|
+
<TOTAL_AMOUNT_VAT>18.33</TOTAL_AMOUNT_VAT>
|
52
|
+
<CUSTOMER_NAME/>
|
53
|
+
<CUSTOMER_PHONE/>
|
54
|
+
<CUSTOMER_ADDRESS/>
|
55
|
+
<AGENT_ADDRESS>м Київ, вул Якіра, д 13-б</AGENT_ADDRESS>
|
56
|
+
<CARRIER_ADDRESS>м Київ, вул Якіра, д 13-б</CARRIER_ADDRESS>
|
57
|
+
<STATION_ADDRESS>м. Донецьк. вул. Донецька</STATION_ADDRESS>
|
58
|
+
<INSURANCE_ADDRESS>м Київ</INSURANCE_ADDRESS>
|
59
|
+
<AGENT_CODE>ЮПТ</AGENT_CODE>
|
60
|
+
<AGENT_CITY>Київ</AGENT_CITY>
|
61
|
+
<CARRIER_CODE>ЮПТ</CARRIER_CODE>
|
62
|
+
<BEGIN_AVIACODE>DOK</BEGIN_AVIACODE>
|
63
|
+
<END_AVIACODE>ODS</END_AVIACODE>
|
64
|
+
<XT>0.0</XT>
|
65
|
+
<XT_VAT>0.0</XT_VAT>
|
66
|
+
<COMMISSION>
|
67
|
+
<TYPE>-1</TYPE>
|
68
|
+
<CODE>XP</CODE>
|
69
|
+
<DESCRIPTION>Агентський збір</DESCRIPTION>
|
70
|
+
<VALUE>20.0</VALUE>
|
71
|
+
<VAT>3.33</VAT>
|
72
|
+
<CURRENCY>UAH</CURRENCY>
|
73
|
+
</COMMISSION>
|
74
|
+
<DATE_TO_PAY>22.05.2013 20:30:00</DATE_TO_PAY>
|
75
|
+
</TICKET>
|
76
|
+
</DATA>
|