gillbus 0.16.9 → 0.16.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gillbus/base_response.rb +1 -1
- data/lib/gillbus/version.rb +1 -1
- data/test/reserve_tickets_test.rb +5 -0
- data/test/responses/reserveTickets.yml +422 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ed9edf81aeb18e5c37f471a9663da11f8cfa28e
|
4
|
+
data.tar.gz: 9c859089f41e7418fbe5fb292003fb00cb4cd2d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a81ee54a84eb8ebc350bdd5ee8c2bcc44033d25e626a56c6380617b01e819962e8394076c7923827d83f26dff2547025fe92a19a8ddb9178cb362fb083f4ccff
|
7
|
+
data.tar.gz: 0315bbd58ac9cb8d0f96c07cbdab63e53d2ecc2003d5bf2a97452c06df493c063190e9b6c8b23c776cd4ddd01f4b4d3bcf1b2a53160d44d5947095043c559dc1
|
data/lib/gillbus/version.rb
CHANGED
@@ -26,4 +26,9 @@ class ReserveTicketsTest < Minitest::Test
|
|
26
26
|
assert_equal(DateTime.new(2013, 5, 22, 20, 30, 0, '+4'), tickets.tickets.first.date_to_pay)
|
27
27
|
assert_equal('MSK', tickets.tickets.first.date_to_pay.zone)
|
28
28
|
end
|
29
|
+
|
30
|
+
def test_working_without_options
|
31
|
+
xml = YAML.load(File.read('test/responses/reserveTickets.yml'))
|
32
|
+
Gillbus::ReserveTickets::Response.parse(xml) # should not raise error
|
33
|
+
end
|
29
34
|
end
|
@@ -0,0 +1,422 @@
|
|
1
|
+
---
|
2
|
+
TICKET:
|
3
|
+
- FINAL_PRICE_GREATER: 'false'
|
4
|
+
CREATED_DATE: 13.12.2017 18:18:06
|
5
|
+
UPDATED_DATE: 13.12.2017 18:18:07
|
6
|
+
TICKET_NUMBER: '2899210'
|
7
|
+
TICKET_SERIES: '11111111'
|
8
|
+
CARRIER_TICKET_NUMBER:
|
9
|
+
SYSTEM_NUMBER: '2899210'
|
10
|
+
ORDER_NUMBER: '2278427'
|
11
|
+
ORDER_ID: dev-17568571
|
12
|
+
TICKET_STATUS: '1'
|
13
|
+
IS_BAGGAGE: 'false'
|
14
|
+
POLICY_NUMBER:
|
15
|
+
EXCHANGE_BLANK: 'false'
|
16
|
+
ENABLE_CHANGE_TRIP_DATE: 'true'
|
17
|
+
PASSENGER_FULL_NAME: Сидоров П.П.
|
18
|
+
PASSENGER_FIRST_NAME: Петр
|
19
|
+
PASSENGER_LAST_NAME: Сидоров
|
20
|
+
PASSENGER_BIRTHDAY: 01.01.1980
|
21
|
+
PASSENGER_STUDENT_TICKET:
|
22
|
+
PASSENGER_PHONE: "+79161017268"
|
23
|
+
PASSENGER_PASSPORT: '1231231231'
|
24
|
+
PASSENGER_DOCUMENT_TYPE: '1'
|
25
|
+
PASSENGER_PICKUPDROPOFF:
|
26
|
+
AGENT_NAME: '"Басфор" ООО'
|
27
|
+
AGENT_PHONE: "+74953747677"
|
28
|
+
CARRIER_NAME: '"Мусіл Тур спол. с.р.о."Представництво'
|
29
|
+
CARRIER_PHONE: "+380983619098"
|
30
|
+
BUS_MODEL: MAN(VIP)
|
31
|
+
PLATFORM:
|
32
|
+
BUS_CLASS:
|
33
|
+
CARRIAGE_NUMBER:
|
34
|
+
NUMBER_SEAT: СВ
|
35
|
+
DATE_TO_PAY: 18.12.2017 18:18:06
|
36
|
+
TOTAL: '10039.5'
|
37
|
+
TOTAL_CURRENCY: RUB
|
38
|
+
TOTAL_CURRENCY_CODE: '643'
|
39
|
+
TRIP_NUMBER: MSR(VIP) Запорожье - Прага
|
40
|
+
TRIP_MODE: '1'
|
41
|
+
INTERNATIONAL_TRIP: 'true'
|
42
|
+
START_TIMEZONE:
|
43
|
+
END_TIMEZONE:
|
44
|
+
START_CITY: Киев
|
45
|
+
START_DATE: 19.12.2017
|
46
|
+
START_TIME: '08:00'
|
47
|
+
END_CITY: Прага
|
48
|
+
END_DATE: 20.12.2017
|
49
|
+
END_TIME: '07:00'
|
50
|
+
STATION_ID: 229933EE9EB8867CE0508E5B35574FAE
|
51
|
+
STATION_NAME: Автостанция "Киев" (Центральный железнодорожный вокзал)
|
52
|
+
STATION_END_NAME: Флоренц, автостанция
|
53
|
+
TYPE_TARIFF_NAME: Y
|
54
|
+
TYPE_TARIFF_FULL_NAME: Базовый тариф
|
55
|
+
TYPE_TARIFF_DESCRIPTION: Базовый тариф стоимости проезда одного пассажиров в одном
|
56
|
+
направлении
|
57
|
+
TARIFF: '0'
|
58
|
+
VAT_VALUE: '0'
|
59
|
+
TARIFF_VAT: '0'
|
60
|
+
FOREIGN_TARIFF: '3346.5'
|
61
|
+
FOREIGN_TARIFF_VAT: '0'
|
62
|
+
NOTE:
|
63
|
+
BARCODE: MSR002899210BSF
|
64
|
+
INSURANCE_NAME:
|
65
|
+
INSURANCE_PHONE:
|
66
|
+
AGENT_REG: '92511895'
|
67
|
+
CARRIER_REG: '26550436'
|
68
|
+
INSURANCE_REG:
|
69
|
+
TOTAL_TARIFF: '3346.5'
|
70
|
+
TOTAL_TARIFF_IN_CURRENCY: '1500'
|
71
|
+
TOTAL_TARIFF_VAT: '0'
|
72
|
+
TOTAL_TARIFF_VAT_IN_CURRENCY: '0'
|
73
|
+
TARIFF_CUR_CODE: UAH
|
74
|
+
TARIFF_CUR_RATE: '2.23099747897'
|
75
|
+
TOTAL_AMOUNT: '3346.5'
|
76
|
+
TOTAL_AGENT_INCOME: '435.04'
|
77
|
+
TOTAL_AMOUNT_VAT: '0'
|
78
|
+
SALE_CUR_CODE: RUB
|
79
|
+
CUSTOMER_NAME:
|
80
|
+
CUSTOMER_PHONE:
|
81
|
+
CUSTOMER_ADDRESS:
|
82
|
+
AGENT_ADDRESS: г Москва, ул Одесская, д 2 к БЦ "Лотос",, оф башня А, 9 этаж
|
83
|
+
CARRIER_ADDRESS: г Киев, ул пр-т Маяковского, д 79, оф 30
|
84
|
+
STATION_ADDRESS: метро Вокзальная; улица Симона Петлюры; дом 32
|
85
|
+
STATION_END_ADDRESS: Карлин ПОД Влоцноу 13/10
|
86
|
+
INSURANCE_ADDRESS:
|
87
|
+
AGENT_CODE: BSF
|
88
|
+
AGENT_CITY: Москва
|
89
|
+
CARRIER_CODE: MSR
|
90
|
+
BEGIN_AVIACODE:
|
91
|
+
END_AVIACODE: PRG
|
92
|
+
XT: '0'
|
93
|
+
XT_VAT: '0'
|
94
|
+
SERVICE_TYPE: Автобусный
|
95
|
+
RETURN_CAUSE:
|
96
|
+
- ID: 490C6C2CB7A06A41E0530300F00A0A49
|
97
|
+
APPROXIMATE_AMOUNT: '3346.5'
|
98
|
+
CAUSE: Принудительно, при отмене рейса, при непредоставлении места.
|
99
|
+
- ID: 490C781A23196B46E0530300F00A9247
|
100
|
+
APPROXIMATE_AMOUNT: '2242.17'
|
101
|
+
CAUSE: Добровольно, более чем за 48 ч., до отправления рейса
|
102
|
+
- ID: 490C7BAD848E6B2AE0530300F00A8DDF
|
103
|
+
APPROXIMATE_AMOUNT: '1070.89'
|
104
|
+
CAUSE: Добровольно, более чем за 24 ч., менее чем за 48 ч., до отправления рейса
|
105
|
+
- ID: 4999C87B1A5E7784E0530300F00A446E
|
106
|
+
APPROXIMATE_AMOUNT: '3346.5'
|
107
|
+
CAUSE: Добровольно, менее чем за 24 ч., до отправления рейса ВОЗВРАТ НЕ ДОПУСКАЕТСЯ
|
108
|
+
COMMISSION:
|
109
|
+
TYPE: '3'
|
110
|
+
CODE: XP2
|
111
|
+
DESCRIPTION: Агентский сбор №2
|
112
|
+
VALUE: '0'
|
113
|
+
VAT_VALUE: '18'
|
114
|
+
VAT: '0'
|
115
|
+
CURRENCY: UAH
|
116
|
+
RATE: '2.23099747897'
|
117
|
+
VALUE_IN_CURRENCY: '165.25'
|
118
|
+
VAT_IN_CURRENCY: '29.75'
|
119
|
+
ALL_COMMISSIONS:
|
120
|
+
COMMISSION:
|
121
|
+
- TYPE: '3'
|
122
|
+
CODE: XP2
|
123
|
+
DESCRIPTION: Агентский сбор №2
|
124
|
+
IN_OUT_TYPE: '3'
|
125
|
+
VALUE: '368.67'
|
126
|
+
VAT_VALUE: '18'
|
127
|
+
VAT: '66.37'
|
128
|
+
CURRENCY: UAH
|
129
|
+
RATE: '2.23099747897'
|
130
|
+
VALUE_IN_CURRENCY: '165.25'
|
131
|
+
VAT_IN_CURRENCY: '29.75'
|
132
|
+
- TYPE: '5'
|
133
|
+
CODE: XP1
|
134
|
+
DESCRIPTION: Агентский сбор №1
|
135
|
+
IN_OUT_TYPE: '3'
|
136
|
+
VALUE: '141.8'
|
137
|
+
VAT_VALUE: '18'
|
138
|
+
VAT: '25.52'
|
139
|
+
CURRENCY: UAH
|
140
|
+
RATE: '2.23099747897'
|
141
|
+
VALUE_IN_CURRENCY: '63.56'
|
142
|
+
VAT_IN_CURRENCY: '11.44'
|
143
|
+
- FINAL_PRICE_GREATER: 'false'
|
144
|
+
CREATED_DATE: 13.12.2017 18:18:06
|
145
|
+
UPDATED_DATE: 13.12.2017 18:18:08
|
146
|
+
TICKET_NUMBER: '2899211'
|
147
|
+
TICKET_SERIES: '11111111'
|
148
|
+
CARRIER_TICKET_NUMBER:
|
149
|
+
SYSTEM_NUMBER: '2899211'
|
150
|
+
ORDER_NUMBER: '2278427'
|
151
|
+
ORDER_ID: dev-17568571
|
152
|
+
TICKET_STATUS: '1'
|
153
|
+
IS_BAGGAGE: 'false'
|
154
|
+
POLICY_NUMBER:
|
155
|
+
EXCHANGE_BLANK: 'false'
|
156
|
+
ENABLE_CHANGE_TRIP_DATE: 'true'
|
157
|
+
PASSENGER_FULL_NAME: Фамилия2 И.О.
|
158
|
+
PASSENGER_FIRST_NAME: Имя2
|
159
|
+
PASSENGER_LAST_NAME: Фамилия2
|
160
|
+
PASSENGER_BIRTHDAY: 01.01.1980
|
161
|
+
PASSENGER_STUDENT_TICKET:
|
162
|
+
PASSENGER_PHONE: "+79161017268"
|
163
|
+
PASSENGER_PASSPORT: '1231231231'
|
164
|
+
PASSENGER_DOCUMENT_TYPE: '1'
|
165
|
+
PASSENGER_PICKUPDROPOFF:
|
166
|
+
AGENT_NAME: '"Басфор" ООО'
|
167
|
+
AGENT_PHONE: "+74953747677"
|
168
|
+
CARRIER_NAME: '"Мусіл Тур спол. с.р.о."Представництво'
|
169
|
+
CARRIER_PHONE: "+380983619098"
|
170
|
+
BUS_MODEL: MAN(VIP)
|
171
|
+
PLATFORM:
|
172
|
+
BUS_CLASS:
|
173
|
+
CARRIAGE_NUMBER:
|
174
|
+
NUMBER_SEAT: СВ
|
175
|
+
DATE_TO_PAY: 18.12.2017 18:18:06
|
176
|
+
TOTAL: '10039.5'
|
177
|
+
TOTAL_CURRENCY: RUB
|
178
|
+
TOTAL_CURRENCY_CODE: '643'
|
179
|
+
TRIP_NUMBER: MSR(VIP) Запорожье - Прага
|
180
|
+
TRIP_MODE: '1'
|
181
|
+
INTERNATIONAL_TRIP: 'true'
|
182
|
+
START_TIMEZONE:
|
183
|
+
END_TIMEZONE:
|
184
|
+
START_CITY: Киев
|
185
|
+
START_DATE: 19.12.2017
|
186
|
+
START_TIME: '08:00'
|
187
|
+
END_CITY: Прага
|
188
|
+
END_DATE: 20.12.2017
|
189
|
+
END_TIME: '07:00'
|
190
|
+
STATION_ID: 229933EE9EB8867CE0508E5B35574FAE
|
191
|
+
STATION_NAME: Автостанция "Киев" (Центральный железнодорожный вокзал)
|
192
|
+
STATION_END_NAME: Флоренц, автостанция
|
193
|
+
TYPE_TARIFF_NAME: Y
|
194
|
+
TYPE_TARIFF_FULL_NAME: Базовый тариф
|
195
|
+
TYPE_TARIFF_DESCRIPTION: Базовый тариф стоимости проезда одного пассажиров в одном
|
196
|
+
направлении
|
197
|
+
TARIFF: '0'
|
198
|
+
VAT_VALUE: '0'
|
199
|
+
TARIFF_VAT: '0'
|
200
|
+
FOREIGN_TARIFF: '3346.5'
|
201
|
+
FOREIGN_TARIFF_VAT: '0'
|
202
|
+
NOTE:
|
203
|
+
BARCODE: MSR002899211BSF
|
204
|
+
INSURANCE_NAME:
|
205
|
+
INSURANCE_PHONE:
|
206
|
+
AGENT_REG: '92511895'
|
207
|
+
CARRIER_REG: '26550436'
|
208
|
+
INSURANCE_REG:
|
209
|
+
TOTAL_TARIFF: '3346.5'
|
210
|
+
TOTAL_TARIFF_IN_CURRENCY: '1500'
|
211
|
+
TOTAL_TARIFF_VAT: '0'
|
212
|
+
TOTAL_TARIFF_VAT_IN_CURRENCY: '0'
|
213
|
+
TARIFF_CUR_CODE: UAH
|
214
|
+
TARIFF_CUR_RATE: '2.23099747897'
|
215
|
+
TOTAL_AMOUNT: '3346.5'
|
216
|
+
TOTAL_AGENT_INCOME: '435.04'
|
217
|
+
TOTAL_AMOUNT_VAT: '0'
|
218
|
+
SALE_CUR_CODE: RUB
|
219
|
+
CUSTOMER_NAME:
|
220
|
+
CUSTOMER_PHONE:
|
221
|
+
CUSTOMER_ADDRESS:
|
222
|
+
AGENT_ADDRESS: г Москва, ул Одесская, д 2 к БЦ "Лотос",, оф башня А, 9 этаж
|
223
|
+
CARRIER_ADDRESS: г Киев, ул пр-т Маяковского, д 79, оф 30
|
224
|
+
STATION_ADDRESS: метро Вокзальная; улица Симона Петлюры; дом 32
|
225
|
+
STATION_END_ADDRESS: Карлин ПОД Влоцноу 13/10
|
226
|
+
INSURANCE_ADDRESS:
|
227
|
+
AGENT_CODE: BSF
|
228
|
+
AGENT_CITY: Москва
|
229
|
+
CARRIER_CODE: MSR
|
230
|
+
BEGIN_AVIACODE:
|
231
|
+
END_AVIACODE: PRG
|
232
|
+
XT: '0'
|
233
|
+
XT_VAT: '0'
|
234
|
+
SERVICE_TYPE: Автобусный
|
235
|
+
RETURN_CAUSE:
|
236
|
+
- ID: 490C6C2CB7A06A41E0530300F00A0A49
|
237
|
+
APPROXIMATE_AMOUNT: '3346.5'
|
238
|
+
CAUSE: Принудительно, при отмене рейса, при непредоставлении места.
|
239
|
+
- ID: 490C781A23196B46E0530300F00A9247
|
240
|
+
APPROXIMATE_AMOUNT: '2242.17'
|
241
|
+
CAUSE: Добровольно, более чем за 48 ч., до отправления рейса
|
242
|
+
- ID: 490C7BAD848E6B2AE0530300F00A8DDF
|
243
|
+
APPROXIMATE_AMOUNT: '1070.89'
|
244
|
+
CAUSE: Добровольно, более чем за 24 ч., менее чем за 48 ч., до отправления рейса
|
245
|
+
- ID: 4999C87B1A5E7784E0530300F00A446E
|
246
|
+
APPROXIMATE_AMOUNT: '3346.5'
|
247
|
+
CAUSE: Добровольно, менее чем за 24 ч., до отправления рейса ВОЗВРАТ НЕ ДОПУСКАЕТСЯ
|
248
|
+
COMMISSION:
|
249
|
+
TYPE: '3'
|
250
|
+
CODE: XP2
|
251
|
+
DESCRIPTION: Агентский сбор №2
|
252
|
+
VALUE: '0'
|
253
|
+
VAT_VALUE: '18'
|
254
|
+
VAT: '0'
|
255
|
+
CURRENCY: UAH
|
256
|
+
RATE: '2.23099747897'
|
257
|
+
VALUE_IN_CURRENCY: '165.25'
|
258
|
+
VAT_IN_CURRENCY: '29.75'
|
259
|
+
ALL_COMMISSIONS:
|
260
|
+
COMMISSION:
|
261
|
+
- TYPE: '3'
|
262
|
+
CODE: XP2
|
263
|
+
DESCRIPTION: Агентский сбор №2
|
264
|
+
IN_OUT_TYPE: '3'
|
265
|
+
VALUE: '368.67'
|
266
|
+
VAT_VALUE: '18'
|
267
|
+
VAT: '66.37'
|
268
|
+
CURRENCY: UAH
|
269
|
+
RATE: '2.23099747897'
|
270
|
+
VALUE_IN_CURRENCY: '165.25'
|
271
|
+
VAT_IN_CURRENCY: '29.75'
|
272
|
+
- TYPE: '5'
|
273
|
+
CODE: XP1
|
274
|
+
DESCRIPTION: Агентский сбор №1
|
275
|
+
IN_OUT_TYPE: '3'
|
276
|
+
VALUE: '141.8'
|
277
|
+
VAT_VALUE: '18'
|
278
|
+
VAT: '25.52'
|
279
|
+
CURRENCY: UAH
|
280
|
+
RATE: '2.23099747897'
|
281
|
+
VALUE_IN_CURRENCY: '63.56'
|
282
|
+
VAT_IN_CURRENCY: '11.44'
|
283
|
+
- FINAL_PRICE_GREATER: 'false'
|
284
|
+
CREATED_DATE: 13.12.2017 18:18:06
|
285
|
+
UPDATED_DATE: 13.12.2017 18:18:08
|
286
|
+
TICKET_NUMBER: '2899212'
|
287
|
+
TICKET_SERIES: '11111111'
|
288
|
+
CARRIER_TICKET_NUMBER:
|
289
|
+
SYSTEM_NUMBER: '2899212'
|
290
|
+
ORDER_NUMBER: '2278427'
|
291
|
+
ORDER_ID: dev-17568571
|
292
|
+
TICKET_STATUS: '1'
|
293
|
+
IS_BAGGAGE: 'false'
|
294
|
+
POLICY_NUMBER:
|
295
|
+
EXCHANGE_BLANK: 'false'
|
296
|
+
ENABLE_CHANGE_TRIP_DATE: 'true'
|
297
|
+
PASSENGER_FULL_NAME: Фамилия3 И.О.
|
298
|
+
PASSENGER_FIRST_NAME: Имя3
|
299
|
+
PASSENGER_LAST_NAME: Фамилия3
|
300
|
+
PASSENGER_BIRTHDAY: 01.01.1980
|
301
|
+
PASSENGER_STUDENT_TICKET:
|
302
|
+
PASSENGER_PHONE: "+79161017268"
|
303
|
+
PASSENGER_PASSPORT: '1231231231'
|
304
|
+
PASSENGER_DOCUMENT_TYPE: '1'
|
305
|
+
PASSENGER_PICKUPDROPOFF:
|
306
|
+
AGENT_NAME: '"Басфор" ООО'
|
307
|
+
AGENT_PHONE: "+74953747677"
|
308
|
+
CARRIER_NAME: '"Мусіл Тур спол. с.р.о."Представництво'
|
309
|
+
CARRIER_PHONE: "+380983619098"
|
310
|
+
BUS_MODEL: MAN(VIP)
|
311
|
+
PLATFORM:
|
312
|
+
BUS_CLASS:
|
313
|
+
CARRIAGE_NUMBER:
|
314
|
+
NUMBER_SEAT: СВ
|
315
|
+
DATE_TO_PAY: 18.12.2017 18:18:06
|
316
|
+
TOTAL: '10039.5'
|
317
|
+
TOTAL_CURRENCY: RUB
|
318
|
+
TOTAL_CURRENCY_CODE: '643'
|
319
|
+
TRIP_NUMBER: MSR(VIP) Запорожье - Прага
|
320
|
+
TRIP_MODE: '1'
|
321
|
+
INTERNATIONAL_TRIP: 'true'
|
322
|
+
START_TIMEZONE:
|
323
|
+
END_TIMEZONE:
|
324
|
+
START_CITY: Киев
|
325
|
+
START_DATE: 19.12.2017
|
326
|
+
START_TIME: '08:00'
|
327
|
+
END_CITY: Прага
|
328
|
+
END_DATE: 20.12.2017
|
329
|
+
END_TIME: '07:00'
|
330
|
+
STATION_ID: 229933EE9EB8867CE0508E5B35574FAE
|
331
|
+
STATION_NAME: Автостанция "Киев" (Центральный железнодорожный вокзал)
|
332
|
+
STATION_END_NAME: Флоренц, автостанция
|
333
|
+
TYPE_TARIFF_NAME: Y
|
334
|
+
TYPE_TARIFF_FULL_NAME: Базовый тариф
|
335
|
+
TYPE_TARIFF_DESCRIPTION: Базовый тариф стоимости проезда одного пассажиров в одном
|
336
|
+
направлении
|
337
|
+
TARIFF: '0'
|
338
|
+
VAT_VALUE: '0'
|
339
|
+
TARIFF_VAT: '0'
|
340
|
+
FOREIGN_TARIFF: '3346.5'
|
341
|
+
FOREIGN_TARIFF_VAT: '0'
|
342
|
+
NOTE:
|
343
|
+
BARCODE: MSR002899212BSF
|
344
|
+
INSURANCE_NAME:
|
345
|
+
INSURANCE_PHONE:
|
346
|
+
AGENT_REG: '92511895'
|
347
|
+
CARRIER_REG: '26550436'
|
348
|
+
INSURANCE_REG:
|
349
|
+
TOTAL_TARIFF: '3346.5'
|
350
|
+
TOTAL_TARIFF_IN_CURRENCY: '1500'
|
351
|
+
TOTAL_TARIFF_VAT: '0'
|
352
|
+
TOTAL_TARIFF_VAT_IN_CURRENCY: '0'
|
353
|
+
TARIFF_CUR_CODE: UAH
|
354
|
+
TARIFF_CUR_RATE: '2.23099747897'
|
355
|
+
TOTAL_AMOUNT: '3346.5'
|
356
|
+
TOTAL_AGENT_INCOME: '435.04'
|
357
|
+
TOTAL_AMOUNT_VAT: '0'
|
358
|
+
SALE_CUR_CODE: RUB
|
359
|
+
CUSTOMER_NAME:
|
360
|
+
CUSTOMER_PHONE:
|
361
|
+
CUSTOMER_ADDRESS:
|
362
|
+
AGENT_ADDRESS: г Москва, ул Одесская, д 2 к БЦ "Лотос",, оф башня А, 9 этаж
|
363
|
+
CARRIER_ADDRESS: г Киев, ул пр-т Маяковского, д 79, оф 30
|
364
|
+
STATION_ADDRESS: метро Вокзальная; улица Симона Петлюры; дом 32
|
365
|
+
STATION_END_ADDRESS: Карлин ПОД Влоцноу 13/10
|
366
|
+
INSURANCE_ADDRESS:
|
367
|
+
AGENT_CODE: BSF
|
368
|
+
AGENT_CITY: Москва
|
369
|
+
CARRIER_CODE: MSR
|
370
|
+
BEGIN_AVIACODE:
|
371
|
+
END_AVIACODE: PRG
|
372
|
+
XT: '0'
|
373
|
+
XT_VAT: '0'
|
374
|
+
SERVICE_TYPE: Автобусный
|
375
|
+
RETURN_CAUSE:
|
376
|
+
- ID: 490C6C2CB7A06A41E0530300F00A0A49
|
377
|
+
APPROXIMATE_AMOUNT: '3346.5'
|
378
|
+
CAUSE: Принудительно, при отмене рейса, при непредоставлении места.
|
379
|
+
- ID: 490C781A23196B46E0530300F00A9247
|
380
|
+
APPROXIMATE_AMOUNT: '2242.17'
|
381
|
+
CAUSE: Добровольно, более чем за 48 ч., до отправления рейса
|
382
|
+
- ID: 490C7BAD848E6B2AE0530300F00A8DDF
|
383
|
+
APPROXIMATE_AMOUNT: '1070.89'
|
384
|
+
CAUSE: Добровольно, более чем за 24 ч., менее чем за 48 ч., до отправления рейса
|
385
|
+
- ID: 4999C87B1A5E7784E0530300F00A446E
|
386
|
+
APPROXIMATE_AMOUNT: '3346.5'
|
387
|
+
CAUSE: Добровольно, менее чем за 24 ч., до отправления рейса ВОЗВРАТ НЕ ДОПУСКАЕТСЯ
|
388
|
+
COMMISSION:
|
389
|
+
TYPE: '3'
|
390
|
+
CODE: XP2
|
391
|
+
DESCRIPTION: Агентский сбор №2
|
392
|
+
VALUE: '0'
|
393
|
+
VAT_VALUE: '18'
|
394
|
+
VAT: '0'
|
395
|
+
CURRENCY: UAH
|
396
|
+
RATE: '2.23099747897'
|
397
|
+
VALUE_IN_CURRENCY: '165.25'
|
398
|
+
VAT_IN_CURRENCY: '29.75'
|
399
|
+
ALL_COMMISSIONS:
|
400
|
+
COMMISSION:
|
401
|
+
- TYPE: '3'
|
402
|
+
CODE: XP2
|
403
|
+
DESCRIPTION: Агентский сбор №2
|
404
|
+
IN_OUT_TYPE: '3'
|
405
|
+
VALUE: '368.67'
|
406
|
+
VAT_VALUE: '18'
|
407
|
+
VAT: '66.37'
|
408
|
+
CURRENCY: UAH
|
409
|
+
RATE: '2.23099747897'
|
410
|
+
VALUE_IN_CURRENCY: '165.25'
|
411
|
+
VAT_IN_CURRENCY: '29.75'
|
412
|
+
- TYPE: '5'
|
413
|
+
CODE: XP1
|
414
|
+
DESCRIPTION: Агентский сбор №1
|
415
|
+
IN_OUT_TYPE: '3'
|
416
|
+
VALUE: '141.8'
|
417
|
+
VAT_VALUE: '18'
|
418
|
+
VAT: '25.52'
|
419
|
+
CURRENCY: UAH
|
420
|
+
RATE: '2.23099747897'
|
421
|
+
VALUE_IN_CURRENCY: '63.56'
|
422
|
+
VAT_IN_CURRENCY: '11.44'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gillbus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey "codesnik" Trofimenko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-12-
|
12
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -254,6 +254,7 @@ files:
|
|
254
254
|
- test/responses/getTripSegments.xml
|
255
255
|
- test/responses/lockSeats.xml
|
256
256
|
- test/responses/reserveTickets.xml
|
257
|
+
- test/responses/reserveTickets.yml
|
257
258
|
- test/responses/returnPositionFailure.xml
|
258
259
|
- test/responses/returnPositionSuccess.xml
|
259
260
|
- test/responses/searchTrips-empty.xml
|
@@ -328,6 +329,7 @@ test_files:
|
|
328
329
|
- test/responses/getTripSegments.xml
|
329
330
|
- test/responses/lockSeats.xml
|
330
331
|
- test/responses/reserveTickets.xml
|
332
|
+
- test/responses/reserveTickets.yml
|
331
333
|
- test/responses/returnPositionFailure.xml
|
332
334
|
- test/responses/returnPositionSuccess.xml
|
333
335
|
- test/responses/searchTrips-empty.xml
|