Class: Schemas::Directory_types::AddressType

Inherits:
Object
  • Object
show all
Defined in:
lib/bluevia/schemas/directory_types.rb

Overview

http://www.telefonica.com/schemas/UNICA/REST/common/v1AddressType

street - SOAP::SOAPString
streetNumber - SOAP::SOAPUnsignedInt
locality - SOAP::SOAPString
region - SOAP::SOAPString
postalCode - SOAP::SOAPUnsignedInt
country - SOAP::SOAPString
ext - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(street = nil, streetNumber = nil, locality = nil, region = nil, postalCode = nil, country = nil, ext = nil) ⇒ AddressType

Returns a new instance of AddressType.



336
337
338
339
340
341
342
343
344
# File 'lib/bluevia/schemas/directory_types.rb', line 336

def initialize(street = nil, streetNumber = nil, locality = nil, region = nil, postalCode = nil, country = nil, ext = nil)
  @street = street
  @streetNumber = streetNumber
  @locality = locality
  @region = region
  @postalCode = postalCode
  @country = country
  @ext = ext
end

Instance Attribute Details

#countryObject

Returns the value of attribute country.



333
334
335
# File 'lib/bluevia/schemas/directory_types.rb', line 333

def country
  @country
end

#extObject

Returns the value of attribute ext.



334
335
336
# File 'lib/bluevia/schemas/directory_types.rb', line 334

def ext
  @ext
end

#localityObject

Returns the value of attribute locality.



330
331
332
# File 'lib/bluevia/schemas/directory_types.rb', line 330

def locality
  @locality
end

#postalCodeObject

Returns the value of attribute postalCode.



332
333
334
# File 'lib/bluevia/schemas/directory_types.rb', line 332

def postalCode
  @postalCode
end

#regionObject

Returns the value of attribute region.



331
332
333
# File 'lib/bluevia/schemas/directory_types.rb', line 331

def region
  @region
end

#streetObject

Returns the value of attribute street.



328
329
330
# File 'lib/bluevia/schemas/directory_types.rb', line 328

def street
  @street
end

#streetNumberObject

Returns the value of attribute streetNumber.



329
330
331
# File 'lib/bluevia/schemas/directory_types.rb', line 329

def streetNumber
  @streetNumber
end