bookingstudio-ruby 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -1,49 +1,47 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bookingstudio-ruby}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andi Bade", "Dirk Breuer", "Dominik Ehret"]
12
- s.date = %q{2011-01-18}
12
+ s.date = %q{2011-04-05}
13
13
  s.description = %q{ruby interface to the Bookingstudio SOAP Interface}
14
14
  s.email = %q{andi@galaxycats.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.rdoc"
17
+ "README.rdoc"
18
18
  ]
19
19
  s.files = [
20
- ".gitignore",
21
- "LICENSE",
22
- "README.rdoc",
23
- "Rakefile",
24
- "VERSION",
25
- "bookingstudio-ruby.gemspec",
26
- "lib/bookingstudio-ruby.rb",
27
- "lib/bookingstudio_ruby.rb",
28
- "lib/bookingstudio_ruby/web_service.rb",
29
- "lib/bookingstudio_ruby/web_service/booking_service.rb",
30
- "lib/bookingstudio_ruby/web_service/booking_service_driver.rb",
31
- "lib/bookingstudio_ruby/web_service/booking_service_mapping_registry.rb",
32
- "lib/bookingstudio_ruby/web_service/search_service.rb",
33
- "lib/bookingstudio_ruby/web_service/search_service_driver.rb",
34
- "lib/bookingstudio_ruby/web_service/search_service_mapping_registry.rb"
20
+ "LICENSE",
21
+ "README.rdoc",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "bookingstudio-ruby.gemspec",
25
+ "lib/bookingstudio-ruby.rb",
26
+ "lib/bookingstudio_ruby.rb",
27
+ "lib/bookingstudio_ruby/web_service.rb",
28
+ "lib/bookingstudio_ruby/web_service/booking_service.rb",
29
+ "lib/bookingstudio_ruby/web_service/booking_service_driver.rb",
30
+ "lib/bookingstudio_ruby/web_service/booking_service_mapping_registry.rb",
31
+ "lib/bookingstudio_ruby/web_service/search_service.rb",
32
+ "lib/bookingstudio_ruby/web_service/search_service_driver.rb",
33
+ "lib/bookingstudio_ruby/web_service/search_service_mapping_registry.rb"
35
34
  ]
