Class: Schemas::Common_types::AddressType

Inherits:
Object
  • Object
show all
Defined in:
lib/bluevia/schemas/common_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.



23
24
25
26
27
28
29
30
31
# File 'lib/bluevia/schemas/common_types.rb', line 23

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.



20
21
22
# File 'lib/bluevia/schemas/common_types.rb', line 20

def country
  @country
end

#extObject

Returns the value of attribute ext.



21
22
23
# File 'lib/bluevia/schemas/common_types.rb', line 21

def ext
  @ext
end

#localityObject

Returns the value of attribute locality.



17
18
19
# File 'lib/bluevia/schemas/common_types.rb', line 17

def locality
  @locality
end

#postalCodeObject

Returns the value of attribute postalCode.



19
20
21
# File 'lib/bluevia/schemas/common_types.rb', line 19

def postalCode
  @postalCode
end

#regionObject

Returns the value of attribute region.



18
19
20
# File 'lib/bluevia/schemas/common_types.rb', line 18

def region
  @region
end

#streetObject

Returns the value of attribute street.



15
16
17
# File 'lib/bluevia/schemas/common_types.rb', line 15

def street
  @street
end

#streetNumberObject

Returns the value of attribute streetNumber.



16
17
18
# File 'lib/bluevia/schemas/common_types.rb', line 16

def streetNumber
  @streetNumber
end