hostconnect 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. data/CHANGELOG +8 -0
  2. data/MIT-LICENSE +22 -0
  3. data/README.markdown +16 -0
  4. data/Rakefile +48 -0
  5. data/hostconnect.gemspec +44 -0
  6. data/lib/hostconnect/builder.rb +50 -0
  7. data/lib/hostconnect/builders/add_service_builder.rb +60 -0
  8. data/lib/hostconnect/builders/agent_info_builder.rb +19 -0
  9. data/lib/hostconnect/builders/get_booking_builder.rb +24 -0
  10. data/lib/hostconnect/builders/get_booking_payment_summary_builder.rb +20 -0
  11. data/lib/hostconnect/builders/get_locations_builder.rb +18 -0
  12. data/lib/hostconnect/builders/get_services_builder.rb +18 -0
  13. data/lib/hostconnect/builders/get_system_settings_builder.rb +18 -0
  14. data/lib/hostconnect/builders/list_bookings_builder.rb +27 -0
  15. data/lib/hostconnect/builders/new_booking_info_builder.rb +23 -0
  16. data/lib/hostconnect/builders/option_info_builder.rb +49 -0
  17. data/lib/hostconnect/builders/pax_details_builder.rb +21 -0
  18. data/lib/hostconnect/builders/ping_builder.rb +11 -0
  19. data/lib/hostconnect/builders/record_booking_payment_builder.rb +25 -0
  20. data/lib/hostconnect/builders/room_config_builder.rb +25 -0
  21. data/lib/hostconnect/builders/service_line_note_builder.rb +17 -0
  22. data/lib/hostconnect/builders/suppler_info_builder.rb +27 -0
  23. data/lib/hostconnect/client.rb +32 -0
  24. data/lib/hostconnect/coercion.rb +50 -0
  25. data/lib/hostconnect/core_extensions/string.rb +18 -0
  26. data/lib/hostconnect/core_extensions/symbol.rb +9 -0
  27. data/lib/hostconnect/response.rb +119 -0
  28. data/lib/hostconnect/responses/add_service.rb +4 -0
  29. data/lib/hostconnect/responses/agent_info.rb +7 -0
  30. data/lib/hostconnect/responses/get_booking.rb +20 -0
  31. data/lib/hostconnect/responses/get_booking_payment_summary.rb +21 -0
  32. data/lib/hostconnect/responses/get_locations.rb +21 -0
  33. data/lib/hostconnect/responses/get_services.rb +21 -0
  34. data/lib/hostconnect/responses/get_system_settings.rb +24 -0
  35. data/lib/hostconnect/responses/list_bookings.rb +14 -0
  36. data/lib/hostconnect/responses/option_info.rb +60 -0
  37. data/lib/hostconnect/responses/ping.rb +7 -0
  38. data/lib/hostconnect/responses/record_booking_payment.rb +4 -0
  39. data/lib/hostconnect/responses/supplier_info.rb +31 -0
  40. data/lib/hostconnect/rtf_document.rb +19 -0
  41. data/lib/hostconnect/translation.rb +22 -0
  42. data/lib/hostconnect.rb +58 -0
  43. data/spec/builders/add_service_builder_spec.rb +36 -0
  44. data/spec/builders/agent_info_builder_spec.rb +13 -0
  45. data/spec/builders/get_locations_builder_spec.rb +13 -0
  46. data/spec/builders/new_booking_info_builder_spec.rb +34 -0
  47. data/spec/builders/option_info_builder_spec.rb +48 -0
  48. data/spec/builders/pax_details_builder_spec.rb +41 -0
  49. data/spec/builders/ping_builder_spec.rb +23 -0
  50. data/spec/builders/room_config_builder_spec.rb +60 -0
  51. data/spec/client_spec.rb +20 -0
  52. data/spec/coercion_spec.rb +85 -0
  53. data/spec/core_extensions_spec.rb +17 -0
  54. data/spec/fixtures/requests/add_service_request/hotel_booking.xml +42 -0
  55. data/spec/fixtures/requests/agent_info.xml +8 -0
  56. data/spec/fixtures/requests/get_locations.xml +8 -0
  57. data/spec/fixtures/requests/option_info/hotel_search.xml +11 -0
  58. data/spec/fixtures/requests/option_info/hotel_search_total_stay_price.xml +18 -0
  59. data/spec/fixtures/requests/option_info/option_number.xml +10 -0
  60. data/spec/fixtures/requests/ping.xml +5 -0
  61. data/spec/fixtures/responses/add_service.xml +11 -0
  62. data/spec/fixtures/responses/agent_info.xml +12 -0
  63. data/spec/fixtures/responses/agent_info_error.xml +7 -0
  64. data/spec/fixtures/responses/get_booking.xml +40 -0
  65. data/spec/fixtures/responses/get_locations.xml +48 -0
  66. data/spec/fixtures/responses/get_system_settings.xml +28 -0
  67. data/spec/fixtures/responses/option_info/hotel_price.xml +17 -0
  68. data/spec/fixtures/responses/option_info/hotel_search.xml +721 -0
  69. data/spec/fixtures/responses/option_info/hotel_search_with_stay_price.xml +470 -0
  70. data/spec/fixtures/responses/option_info/option_number.xml +14 -0
  71. data/spec/fixtures/responses/option_info/tours.xml +74 -0
  72. data/spec/fixtures/responses/ping.xml +8 -0
  73. data/spec/responses/add_service_spec.rb +13 -0
  74. data/spec/responses/agent_info_spec.rb +24 -0
  75. data/spec/responses/get_booking_spec.rb +33 -0
  76. data/spec/responses/get_locations_spec.rb +29 -0
  77. data/spec/responses/get_system_settings_spec.rb +21 -0
  78. data/spec/responses/option_info_spec.rb +48 -0
  79. data/spec/responses/ping_spec.rb +22 -0
  80. data/spec/spec_helper.rb +13 -0
  81. data/spec/translation_spec.rb +18 -0
  82. metadata +259 -0