36
35
  s.homepage = %q{http://www.fejo.dk}
37
- s.rdoc_options = ["--charset=UTF-8"]
38
36
  s.require_paths = ["lib"]
39
- s.rubygems_version = %q{1.3.6}
37
+ s.rubygems_version = %q{1.3.7}
40
38
  s.summary = %q{ruby interface to the Bookingstudio SOAP Interface}
41
39
 
42
40
  if s.respond_to? :specification_version then
43
41
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
44
42
  s.specification_version = 3
45
43
 
46
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
44
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
45
  s.add_runtime_dependency(%q<soap4r>, [">= 0"])
48
46
  else
49
47
  s.add_dependency(%q<soap4r>, [">= 0"])
@@ -1,8 +1,6 @@
1
1
  require 'xsd/qname'
2
2
 
3
3
  module BookingstudioRuby::WebService
4
-
5
-
6
4
  # {http://bookingstudio.dk/public/datacontracts/2008/06/}BookingRequest
7
5
  # languageId - SOAP::SOAPString
8
6
  # bookingOptions - BookingstudioRuby::WebService::ArrayOfBookingOption
@@ -53,6 +51,9 @@ module BookingstudioRuby::WebService
53
51
  # discountName - SOAP::SOAPString
54
52
  # discountTags - BookingstudioRuby::WebService::ArrayOfstring
55
53
  # bookingVPathSalesChannel - SOAP::SOAPString
54
+ # mandatoryItems - BookingstudioRuby::WebService::ArrayOfMandatoryItem
55
+ # infants - SOAP::SOAPInt
56
+ # pets - SOAP::SOAPInt
56
57
  class BookingOption
57
58
  attr_accessor :lodgingUnitTypeId
58
59
  attr_accessor :arrivalDate
@@ -71,8 +72,11 @@ module BookingstudioRuby::WebService
71
72
  attr_accessor :discountName
72
73
  attr_accessor :discountTags
73
74
  attr_accessor :bookingVPathSalesChannel
75
+ attr_accessor :mandatoryItems
76
+ attr_accessor :infants
77
+ attr_accessor :pets
74
78
 
75
- def initialize(lodgingUnitTypeId = nil, arrivalDate = nil, departureDate = nil, boardTypeId = nil, children = nil, adults = nil, changeDay = nil, normalPrice = nil, price = nil, currencyId = nil, hasDicount = nil, bookingVPath = nil, itemBasket = nil, discountInternalName = nil, discountName = nil, discountTags = nil, bookingVPathSalesChannel = nil)
79
+ def initialize(lodgingUnitTypeId = nil, arrivalDate = nil, departureDate = nil, boardTypeId = nil, children = nil, adults = nil, changeDay = nil, normalPrice = nil, price = nil, currencyId = nil, hasDicount = nil, bookingVPath = nil, itemBasket = nil, discountInternalName = nil, discountName = nil, discountTags = nil, bookingVPathSalesChannel = nil, mandatoryItems = nil, infants = nil, pets = nil)
76
80
  @lodgingUnitTypeId = lodgingUnitTypeId
77
81
  @arrivalDate = arrivalDate
78
82
  @departureDate = departureDate
@@ -90,6 +94,9 @@ module BookingstudioRuby::WebService
90
94
  @discountName = discountName
91
95
  @discountTags = discountTags
92
96
  @bookingVPathSalesChannel = bookingVPathSalesChannel
97
+ @mandatoryItems = mandatoryItems
98
+ @infants = infants
99
+ @pets = pets
93
100
  end
94
101
  end
95
102
 
@@ -194,6 +201,26 @@ module BookingstudioRuby::WebService
194
201
  end
195
202
  end
196
203
 
204
+ # {http://bookingstudio.dk/public/datacontracts/2008/06/}ArrayOfMandatoryItem
205
+ class ArrayOfMandatoryItem < ::Array
206
+ end
207
+
208
+ # {http://bookingstudio.dk/public/datacontracts/2008/06/}MandatoryItem
209
+ # id - SOAP::SOAPInt
210
+ # name - SOAP::SOAPString
211
+ # price - SOAP::SOAPDecimal
212
+ class MandatoryItem
213
+ attr_accessor :id
214
+ attr_accessor :name
215
+ attr_accessor :price
216
+
217
+ def initialize(id = nil, name = nil, price = nil)
218
+ @id = id
219
+ @name = name
220
+ @price = price
221
+ end
222
+ end
223
+
197
224
  # {http://bookingstudio.dk/public/datacontracts/2008/06/}Customer
198
225
  # firstName - SOAP::SOAPString
199
226
  # lastName - SOAP::SOAPString
@@ -248,6 +275,16 @@ module BookingstudioRuby::WebService
248
275
  class ArrayOfstring < ::Array
249
276
  end
250
277
 
278
+ # {http://schemas.datacontract.org/2004/07/BookingStudio.Public}ItemTypes
279
+ class ItemTypes < ::String
280
+ Cleaning = ItemTypes.new("Cleaning")
281
+ Consumption = ItemTypes.new("Consumption")
282
+ Deposit = ItemTypes.new("Deposit")
283
+ Insurance = ItemTypes.new("Insurance")
284
+ Standard = ItemTypes.new("Standard")
285
+ Transportation = ItemTypes.new("Transportation")
286
+ end
287
+
251
288
  # {http://schemas.datacontract.org/2004/07/BookingStudio.Public}TripArea
252
289
  class TripArea < ::String
253
290
  Europe = TripArea.new("Europe")
@@ -348,5 +385,4 @@ module BookingstudioRuby::WebService
348
385
  end
349
386
  end
350
387
 
351
-
352
388
  end
@@ -53,7 +53,10 @@ module BookingstudioRuby::WebService
53
53
  ["discountInternalName", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "DiscountInternalName")]],
