Class: BookingstudioRuby::WebService::FreeAllotment

Inherits:
Object
  • Object
show all
Defined in:
lib/bookingstudio_ruby/web_service/search_service.rb

Overview

http://schemas.datacontract.org/2004/07/BookingStudio.PublicFreeAllotment

count - SOAP::SOAPInt
date - SOAP::SOAPDateTime
lodgingUnitTypeId - (any)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(count = nil, date = nil, lodgingUnitTypeId = nil) ⇒ FreeAllotment

Returns a new instance of FreeAllotment.



707
708
709
710
711
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 707

def initialize(count = nil, date = nil, lodgingUnitTypeId = nil)
  @count = count
  @date = date
  @lodgingUnitTypeId = lodgingUnitTypeId
end

Instance Attribute Details

#countObject

Returns the value of attribute count.



703
704
705
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 703

def count
  @count
end

#dateObject

Returns the value of attribute date.



704
705
706
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 704

def date
  @date
end

#lodgingUnitTypeIdObject

Returns the value of attribute lodgingUnitTypeId.



705
706
707
# File 'lib/bookingstudio_ruby/web_service/search_service.rb', line 705

def lodgingUnitTypeId
  @lodgingUnitTypeId
end