Class: BookingstudioRuby::WebService::BookingRequest

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

Overview

/BookingRequest

languageId - SOAP::SOAPString
bookingOptions - BookingstudioRuby::WebService::ArrayOfBookingOption
customer - BookingstudioRuby::WebService::Customer
noteFromCustomer - SOAP::SOAPString
numberOfInfants - SOAP::SOAPInt
numberOfPets - SOAP::SOAPInt
affiliateId - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(languageId = nil, bookingOptions = nil, customer = nil, noteFromCustomer = nil, numberOfInfants = nil, numberOfPets = nil, affiliateId = nil) ⇒ BookingRequest

Returns a new instance of BookingRequest.



21
22
23
24
25
26
27
28
29
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 21

def initialize(languageId = nil, bookingOptions = nil, customer = nil, noteFromCustomer = nil, numberOfInfants = nil, numberOfPets = nil, affiliateId = nil)
  @languageId = languageId
  @bookingOptions = bookingOptions
  @customer = customer
  @noteFromCustomer = noteFromCustomer
  @numberOfInfants = numberOfInfants
  @numberOfPets = numberOfPets
  @affiliateId = affiliateId
end

Instance Attribute Details

#affiliateIdObject

Returns the value of attribute affiliateId.



19
20
21
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 19

def affiliateId
  @affiliateId
end

#bookingOptionsObject

Returns the value of attribute bookingOptions.



14
15
16
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 14

def bookingOptions
  @bookingOptions
end

#customerObject

Returns the value of attribute customer.



15
16
17
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 15

def customer
  @customer
end

#languageIdObject

Returns the value of attribute languageId.



13
14
15
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 13

def languageId
  @languageId
end

#noteFromCustomerObject

Returns the value of attribute noteFromCustomer.



16
17
18
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 16

def noteFromCustomer
  @noteFromCustomer
end

#numberOfInfantsObject

Returns the value of attribute numberOfInfants.



17
18
19
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 17

def numberOfInfants
  @numberOfInfants
end

#numberOfPetsObject

Returns the value of attribute numberOfPets.



18
19
20
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 18

def numberOfPets
  @numberOfPets
end