54
54
  ["discountName", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "DiscountName")]],
55
55
  ["discountTags", ["BookingstudioRuby::WebService::ArrayOfstring", XSD::QName.new(NsC_06, "DiscountTags")]],
56
- ["bookingVPathSalesChannel", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "BookingVPathSalesChannel")], [0, 1]]
56
+ ["bookingVPathSalesChannel", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "BookingVPathSalesChannel")], [0, 1]],
57
+ ["mandatoryItems", ["BookingstudioRuby::WebService::ArrayOfMandatoryItem", XSD::QName.new(NsC_06, "MandatoryItems")], [0, 1]],
58
+ ["infants", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Infants")], [0, 1]],
59
+ ["pets", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Pets")], [0, 1]]
57
60
  ]
58
61
  )
59
62
 
@@ -118,6 +121,24 @@ module BookingstudioRuby::WebService
118
121
  ]
119
122
  )
120
123
 
124
+ EncodedRegistry.register(
125
+ :class => BookingstudioRuby::WebService::ArrayOfMandatoryItem,
126
+ :schema_type => XSD::QName.new(NsC_06, "ArrayOfMandatoryItem"),
127
+ :schema_element => [
128
+ ["mandatoryItem", ["BookingstudioRuby::WebService::MandatoryItem[]", XSD::QName.new(NsC_06, "MandatoryItem")], [0, nil]]
129
+ ]
130
+ )
131
+
132
+ EncodedRegistry.register(
133
+ :class => BookingstudioRuby::WebService::MandatoryItem,
134
+ :schema_type => XSD::QName.new(NsC_06, "MandatoryItem"),
135
+ :schema_element => [
136
+ ["id", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Id")]],
137
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "Name")]],
138
+ ["price", ["SOAP::SOAPDecimal", XSD::QName.new(NsC_06, "Price")]]
139
+ ]
140
+ )
141
+
121
142
  EncodedRegistry.register(
122
143
  :class => BookingstudioRuby::WebService::Customer,
123
144
  :schema_type => XSD::QName.new(NsC_06, "Customer"),
@@ -204,7 +225,10 @@ module BookingstudioRuby::WebService
204
225
  ["discountInternalName", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "DiscountInternalName")]],
205
226
  ["discountName", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "DiscountName")]],
206
227
  ["discountTags", ["BookingstudioRuby::WebService::ArrayOfstring", XSD::QName.new(NsC_06, "DiscountTags")]],
207
- ["bookingVPathSalesChannel", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "BookingVPathSalesChannel")], [0, 1]]
228
+ ["bookingVPathSalesChannel", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "BookingVPathSalesChannel")], [0, 1]],
229
+ ["mandatoryItems", ["BookingstudioRuby::WebService::ArrayOfMandatoryItem", XSD::QName.new(NsC_06, "MandatoryItems")], [0, 1]],
230
+ ["infants", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Infants")], [0, 1]],
231
+ ["pets", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Pets")], [0, 1]]
208
232
  ]
209
233
  )
210
234
 
@@ -269,6 +293,24 @@ module BookingstudioRuby::WebService
269
293
  ]
270
294
  )
271
295
 
296
+ LiteralRegistry.register(
297
+ :class => BookingstudioRuby::WebService::ArrayOfMandatoryItem,
298
+ :schema_type => XSD::QName.new(NsC_06, "ArrayOfMandatoryItem"),
299
+ :schema_element => [
300
+ ["mandatoryItem", ["BookingstudioRuby::WebService::MandatoryItem[]", XSD::QName.new(NsC_06, "MandatoryItem")], [0, nil]]
301
+ ]
302
+ )
303
+
304
+ LiteralRegistry.register(
305
+ :class => BookingstudioRuby::WebService::MandatoryItem,
306
+ :schema_type => XSD::QName.new(NsC_06, "MandatoryItem"),
307
+ :schema_element => [
308
+ ["id", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Id")]],
309
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "Name")]],
310
+ ["price", ["SOAP::SOAPDecimal", XSD::QName.new(NsC_06, "Price")]]
311
+ ]
312
+ )
313
+
272
314
  LiteralRegistry.register(
273
315
  :class => BookingstudioRuby::WebService::Customer,
274
316
  :schema_type => XSD::QName.new(NsC_06, "Customer"),
@@ -423,7 +465,10 @@ module BookingstudioRuby::WebService
423
465
  ["discountInternalName", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "DiscountInternalName")]],
