Class: AddressType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsAddressType

Constant Summary collapse

@@schema_type =
"AddressType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
["street", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Street")]],
["street1", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Street1")]],
["street2", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Street2")]],
["cityName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CityName")]],
["stateOrProvince", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "StateOrProvince")]],
["country", ["CountryCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Country")]],
["countryName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CountryName")]],
["phone", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Phone")]],
["postalCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PostalCode")]],
["addressID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AddressID")]],
["addressOwner", ["AddressOwnerCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AddressOwner")]],
["addressStatus", ["AddressStatusCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AddressStatus")]],
["externalAddressID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExternalAddressID")]],
["internationalName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InternationalName")]],
["internationalStateAndCity", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InternationalStateAndCity")]],
["internationalStreet", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InternationalStreet")]],
["companyName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CompanyName")]],
["addressRecordType", ["AddressRecordTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AddressRecordType")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, street = nil, street1 = nil, street2 = nil, cityName = nil, stateOrProvince = nil, country = nil, countryName = nil, phone = nil, postalCode = nil, addressID = nil, addressOwner = nil, addressStatus = nil, externalAddressID = nil, internationalName = nil, internationalStateAndCity = nil, internationalStreet = nil, companyName = nil, addressRecordType = nil) ⇒ AddressType

Returns a new instance of AddressType.



12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
# File 'lib/eBay.rb', line 12005

def initialize(name = nil, street = nil, street1 = nil, street2 = nil, cityName = nil, stateOrProvince = nil, country = nil, countryName = nil, phone = nil, postalCode = nil, addressID = nil, addressOwner = nil, addressStatus = nil, externalAddressID = nil, internationalName = nil, internationalStateAndCity = nil, internationalStreet = nil, companyName = nil, addressRecordType = nil)
  @name = name
  @street = street
  @street1 = street1
  @street2 = street2
  @cityName = cityName
  @stateOrProvince = stateOrProvince
  @country = country
  @countryName = countryName
  @phone = phone
  @postalCode = postalCode
  @addressID = addressID
  @addressOwner = addressOwner
  @addressStatus = addressStatus
  @externalAddressID = externalAddressID
  @internationalName = internationalName
  @internationalStateAndCity = internationalStateAndCity
  @internationalStreet = internationalStreet
  @companyName = companyName
  @addressRecordType = addressRecordType
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



11999
12000
12001
# File 'lib/eBay.rb', line 11999

def __xmlele_any
  @__xmlele_any
end

#addressIDObject

Returns the value of attribute addressID.



11990
11991
11992
# File 'lib/eBay.rb', line 11990

def addressID
  @addressID
end

#addressOwnerObject

Returns the value of attribute addressOwner.



11991
11992
11993
# File 'lib/eBay.rb', line 11991

def addressOwner
  @addressOwner
end

#addressRecordTypeObject

Returns the value of attribute addressRecordType.



11998
11999
12000
# File 'lib/eBay.rb', line 11998

def addressRecordType
  @addressRecordType
end

#addressStatusObject

Returns the value of attribute addressStatus.



11992
11993
11994
# File 'lib/eBay.rb', line 11992

def addressStatus
  @addressStatus
end

#cityNameObject

Returns the value of attribute cityName.



11984
11985
11986
# File 'lib/eBay.rb', line 11984

def cityName
  @cityName
end

#companyNameObject

Returns the value of attribute companyName.



11997
11998
11999
# File 'lib/eBay.rb', line 11997

def companyName
  @companyName
end

#countryObject

Returns the value of attribute country.



11986
11987
11988
# File 'lib/eBay.rb', line 11986

def country
  @country
end

#countryNameObject

Returns the value of attribute countryName.



11987
11988
11989
# File 'lib/eBay.rb', line 11987

def countryName
  @countryName
end

#externalAddressIDObject

Returns the value of attribute externalAddressID.



11993
11994
11995
# File 'lib/eBay.rb', line 11993

def externalAddressID
  @externalAddressID
end

#internationalNameObject

Returns the value of attribute internationalName.



11994
11995
11996
# File 'lib/eBay.rb', line 11994

def internationalName
  @internationalName
end

#internationalStateAndCityObject

Returns the value of attribute internationalStateAndCity.



11995
11996
11997
# File 'lib/eBay.rb', line 11995

def internationalStateAndCity
  @internationalStateAndCity
end

#internationalStreetObject

Returns the value of attribute internationalStreet.



11996
11997
11998
# File 'lib/eBay.rb', line 11996

def internationalStreet
  @internationalStreet
end

#nameObject

Returns the value of attribute name.



11980
11981
11982
# File 'lib/eBay.rb', line 11980

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



11988
11989
11990
# File 'lib/eBay.rb', line 11988

def phone
  @phone
end

#postalCodeObject

Returns the value of attribute postalCode.



11989
11990
11991
# File 'lib/eBay.rb', line 11989

def postalCode
  @postalCode
end

#stateOrProvinceObject

Returns the value of attribute stateOrProvince.



11985
11986
11987
# File 'lib/eBay.rb', line 11985

def stateOrProvince
  @stateOrProvince
end

#streetObject

Returns the value of attribute street.



11981
11982
11983
# File 'lib/eBay.rb', line 11981

def street
  @street
end

#street1Object

Returns the value of attribute street1.



11982
11983
11984
# File 'lib/eBay.rb', line 11982

def street1
  @street1
end

#street2Object

Returns the value of attribute street2.



11983
11984
11985
# File 'lib/eBay.rb', line 11983

def street2
  @street2
end

Instance Method Details

#set_any(elements) ⇒ Object



12001
12002
12003
# File 'lib/eBay.rb', line 12001

def set_any(elements)
  @__xmlele_any = elements
end