Class: BookingstudioRuby::WebService::Customer

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

Overview

/Customer

firstName - SOAP::SOAPString
lastName - SOAP::SOAPString
address - SOAP::SOAPString
postalCode - SOAP::SOAPString
city - SOAP::SOAPString
country - SOAP::SOAPString
workPhone - SOAP::SOAPString
privatePhone - SOAP::SOAPString
privateMobile - SOAP::SOAPString
email - SOAP::SOAPString
subscribeCatalog - SOAP::SOAPBoolean

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(firstName = nil, lastName = nil, address = nil, postalCode = nil, city = nil, country = nil, workPhone = nil, privatePhone = nil, privateMobile = nil, email = nil, subscribeCatalog = nil) ⇒ Customer

Returns a new instance of Customer.



249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 249

def initialize(firstName = nil, lastName = nil, address = nil, postalCode = nil, city = nil, country = nil, workPhone = nil, privatePhone = nil, privateMobile = nil, email = nil, subscribeCatalog = nil)
  @firstName = firstName
  @lastName = lastName
  @address = address
  @postalCode = postalCode
  @city = city
  @country = country
  @workPhone = workPhone
  @privatePhone = privatePhone
  @privateMobile = privateMobile
  @email = email
  @subscribeCatalog = subscribeCatalog
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.



239
240
241
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 239

def address
  @address
end

#cityObject

Returns the value of attribute city.



241
242
243
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 241

def city
  @city
end

#countryObject

Returns the value of attribute country.



242
243
244
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 242

def country
  @country
end

#emailObject

Returns the value of attribute email.



246
247
248
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 246

def email
  @email
end

#firstNameObject

Returns the value of attribute firstName.



237
238
239
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 237

def firstName
  @firstName
end

#lastNameObject

Returns the value of attribute lastName.



238
239
240
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 238

def lastName
  @lastName
end

#postalCodeObject

Returns the value of attribute postalCode.



240
241
242
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 240

def postalCode
  @postalCode
end

#privateMobileObject

Returns the value of attribute privateMobile.



245
246
247
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 245

def privateMobile
  @privateMobile
end

#privatePhoneObject

Returns the value of attribute privatePhone.



244
245
246
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 244

def privatePhone
  @privatePhone
end

#subscribeCatalogObject

Returns the value of attribute subscribeCatalog.



247
248
249
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 247

def subscribeCatalog
  @subscribeCatalog
end

#workPhoneObject

Returns the value of attribute workPhone.



243
244
245
# File 'lib/bookingstudio_ruby/web_service/booking_service.rb', line 243

def workPhone
  @workPhone
end