424
466
  ["discountName", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "DiscountName")]],
425
467
  ["discountTags", ["BookingstudioRuby::WebService::ArrayOfstring", XSD::QName.new(NsC_06, "DiscountTags")]],
426
- ["bookingVPathSalesChannel", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "BookingVPathSalesChannel")], [0, 1]]
468
+ ["bookingVPathSalesChannel", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "BookingVPathSalesChannel")], [0, 1]],
469
+ ["mandatoryItems", ["BookingstudioRuby::WebService::ArrayOfMandatoryItem", XSD::QName.new(NsC_06, "MandatoryItems")], [0, 1]],
470
+ ["infants", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Infants")], [0, 1]],
471
+ ["pets", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Pets")], [0, 1]]
427
472
  ]
428
473
  )
429
474
 
@@ -488,6 +533,24 @@ module BookingstudioRuby::WebService
488
533
  ]
489
534
  )
490
535
 
536
+ LiteralRegistry.register(
537
+ :class => BookingstudioRuby::WebService::ArrayOfMandatoryItem,
538
+ :schema_name => XSD::QName.new(NsC_06, "ArrayOfMandatoryItem"),
539
+ :schema_element => [
540
+ ["mandatoryItem", ["BookingstudioRuby::WebService::MandatoryItem[]", XSD::QName.new(NsC_06, "MandatoryItem")], [0, nil]]
541
+ ]
542
+ )
543
+
544
+ LiteralRegistry.register(
545
+ :class => BookingstudioRuby::WebService::MandatoryItem,
546
+ :schema_name => XSD::QName.new(NsC_06, "MandatoryItem"),
547
+ :schema_element => [
548
+ ["id", ["SOAP::SOAPInt", XSD::QName.new(NsC_06, "Id")]],
549
+ ["name", ["SOAP::SOAPString", XSD::QName.new(NsC_06, "Name")]],
550
+ ["price", ["SOAP::SOAPDecimal", XSD::QName.new(NsC_06, "Price")]]
551
+ ]
552
+ )
553
+
491
554
  LiteralRegistry.register(
492
555
  :class => BookingstudioRuby::WebService::Customer,
493
556
  :schema_name => XSD::QName.new(NsC_06, "Customer"),
@@ -213,6 +213,8 @@ module BookingstudioRuby::WebService
213
213
  # minimumRank - SOAP::SOAPInt
214
214
  # minimumPrice - SOAP::SOAPDecimal
215
215
  # maximumPrice - SOAP::SOAPDecimal
216
+ # pets - SOAP::SOAPInt
217
+ # infants - SOAP::SOAPInt
216
218
  class BookingQuery < Query
217
219
  attr_accessor :languageId
218
220
  attr_accessor :lodgingUnitTypeId
@@ -231,8 +233,10 @@ module BookingstudioRuby::WebService
231
233
  attr_accessor :minimumRank
232
234
  attr_accessor :minimumPrice
233
235
  attr_accessor :maximumPrice
236
+ attr_accessor :pets
237
+ attr_accessor :infants
234
238
 
235
- def initialize(languageId = nil, lodgingUnitTypeId = nil, locationId = nil, adults = nil, children = nil, boardTypeId = nil, facilityFilters = nil, lodgingId = nil, duration = nil, durations = nil, arrivalDate = nil, minimumArrivalDate = nil, maximumArrivalDate = nil, currencyId = nil, minimumRank = nil, minimumPrice = nil, maximumPrice = nil)
239
+ def initialize(languageId = nil, lodgingUnitTypeId = nil, locationId = nil, adults = nil, children = nil, boardTypeId = nil, facilityFilters = nil, lodgingId = nil, duration = nil, durations = nil, arrivalDate = nil, minimumArrivalDate = nil, maximumArrivalDate = nil, currencyId = nil, minimumRank = nil, minimumPrice = nil, maximumPrice = nil, pets = nil, infants = nil)
236
240
  @languageId = languageId
237
241
  @lodgingUnitTypeId = lodgingUnitTypeId
238
242
  @locationId = locationId
@@ -250,6 +254,8 @@ module BookingstudioRuby::WebService
250
254
  @minimumRank = minimumRank
251
255
  @minimumPrice = minimumPrice
252
256
  @maximumPrice = maximumPrice
257
+ @pets = pets
258
+ @infants = infants
253
259
  end
254
260
  end
255
261
 
@@ -301,6 +307,9 @@ module BookingstudioRuby::WebService
301
307
  # mapServiceUrl - SOAP::SOAPString
302
308
  # embeddedVideo - SOAP::SOAPString
303
309
  # translations - BookingstudioRuby::WebService::ArrayOfLodgingTranslation
310
+ # internalName - SOAP::SOAPString
311
+ # latitude - SOAP::SOAPDouble
312
+ # longitude - SOAP::SOAPDouble
304
313
  class Lodging
305
314
  attr_accessor :id
306
315
  attr_accessor :clientId
@@ -325,8 +334,11 @@ module BookingstudioRuby::WebService
325
334
  attr_accessor :mapServiceUrl
326
335
  attr_accessor :embeddedVideo
327
336
  attr_accessor :translations
337
+ attr_accessor :internalName
338
+ attr_accessor :latitude
339
+ attr_accessor :longitude
328
340
 
329
- def initialize(id = nil, clientId = nil, lodgingTypeId = nil, locationId = nil, name = nil, sortIndex = nil, address1 = nil, address2 = nil, postalCode = nil, city = nil, country = nil, primaryPhone = nil, primaryFax = nil, websiteUrl = nil, email = nil, rating = nil, images = nil, facilityValues = nil, shortDescription = nil, longDescription = nil, mapServiceUrl = nil, embeddedVideo = nil, translations = nil)
341
+ def initialize(id = nil, clientId = nil, lodgingTypeId = nil, locationId = nil, name = nil, sortIndex = nil, address1 = nil, address2 = nil, postalCode = nil, city = nil, country = nil, primaryPhone = nil, primaryFax = nil, websiteUrl = nil, email = nil, rating = nil, images = nil, facilityValues = nil, shortDescription = nil, longDescription = nil, mapServiceUrl = nil, embeddedVideo = nil, translations = nil, internalName = nil, latitude = nil, longitude = nil)
330
342
  @id = id
331
343
  @clientId = clientId
332
344
  @lodgingTypeId = lodgingTypeId
@@ -350,6 +362,9 @@ module BookingstudioRuby::WebService
350
362
  @mapServiceUrl = mapServiceUrl
351
363
  @embeddedVideo = embeddedVideo
352
364
  @translations = translations
365
+ @internalName = internalName
366
+ @latitude = latitude
367
+ @longitude = longitude
353
368
  end
354
369
  end
355
370
 
@@ -475,6 +490,9 @@ module BookingstudioRuby::WebService
475
490
  # discountName - SOAP::SOAPString
476
491
  # discountTags - BookingstudioRuby::WebService::ArrayOfstring
477
492
  # bookingVPathSalesChannel - SOAP::SOAPString
493
+ # mandatoryItems - BookingstudioRuby::WebService::ArrayOfMandatoryItem
494
+ # infants - SOAP::SOAPInt
495
+ # pets - SOAP::SOAPInt
478
496
  class BookingOption
479
497
  attr_accessor :lodgingUnitTypeId
480
498
  attr_accessor :arrivalDate
@@ -493,8 +511,11 @@ module BookingstudioRuby::WebService
493
511
  attr_accessor :discountName
494
512
  attr_accessor :discountTags
495
513
  attr_accessor :bookingVPathSalesChannel
514
+ attr_accessor :mandatoryItems
515
+ attr_accessor :infants
516
+ attr_accessor :pets
496
517
 
497
- def initialize(lodgingUnitTypeId = nil, arrivalDate = nil, departureDate = nil, boardTypeId = nil, children = nil, adults = nil, changeDay = nil, normalPrice = nil, price = nil, currencyId = nil, hasDicount = nil, bookingVPath = nil, itemBasket = nil, discountInternalName = nil, discountName = nil, discountTags = nil, bookingVPathSalesChannel = nil)
518
+ def initialize(lodgingUnitTypeId = nil, arrivalDate = nil, departureDate = nil, boardTypeId = nil, children = nil, adults = nil, changeDay = nil, normalPrice = nil, price = nil, currencyId = nil, hasDicount = nil, bookingVPath = nil, itemBasket = nil, discountInternalName = nil, discountName = nil, discountTags = nil, bookingVPathSalesChannel = nil, mandatoryItems = nil, infants = nil, pets = nil)
498
519
  @lodgingUnitTypeId = lodgingUnitTypeId
499
520
  @arrivalDate = arrivalDate
500
521
  @departureDate = departureDate
@@ -512,6 +533,9 @@ module BookingstudioRuby::WebService
512
533
  @discountName = discountName
513
534
  @discountTags = discountTags
514
535
  @bookingVPathSalesChannel = bookingVPathSalesChannel
536
+ @mandatoryItems = mandatoryItems
537
+ @infants = infants
538
+ @pets = pets
515
539
  end
516
540
  end
517
541
 
@@ -532,6 +556,9 @@ module BookingstudioRuby::WebService
532
556
  # shortDescription - SOAP::SOAPString
533
557
  # longDescription - SOAP::SOAPString
534
558
  # quantity - SOAP::SOAPInt
559
+ # isExternalItem - SOAP::SOAPBoolean
560
+ # externalProviderId - SOAP::SOAPString
561
+ # europaeiskeDetails - BookingstudioRuby::WebService::EuropaeiskeDetails
535
562
  class Item
536
563
  attr_accessor :id
537
564
  attr_accessor :itemNumber
@@ -545,8 +572,11 @@ module BookingstudioRuby::WebService
545
572
  attr_accessor :shortDescription
546
573
  attr_accessor :longDescription
547
574
  attr_accessor :quantity
575
+ attr_accessor :isExternalItem
576
+ attr_accessor :externalProviderId
577
+ attr_accessor :europaeiskeDetails
548
578
 
549
- def initialize(id = nil, itemNumber = nil, unitPrice = nil, currencyId = nil, showPrice = nil, minQuantity = nil, maxQuantity = nil, type = nil, name = nil, shortDescription = nil, longDescription = nil, quantity = nil)
579
+ def initialize(id = nil, itemNumber = nil, unitPrice = nil, currencyId = nil, showPrice = nil, minQuantity = nil, maxQuantity = nil, type = nil, name = nil, shortDescription = nil, longDescription = nil, quantity = nil, isExternalItem = nil, externalProviderId = nil, europaeiskeDetails = nil)
550
580
  @id = id
551
581
  @itemNumber = itemNumber
552
582
  @unitPrice = unitPrice
@@ -559,6 +589,74 @@ module BookingstudioRuby::WebService
559
589
  @shortDescription = shortDescription
560
590
  @longDescription = longDescription
561
591
  @quantity = quantity
592
+ @isExternalItem = isExternalItem
593
+ @externalProviderId = externalProviderId
594
+ @europaeiskeDetails = europaeiskeDetails
595
+ end
596
+ end
597
+
598
+ # {http://bookingstudio.dk/public/datacontracts/2008/06/}EuropaeiskeDetails
599
+ # tripStartDate - SOAP::SOAPDateTime
600
+ # tripEndDate - SOAP::SOAPDateTime
601
+ # tripArea - BookingstudioRuby::WebService::TripArea
602
+ # tripValue - SOAP::SOAPDecimal
603
+ # currencyId - SOAP::SOAPString
604
+ # persons - BookingstudioRuby::WebService::ArrayOfEuropaeiskePerson
605
+ class EuropaeiskeDetails
606
+ attr_accessor :tripStartDate
607
+ attr_accessor :tripEndDate
608
+ attr_accessor :tripArea
609
+ attr_accessor :tripValue
610
+ attr_accessor :currencyId
611
+ attr_accessor :persons
612
+
613
+ def initialize(tripStartDate = nil, tripEndDate = nil, tripArea = nil, tripValue = nil, currencyId = nil, persons = nil)
614
+ @tripStartDate = tripStartDate
615
+ @tripEndDate = tripEndDate
616
+ @tripArea = tripArea
617
+ @tripValue = tripValue
618
+ @currencyId = currencyId
619
+ @persons = persons
620
+ end
621
+ end
622
+
623
+ # {http://bookingstudio.dk/public/datacontracts/2008/06/}ArrayOfEuropaeiskePerson
624
+ class ArrayOfEuropaeiskePerson < ::Array
625
+ end
626
+
627
+ # {http://bookingstudio.dk/public/datacontracts/2008/06/}EuropaeiskePerson
628
+ # firstName - SOAP::SOAPString
629
+ # lastName - SOAP::SOAPString
630
+ # age - SOAP::SOAPInt
631
+ class EuropaeiskePerson
632
+ attr_accessor :firstName
633
+ attr_accessor :lastName
634
+ attr_accessor :age
635
+
636
+ def initialize(firstName = nil, lastName = nil, age = nil)
637
+ @firstName = firstName
638
+ @lastName = lastName
639
+ @age = age
640
+ end
641
+ end
642
+
643
+ # {http://bookingstudio.dk/public/datacontracts/2008/06/}ArrayOfMandatoryItem
644
+ class ArrayOfMandatoryItem < ::Array
645
+ end
646
+
647
+ # {http://bookingstudio.dk/public/datacontracts/2008/06/}MandatoryItem
648
+ # id - SOAP::SOAPInt
649
+ # name - SOAP::SOAPString
650
+ # price - SOAP::SOAPDecimal
651
+ class MandatoryItem
652
+ attr_accessor :id
653
+ attr_accessor :name
654
+ attr_accessor :price
655
+
656
+ def initialize(id = nil, name = nil, price = nil)
657
+ @id = id
658
+ @name = name
659
+ @price = price
562
660
  end
563
661
  end
564
662
 
@@ -641,6 +739,24 @@ module BookingstudioRuby::WebService
641
739
  NotEqual = FacilityFilterCompareOperator.new("NotEqual")
642
740
  end
643
741
 
742
+ # {http://schemas.datacontract.org/2004/07/BookingStudio.Public}ItemTypes
743
+ class ItemTypes < ::String
744
+ Cleaning = ItemTypes.new("Cleaning")
745
+ Consumption = ItemTypes.new("Consumption")
746
+ Deposit = ItemTypes.new("Deposit")
747
+ Insurance = ItemTypes.new("Insurance")
748
+ Standard = ItemTypes.new("Standard")
749
+ Transportation = ItemTypes.new("Transportation")
750
+ end
751
+
752
+ # {http://schemas.datacontract.org/2004/07/BookingStudio.Public}TripArea
753
+ class TripArea < ::String
754
+ Europe = TripArea.new("Europe")
755
+ EuropeExtended = TripArea.new("EuropeExtended")
756
+ Scandinavia = TripArea.new("Scandinavia")
757
+ World = TripArea.new("World")
758
+ end
759
+
644
760
  # {http://bookingstudio.dk/public/servicecontracts/2008/06/}ListLanguages
645
761
  # token - (any)
646
762
  class ListLanguages