@@ -0,0 +1,721 @@
1
+ <?xml version="1.0" encoding="ISO-8859-1"?>
2
+ <!DOCTYPE Reply SYSTEM "http://217.206.100.98:8080/iComNew205/hostConnect_2_05_006.dtd">
3
+ <Reply>
4
+ <OptionInfoReply>
5
+ <Option>
6
+ <Opt>LONACHOINKCSTDBEB</Opt>
7
+ <OptionNumber>15</OptionNumber>
8
+ <OptGeneral>
9
+ <SupplierId>11</SupplierId>
10
+ <SupplierName>Holiday Inn Kings Cross</SupplierName>
11
+ <Description>Bed &amp; Full English Breakfast</Description>
12
+ <Comment>Standard Room</Comment>
13
+ <Locality>KGX</Locality>
14
+ <LocalityDescription>Kings Cross</LocalityDescription>
15
+ <Class>3*</Class>
16
+ <ClassDescription>3 Star</ClassDescription>
17
+ <SType>Y</SType>
18
+ <SCU>Night</SCU>
19
+ <MinSCU>1</MinSCU>
20
+ <MaxSCU>99</MaxSCU>
21
+ <OptExtras>
22
+ <OptExtra>
23
+ <SequenceNumber>1</SequenceNumber>
24
+ <Description>Porterage</Description>
25
+ <IsPricePerPerson>Y</IsPricePerPerson>
26
+ </OptExtra>
27
+ </OptExtras>
28
+ <VoucherName>Holiday Inn Kings Cross</VoucherName>
29
+ <Address1>21 Fleet St</Address1>
30
+ <Address2>London</Address2>
31
+ <Address3></Address3>
32
+ <Address4></Address4>
33
+ <Address5></Address5>
34
+ <PostCode>W1 4TG</PostCode>
35
+ <Single_Avail>Y</Single_Avail>
36
+ <Single_Ad_Max>1</Single_Ad_Max>
37
+ <Twin_Avail>Y</Twin_Avail>
38
+ <Twin_Ad_Max>2</Twin_Ad_Max>
39
+ <Double_Avail>Y</Double_Avail>
40
+ <Double_Ad_Max>2</Double_Ad_Max>
41
+ <Triple_Avail>Y</Triple_Avail>
42
+ <Triple_Ad_Max>3</Triple_Ad_Max>
43
+ <Quad_Avail>N</Quad_Avail>
44
+ <InfantsAllowed>Y</InfantsAllowed>
45
+ <Infant_From>0</Infant_From>
46
+ <Infant_To>3</Infant_To>
47
+ <ChildrenAllowed>Y</ChildrenAllowed>
48
+ <Child_From>4</Child_From>
49
+ <Child_To>12</Child_To>
50
+ <AdultsAllowed>Y</AdultsAllowed>
51
+ <Adult_From>13</Adult_From>
52
+ <Adult_To>99</Adult_To>
53
+ <ButtonName>Accommodation</ButtonName>
54
+ </OptGeneral>
55
+ <OptRates>
56
+ <Currency>GBP</Currency>
57
+ <OptRate>
58
+ <Date>2007-12-22</Date>
59
+ <RateName>Standard</RateName>
60
+ <RateText>Standard</RateText>
61
+ <RoomRates>
62
+ <SingleRate>12000</SingleRate>
63
+ <DoubleRate>16800</DoubleRate>
64
+ <TwinRate>16800</TwinRate>
65
+ <TripleRate>24000</TripleRate>
66
+ </RoomRates>
67
+ <ExtrasRates>
68
+ <ExtrasRate>
69
+ <SequenceNumber>1</SequenceNumber>
70
+ <AdultRate>500</AdultRate>
71
+ </ExtrasRate>
72
+ </ExtrasRates>
73
+ </OptRate>
74
+ </OptRates>
75
+ <OptDetailedAvails>
76
+ <OptDetailedAvail>
77
+ <UnitType>sg </UnitType>
78
+ <OptAvail>-3 </OptAvail>
79
+ </OptDetailedAvail>
80
+ <OptDetailedAvail>
81
+ <UnitType>db </UnitType>
82
+ <OptAvail>-3 </OptAvail>
83
+ </OptDetailedAvail>
84
+ <OptDetailedAvail>
85
+ <UnitType>tw </UnitType>
86
+ <OptAvail>-3 </OptAvail>
87
+ </OptDetailedAvail>
88
+ </OptDetailedAvails>
89
+ <OptEnquiryNotes></OptEnquiryNotes>
90
+ </Option>
91
+ <Option>
92
+ <Opt>LONACHOINKCROOMON</Opt>
93
+ <OptionNumber>14</OptionNumber>
94
+ <OptGeneral>
95
+ <SupplierId>11</SupplierId>
96
+ <SupplierName>Holiday Inn Kings Cross</SupplierName>
97
+ <Description>Room Only</Description>
98
+ <Comment>Standard Room</Comment>
99
+ <Locality>KGX</Locality>
100
+ <LocalityDescription>Kings Cross</LocalityDescription>
101
+ <Class>3*</Class>
102
+ <ClassDescription>3 Star</ClassDescription>
103
+ <SType>Y</SType>
104
+ <SCU>Night</SCU>
105
+ <MinSCU>1</MinSCU>
106
+ <MaxSCU>99</MaxSCU>
107
+ <OptExtras>
108
+ <OptExtra>
109
+ <SequenceNumber>1</SequenceNumber>
110
+ <Description>Porterage</Description>
111
+ <IsPricePerPerson>Y</IsPricePerPerson>
112
+ </OptExtra>
113
+ </OptExtras>
114
+ <VoucherName>Holiday Inn Kings Cross</VoucherName>
115
+ <Address1>21 Fleet St</Address1>
116
+ <Address2>London</Address2>
117
+ <Address3></Address3>
118
+ <Address4></Address4>
119
+ <Address5></Address5>
120
+ <PostCode>W1 4TG</PostCode>
121
+ <Single_Avail>Y</Single_Avail>
122
+ <Single_Ad_Max>1</Single_Ad_Max>
123
+ <Twin_Avail>Y</Twin_Avail>
124
+ <Twin_Ad_Max>2</Twin_Ad_Max>
125
+ <Double_Avail>Y</Double_Avail>
126
+ <Double_Ad_Max>2</Double_Ad_Max>
127
+ <Triple_Avail>Y</Triple_Avail>
128
+ <Triple_Ad_Max>3</Triple_Ad_Max>
129
+ <Quad_Avail>N</Quad_Avail>
130
+ <InfantsAllowed>Y</InfantsAllowed>
131
+ <Infant_From>0</Infant_From>
132
+ <Infant_To>3</Infant_To>
133
+ <ChildrenAllowed>Y</ChildrenAllowed>
134
+ <Child_From>4</Child_From>
135
+ <Child_To>12</Child_To>
136
+ <AdultsAllowed>Y</AdultsAllowed>
137
+ <Adult_From>13</Adult_From>
138
+ <Adult_To>99</Adult_To>
139
+ <ButtonName>Accommodation</ButtonName>
140
+ </OptGeneral>
141
+ <OptRates>
142
+ <Currency>GBP</Currency>
143
+ <OptRate>
144
+ <Date>2007-12-22</Date>
145
+ <RateName>Standard</RateName>
146
+ <RateText>Standard</RateText>
147
+ <RoomRates>
148
+ <SingleRate>9600</SingleRate>
149
+ <DoubleRate>12000</DoubleRate>
150
+ <TwinRate>12000</TwinRate>
151
+ <TripleRate>16800</TripleRate>
152
+ </RoomRates>
153
+ <ExtrasRates>
154
+ <ExtrasRate>
155
+ <SequenceNumber>1</SequenceNumber>
156
+ <AdultRate>500</AdultRate>
157
+ </ExtrasRate>
158
+ </ExtrasRates>
159
+ </OptRate>
160
+ </OptRates>
161
+ <OptDetailedAvails>
162
+ <OptDetailedAvail>
163
+ <UnitType>sg </UnitType>
164
+ <OptAvail>-3 </OptAvail>
165
+ </OptDetailedAvail>
166
+ <OptDetailedAvail>
167
+ <UnitType>db </UnitType>
168
+ <OptAvail>-3 </OptAvail>
169
+ </OptDetailedAvail>
170
+ <OptDetailedAvail>
171
+ <UnitType>tw </UnitType>
172
+ <OptAvail>-3 </OptAvail>
173
+ </OptDetailedAvail>
174
+ </OptDetailedAvails>
175
+ <OptEnquiryNotes></OptEnquiryNotes>
176
+ </Option>
177
+ <Option>
178
+ <Opt>LONACHOINKCSTDBCB</Opt>
179
+ <OptionNumber>13</OptionNumber>
180
+ <OptGeneral>
181
+ <SupplierId>11</SupplierId>
182
+ <SupplierName>Holiday Inn Kings Cross</SupplierName>
183
+ <Description>Bed &amp; Continental Breakfast</Description>
184
+ <Comment>Standard Room</Comment>
185
+ <Locality>KGX</Locality>
186
+ <LocalityDescription>Kings Cross</LocalityDescription>
187
+ <Class>3*</Class>
188
+ <ClassDescription>3 Star</ClassDescription>
189
+ <SType>Y</SType>
190
+ <SCU>Night</SCU>
191
+ <MinSCU>1</MinSCU>
192
+ <MaxSCU>99</MaxSCU>
193
+ <OptExtras>
194
+ <OptExtra>
195
+ <SequenceNumber>1</SequenceNumber>
196
+ <Description>Porterage</Description>
197
+ <IsPricePerPerson>Y</IsPricePerPerson>
198
+ </OptExtra>
199
+ </OptExtras>
200
+ <VoucherName>Holiday Inn Kings Cross</VoucherName>
201
+ <Address1>21 Fleet St</Address1>
202
+ <Address2>London</Address2>
203
+ <Address3></Address3>
204
+ <Address4></Address4>
205
+ <Address5></Address5>
206
+ <PostCode>W1 4TG</PostCode>
207
+ <Single_Avail>Y</Single_Avail>
208
+ <Single_Ad_Max>1</Single_Ad_Max>
209
+ <Twin_Avail>Y</Twin_Avail>
210
+ <Twin_Ad_Max>2</Twin_Ad_Max>
211
+ <Double_Avail>Y</Double_Avail>
212
+ <Double_Ad_Max>2</Double_Ad_Max>
213
+ <Triple_Avail>Y</Triple_Avail>
214
+ <Triple_Ad_Max>3</Triple_Ad_Max>
215
+ <Quad_Avail>N</Quad_Avail>
216
+ <InfantsAllowed>Y</InfantsAllowed>
217
+ <Infant_From>0</Infant_From>
218
+ <Infant_To>3</Infant_To>
219
+ <ChildrenAllowed>Y</ChildrenAllowed>
220
+ <Child_From>4</Child_From>
221
+ <Child_To>12</Child_To>
222
+ <AdultsAllowed>Y</AdultsAllowed>
223
+ <Adult_From>13</Adult_From>
224
+ <Adult_To>99</Adult_To>
225
+ <ButtonName>Accommodation</ButtonName>
226
+ </OptGeneral>
227
+ <OptRates>
228
+ <Currency>GBP</Currency>
229
+ <OptRate>
230
+ <Date>2007-12-22</Date>
231
+ <RateName>Standard</RateName>
232
+ <RateText>Standard</RateText>
233
+ <RoomRates>
234
+ <SingleRate>10800</SingleRate>
235
+ <DoubleRate>14400</DoubleRate>
236
+ <TwinRate>14400</TwinRate>
237
+ <TripleRate>20400</TripleRate>
238
+ </RoomRates>
239
+ <ExtrasRates>
240
+ <ExtrasRate>
241
+ <SequenceNumber>1</SequenceNumber>
242
+ <AdultRate>500</AdultRate>
243
+ </ExtrasRate>
244
+ </ExtrasRates>
245
+ </OptRate>
246
+ </OptRates>
247
+ <OptDetailedAvails>
248
+ <OptDetailedAvail>
249
+ <UnitType>sg </UnitType>
250
+ <OptAvail>-3 </OptAvail>
251
+ </OptDetailedAvail>
252
+ <OptDetailedAvail>
253
+ <UnitType>db </UnitType>
254
+ <OptAvail>-3 </OptAvail>
255
+ </OptDetailedAvail>
256
+ <OptDetailedAvail>
257
+ <UnitType>tw </UnitType>
258
+ <OptAvail>-3 </OptAvail>
259
+ </OptDetailedAvail>
260
+ </OptDetailedAvails>
261
+ <OptEnquiryNotes></OptEnquiryNotes>
262
+ </Option>
263
+ <Option>
264
+ <Opt>LONACBAILONSTDFUB</Opt>
265
+ <OptionNumber>12</OptionNumber>
266
+ <OptGeneral>
267
+ <SupplierId>10</SupplierId>
268
+ <SupplierName>Baileys London</SupplierName>
269
+ <Description>Full Board</Description>
270
+ <Comment>Standard Room</Comment>
271
+ <Locality>PAD</Locality>
272
+ <LocalityDescription>Paddington</LocalityDescription>
273
+ <Class>4*</Class>
274
+ <ClassDescription>4 Star</ClassDescription>
275
+ <SType>Y</SType>
276
+ <SCU>Night</SCU>
277
+ <MinSCU>1</MinSCU>
278
+ <MaxSCU>99</MaxSCU>
279
+ <OptExtras>
280
+ <OptExtra>
281
+ <SequenceNumber>1</SequenceNumber>
282
+ <Description>Porterage</Description>
283
+ <IsPricePerPerson>Y</IsPricePerPerson>
284
+ </OptExtra>
285
+ </OptExtras>
286
+ <VoucherName>Baileys London</VoucherName>
287
+ <Address1>21 Fleet St</Address1>
288
+ <Address2>London</Address2>
289
+ <Address3></Address3>
290
+ <Address4></Address4>
291
+ <Address5></Address5>
292
+ <PostCode>W1 4TG</PostCode>
293
+ <Single_Avail>Y</Single_Avail>
294
+ <Single_Ad_Max>1</Single_Ad_Max>
295
+ <Twin_Avail>Y</Twin_Avail>
296
+ <Twin_Ad_Max>2</Twin_Ad_Max>
297
+ <Double_Avail>Y</Double_Avail>
298
+ <Double_Ad_Max>2</Double_Ad_Max>
299
+ <Triple_Avail>Y</Triple_Avail>
300
+ <Triple_Ad_Max>3</Triple_Ad_Max>
301
+ <Quad_Avail>N</Quad_Avail>
302
+ <InfantsAllowed>Y</InfantsAllowed>
303
+ <Infant_From>0</Infant_From>
304
+ <Infant_To>3</Infant_To>
305
+ <ChildrenAllowed>Y</ChildrenAllowed>
306
+ <Child_From>4</Child_From>
307
+ <Child_To>12</Child_To>
308
+ <AdultsAllowed>Y</AdultsAllowed>
309
+ <Adult_From>13</Adult_From>
310
+ <Adult_To>99</Adult_To>
311
+ <ButtonName>Accommodation</ButtonName>
312
+ </OptGeneral>
313
+ <OptRates>
314
+ <Currency>GBP</Currency>
315
+ <OptRate>
316
+ <Date>2007-12-22</Date>
317
+ <RateName>Standard</RateName>
318
+ <RateText>Standard</RateText>
319
+ <RoomRates>
320
+ <SingleRate>21600</SingleRate>
321
+ <DoubleRate>31200</DoubleRate>
322
+ <TwinRate>31200</TwinRate>
323
+ <TripleRate>45600</TripleRate>
324
+ </RoomRates>
325
+ <ExtrasRates>
326
+ <ExtrasRate>
327
+ <SequenceNumber>1</SequenceNumber>
328
+ <AdultRate>500</AdultRate>
329
+ </ExtrasRate>
330
+ </ExtrasRates>
331
+ </OptRate>
332
+ </OptRates>
333
+ <OptDetailedAvails>
334
+ <OptDetailedAvail>
335
+ <UnitType>sg db tw tr qd ot </UnitType>
336
+ <OptAvail>-3 </OptAvail>
337
+ </OptDetailedAvail>
338
+ </OptDetailedAvails>
339
+ <OptEnquiryNotes></OptEnquiryNotes>
340
+ </Option>
341
+ <Option>
342
+ <Opt>LONACBAILONDELBCB</Opt>
343
+ <OptionNumber>11</OptionNumber>
344
+ <OptGeneral>
345
+ <SupplierId>10</SupplierId>
346
+ <SupplierName>Baileys London</SupplierName>
347
+ <Description>Bed &amp; Continental Breakfast</Description>
348
+ <Comment>Deluxe Room</Comment>
349
+ <Locality>PAD</Locality>
350
+ <LocalityDescription>Paddington</LocalityDescription>
351
+ <Class>4*</Class>
352
+ <ClassDescription>4 Star</ClassDescription>
353
+ <SType>Y</SType>
354
+ <SCU>Night</SCU>
355
+ <MinSCU>1</MinSCU>
356
+ <MaxSCU>99</MaxSCU>
357
+ <OptExtras>
358
+ <OptExtra>
359
+ <SequenceNumber>1</SequenceNumber>
360
+ <Description>Porterage</Description>
361
+ <IsPricePerPerson>Y</IsPricePerPerson>
362
+ </OptExtra>
363
+ </OptExtras>
364
+ <VoucherName>Baileys London</VoucherName>
365
+ <Address1>21 Fleet St</Address1>
366
+ <Address2>London</Address2>
367
+ <Address3></Address3>
368
+ <Address4></Address4>
369
+ <Address5></Address5>
370
+ <PostCode>W1 4TG</PostCode>
371
+ <Single_Avail>Y</Single_Avail>
372
+ <Single_Ad_Max>1</Single_Ad_Max>
373
+ <Twin_Avail>Y</Twin_Avail>
374
+ <Twin_Ad_Max>2</Twin_Ad_Max>
375
+ <Double_Avail>Y</Double_Avail>
376
+ <Double_Ad_Max>2</Double_Ad_Max>
377
+ <Triple_Avail>Y</Triple_Avail>
378
+ <Triple_Ad_Max>3</Triple_Ad_Max>
379
+ <Quad_Avail>N</Quad_Avail>
380
+ <InfantsAllowed>Y</InfantsAllowed>
381
+ <Infant_From>0</Infant_From>
382
+ <Infant_To>3</Infant_To>
383
+ <ChildrenAllowed>Y</ChildrenAllowed>
384
+ <Child_From>4</Child_From>
385
+ <Child_To>12</Child_To>
386
+ <AdultsAllowed>Y</AdultsAllowed>
387
+ <Adult_From>13</Adult_From>
388
+ <Adult_To>99</Adult_To>
389
+ <ButtonName>Accommodation</ButtonName>
390
+ </OptGeneral>
391
+ <OptRates>
392
+ <Currency>GBP</Currency>
393
+ <OptRate>
394
+ <Date>2007-12-22</Date>
395
+ <RateName>Standard</RateName>
396
+ <RateText>Standard</RateText>
397
+ <RoomRates />
398
+ </OptRate>
399
+ </OptRates>
400
+ <OptDetailedAvails>
401
+ <OptDetailedAvail>
402
+ <UnitType>sg db tw tr qd ot </UnitType>
403
+ <OptAvail>-3 </OptAvail>
404
+ </OptDetailedAvail>
405
+ </OptDetailedAvails>
406
+ <OptEnquiryNotes></OptEnquiryNotes>
407
+ </Option>
408
+ <Option>
409
+ <Opt>LONACBAILONSTDBCB</Opt>
410
+ <OptionNumber>10</OptionNumber>
411
+ <OptGeneral>
412
+ <SupplierId>10</SupplierId>
413
+ <SupplierName>Baileys London</SupplierName>
414
+ <Description>Bed &amp; Continental Breakfast</Description>
415
+ <Comment>Standard Room</Comment>
416
+ <Locality>PAD</Locality>
417
+ <LocalityDescription>Paddington</LocalityDescription>
418
+ <Class>4*</Class>
419
+ <ClassDescription>4 Star</ClassDescription>
420
+ <SType>Y</SType>
421
+ <SCU>Night</SCU>
422
+ <MinSCU>1</MinSCU>
423
+ <MaxSCU>99</MaxSCU>
424
+ <OptExtras>
425
+ <OptExtra>
426
+ <SequenceNumber>1</SequenceNumber>
427
+ <Description>Porterage</Description>
428
+ <IsPricePerPerson>Y</IsPricePerPerson>
429
+ </OptExtra>
430
+ </OptExtras>
431
+ <VoucherName>Baileys London</VoucherName>
432
+ <Address1>21 Fleet St</Address1>
433
+ <Address2>London</Address2>
434
+ <Address3></Address3>
435
+ <Address4></Address4>
436
+ <Address5></Address5>
437
+ <PostCode>W1 4TG</PostCode>
438
+ <Single_Avail>Y</Single_Avail>
439
+ <Single_Ad_Max>1</Single_Ad_Max>
440
+ <Twin_Avail>Y</Twin_Avail>
441
+ <Twin_Ad_Max>2</Twin_Ad_Max>
442
+ <Double_Avail>Y</Double_Avail>
443
+ <Double_Ad_Max>2</Double_Ad_Max>
444
+ <Triple_Avail>Y</Triple_Avail>
445
+ <Triple_Ad_Max>3</Triple_Ad_Max>
446
+ <Quad_Avail>N</Quad_Avail>
447
+ <InfantsAllowed>Y</InfantsAllowed>
448
+ <Infant_From>0</Infant_From>
449
+ <Infant_To>3</Infant_To>
450
+ <ChildrenAllowed>Y</ChildrenAllowed>
451
+ <Child_From>4</Child_From>
452
+ <Child_To>12</Child_To>
453
+ <AdultsAllowed>Y</AdultsAllowed>
454
+ <Adult_From>13</Adult_From>
455
+ <Adult_To>99</Adult_To>
456
+ <ButtonName>Accommodation</ButtonName>
457
+ </OptGeneral>
458
+ <OptRates>
459
+ <Currency>GBP</Currency>
460
+ <OptRate>
461
+ <Date>2007-12-22</Date>
462
+ <RateName>Weekend</RateName>
463
+ <RateText>Sat-Sun</RateText>
464
+ <RoomRates>
465
+ <SingleRate>19200</SingleRate>
466
+ <DoubleRate>26400</DoubleRate>
467
+ <TwinRate>26400</TwinRate>
468
+ <TripleRate>38400</TripleRate>
469
+ </RoomRates>
470
+ <ExtrasRates>
471
+ <ExtrasRate>
472
+ <SequenceNumber>1</SequenceNumber>
473
+ <AdultRate>500</AdultRate>
474
+ </ExtrasRate>
475
+ </ExtrasRates>
476
+ </OptRate>
477
+ </OptRates>
478
+ <OptDetailedAvails>
479
+ <OptDetailedAvail>
480
+ <UnitType>sg db tw tr qd ot </UnitType>
481
+ <OptAvail>-3 </OptAvail>
482
+ </OptDetailedAvail>
483
+ </OptDetailedAvails>
484
+ <OptEnquiryNotes></OptEnquiryNotes>
485
+ </Option>
486
+ <Option>
487
+ <Opt>LONACCUMLONSUITE </Opt>
488
+ <OptionNumber>9</OptionNumber>
489
+ <OptGeneral>
490
+ <SupplierId>1</SupplierId>
491
+ <SupplierName>Cumberland Hotel</SupplierName>
492
+ <Description>Bed &amp; Continental Breakfast</Description>
493
+ <Comment>Suite</Comment>
494
+ <Locality>PAD</Locality>
495
+ <LocalityDescription>Paddington</LocalityDescription>
496
+ <Class>4*</Class>
497
+ <ClassDescription>4 Star</ClassDescription>
498
+ <SType>Y</SType>
499
+ <SCU>Night</SCU>
500
+ <MinSCU>1</MinSCU>
501
+ <MaxSCU>99</MaxSCU>
502
+ <OptExtras>
503
+ <OptExtra>
504
+ <SequenceNumber>1</SequenceNumber>
505
+ <Description>Porterage</Description>
506
+ <IsPricePerPerson>Y</IsPricePerPerson>
507
+ </OptExtra>
508
+ </OptExtras>
509
+ <VoucherName>Cumberland Hotel</VoucherName>
510
+ <Address1>21 Fleet St</Address1>
511
+ <Address2>London</Address2>
512
+ <Address3></Address3>
513
+ <Address4></Address4>
514
+ <Address5></Address5>
515
+ <PostCode>W1 4TG</PostCode>
516
+ <Single_Avail>Y</Single_Avail>
517
+ <Single_Ad_Max>1</Single_Ad_Max>
518
+ <Twin_Avail>Y</Twin_Avail>
519
+ <Twin_Ad_Max>2</Twin_Ad_Max>
520
+ <Double_Avail>Y</Double_Avail>
521
+ <Double_Ad_Max>2</Double_Ad_Max>
522
+ <Triple_Avail>Y</Triple_Avail>
523
+ <Triple_Ad_Max>3</Triple_Ad_Max>
524
+ <Quad_Avail>N</Quad_Avail>
525
+ <InfantsAllowed>Y</InfantsAllowed>
526
+ <Infant_From>0</Infant_From>
527
+ <Infant_To>3</Infant_To>
528
+ <ChildrenAllowed>Y</ChildrenAllowed>
529
+ <Child_From>4</Child_From>
530
+ <Child_To>12</Child_To>
531
+ <AdultsAllowed>Y</AdultsAllowed>
532
+ <Adult_From>13</Adult_From>
533
+ <Adult_To>99</Adult_To>
534
+ <ButtonName>Accommodation</ButtonName>
535
+ </OptGeneral>
536
+ <OptRates>
537
+ <Currency>GBP</Currency>
538
+ <OptRate>
539
+ <Date>2007-12-22</Date>
540
+ <RateName>Standard</RateName>
541
+ <RateText>Standard</RateText>
542
+ <RoomRates>
543
+ <SingleRate>19200</SingleRate>
544
+ <DoubleRate>26400</DoubleRate>
545
+ <TwinRate>26400</TwinRate>
546
+ <TripleRate>38400</TripleRate>
547
+ </RoomRates>
548
+ <ExtrasRates>
549
+ <ExtrasRate>
550
+ <SequenceNumber>1</SequenceNumber>
551
+ <AdultRate>500</AdultRate>
552
+ </ExtrasRate>
553
+ </ExtrasRates>
554
+ </OptRate>
555
+ </OptRates>
556
+ <OptDetailedAvails>
557
+ <OptDetailedAvail>
558
+ <UnitType>sg db tw tr qd ot </UnitType>
559
+ <OptAvail>-3 </OptAvail>
560
+ </OptDetailedAvail>
561
+ </OptDetailedAvails>
562
+ <OptEnquiryNotes></OptEnquiryNotes>
563
+ </Option>
564
+ <Option>
565
+ <Opt>LONACCUMLONROOMON</Opt>
566
+ <OptionNumber>8</OptionNumber>
567
+ <OptGeneral>
568
+ <SupplierId>1</SupplierId>
569
+ <SupplierName>Cumberland Hotel</SupplierName>
570
+ <Description>Room Only</Description>
571
+ <Comment>Standard Room</Comment>
572
+ <Locality>PAD</Locality>
573
+ <LocalityDescription>Paddington</LocalityDescription>
574
+ <Class>4*</Class>
575
+ <ClassDescription>4 Star</ClassDescription>
576
+ <SType>Y</SType>
577
+ <SCU>Night</SCU>
578
+ <MinSCU>1</MinSCU>
579
+ <MaxSCU>99</MaxSCU>
580
+ <OptExtras>
581
+ <OptExtra>
582
+ <SequenceNumber>1</SequenceNumber>
583
+ <Description>Porterage</Description>
584
+ <IsPricePerPerson>Y</IsPricePerPerson>
585
+ </OptExtra>
586
+ </OptExtras>
587
+ <VoucherName>Cumberland Hotel</VoucherName>
588
+ <Address1>21 Fleet St</Address1>
589
+ <Address2>London</Address2>
590
+ <Address3></Address3>
591
+ <Address4></Address4>
592
+ <Address5></Address5>
593
+ <PostCode>W1 4TG</PostCode>
594
+ <Single_Avail>Y</Single_Avail>
595
+ <Single_Ad_Max>1</Single_Ad_Max>
596
+ <Twin_Avail>Y</Twin_Avail>
597
+ <Twin_Ad_Max>2</Twin_Ad_Max>
598
+ <Double_Avail>Y</Double_Avail>
599
+ <Double_Ad_Max>2</Double_Ad_Max>
600
+ <Triple_Avail>Y</Triple_Avail>
601
+ <Triple_Ad_Max>3</Triple_Ad_Max>
602
+ <Quad_Avail>N</Quad_Avail>
603
+ <InfantsAllowed>Y</InfantsAllowed>
604
+ <Infant_From>0</Infant_From>
605
+ <Infant_To>3</Infant_To>
606
+ <ChildrenAllowed>Y</ChildrenAllowed>
607
+ <Child_From>4</Child_From>
608
+ <Child_To>12</Child_To>
609
+ <AdultsAllowed>Y</AdultsAllowed>
610
+ <Adult_From>13</Adult_From>
611
+ <Adult_To>99</Adult_To>
612
+ <ButtonName>Accommodation</ButtonName>
613
+ </OptGeneral>
614
+ <OptRates>
615
+ <Currency>GBP</Currency>
616
+ <OptRate>
617
+ <Date>2007-12-22</Date>
618
+ <RateName>Standard</RateName>
619
+ <RateText>Standard</RateText>
620
+ <RoomRates>
621
+ <SingleRate>12000</SingleRate>
622
+ <DoubleRate>14400</DoubleRate>
623
+ <TwinRate>14400</TwinRate>
624
+ <TripleRate>20400</TripleRate>
625
+ </RoomRates>
626
+ <ExtrasRates>
627
+ <ExtrasRate>
628
+ <SequenceNumber>1</SequenceNumber>
629
+ <AdultRate>500</AdultRate>
630
+ </ExtrasRate>
631
+ </ExtrasRates>
632
+ </OptRate>
633
+ </OptRates>
634
+ <OptDetailedAvails>
635
+ <OptDetailedAvail>
636
+ <UnitType>sg db tw tr qd ot </UnitType>
637
+ <OptAvail>-3 </OptAvail>
638
+ </OptDetailedAvail>
639
+ </OptDetailedAvails>
640
+ <OptEnquiryNotes></OptEnquiryNotes>
641
+ </Option>
642
+ <Option>
643
+ <Opt>LONACCUMLONSTDBCB</Opt>
644
+ <OptionNumber>1</OptionNumber>
645
+ <OptGeneral>
646
+ <SupplierId>1</SupplierId>
647
+ <SupplierName>Cumberland Hotel</SupplierName>
648
+ <Description>Bed &amp; Continental Breakfast</Description>
649
+ <Comment>Standard Room</Comment>
650
+ <Locality>PAD</Locality>
651
+ <LocalityDescription>Paddington</LocalityDescription>
652
+ <Class>4*</Class>
653
+ <ClassDescription>4 Star</ClassDescription>
654
+ <SType>Y</SType>
655
+ <SCU>Night</SCU>
656
+ <MinSCU>1</MinSCU>
657
+ <MaxSCU>99</MaxSCU>
658
+ <OptExtras>
659
+ <OptExtra>
660
+ <SequenceNumber>1</SequenceNumber>
661
+ <Description>Porterage</Description>
662
+ <IsPricePerPerson>Y</IsPricePerPerson>
663
+ </OptExtra>
664
+ </OptExtras>
665
+ <VoucherName>Cumberland Hotel</VoucherName>
666
+ <Address1>21 Fleet St</Address1>
667
+ <Address2>London</Address2>
668
+ <Address3></Address3>
669
+ <Address4></Address4>
670
+ <Address5></Address5>
671
+ <PostCode>W1 4TG</PostCode>
672
+ <Single_Avail>Y</Single_Avail>
673
+ <Single_Ad_Max>1</Single_Ad_Max>
674
+ <Twin_Avail>Y</Twin_Avail>
675
+ <Twin_Ad_Max>2</Twin_Ad_Max>
676
+ <Double_Avail>Y</Double_Avail>
677
+ <Double_Ad_Max>2</Double_Ad_Max>
678
+ <Triple_Avail>Y</Triple_Avail>
679
+ <Triple_Ad_Max>3</Triple_Ad_Max>
680
+ <Quad_Avail>N</Quad_Avail>
681
+ <InfantsAllowed>Y</InfantsAllowed>
682
+ <Infant_From>0</Infant_From>
683
+ <Infant_To>3</Infant_To>
684
+ <ChildrenAllowed>Y</ChildrenAllowed>
685
+ <Child_From>4</Child_From>
686
+ <Child_To>12</Child_To>
687
+ <AdultsAllowed>Y</AdultsAllowed>
688
+ <Adult_From>13</Adult_From>
689
+ <Adult_To>99</Adult_To>
690
+ <ButtonName>Accommodation</ButtonName>
691
+ </OptGeneral>
692
+ <OptRates>
693
+ <Currency>GBP</Currency>
694
+ <OptRate>
695
+ <Date>2007-12-22</Date>
696
+ <RateName>Standard</RateName>
697
+ <RateText>Standard</RateText>
698
+ <RoomRates>
699
+ <SingleRate>13200</SingleRate>
700
+ <DoubleRate>16800</DoubleRate>
701
+ <TwinRate>16800</TwinRate>
702
+ <TripleRate>24000</TripleRate>
703
+ </RoomRates>
704
+ <ExtrasRates>
705
+ <ExtrasRate>
706
+ <SequenceNumber>1</SequenceNumber>
707
+ <AdultRate>500</AdultRate>
708
+ </ExtrasRate>
709
+ </ExtrasRates>
710
+ </OptRate>
711
+ </OptRates>
712
+ <OptDetailedAvails>
713
+ <OptDetailedAvail>
714
+ <UnitType>sg db tw tr qd ot </UnitType>
715
+ <OptAvail>-3 </OptAvail>
716
+ </OptDetailedAvail>
717
+ </OptDetailedAvails>
718
+ <OptEnquiryNotes></OptEnquiryNotes>
719
+ </Option>
720
+ </OptionInfoReply>
721
+ </Reply>