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")]],
  ["county", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "County")]],
  ["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")]],
  ["phoneCountryCode", ["CountryCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PhoneCountryCode")]],
  ["phoneCountryPrefix", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PhoneCountryPrefix")]],
  ["phoneAreaOrCityCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PhoneAreaOrCityCode")]],
  ["phoneLocalNumber", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PhoneLocalNumber")]],
  ["phone2CountryCode", ["CountryCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Phone2CountryCode")]],
  ["phone2CountryPrefix", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Phone2CountryPrefix")]],
  ["phone2AreaOrCityCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Phone2AreaOrCityCode")]],
  ["phone2LocalNumber", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Phone2LocalNumber")]],
  ["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, county = nil, stateOrProvince = nil, country = nil, countryName = nil, phone = nil, phoneCountryCode = nil, phoneCountryPrefix = nil, phoneAreaOrCityCode = nil, phoneLocalNumber = nil, phone2CountryCode = nil, phone2CountryPrefix = nil, phone2AreaOrCityCode = nil, phone2LocalNumber = 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.



15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
# File 'lib/eBay.rb', line 15070

def initialize(name = nil, street = nil, street1 = nil, street2 = nil, cityName = nil, county = nil, stateOrProvince = nil, country = nil, countryName = nil, phone = nil, phoneCountryCode = nil, phoneCountryPrefix = nil, phoneAreaOrCityCode = nil, phoneLocalNumber = nil, phone2CountryCode = nil, phone2CountryPrefix = nil, phone2AreaOrCityCode = nil, phone2LocalNumber = 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
  @county = county
  @stateOrProvince = stateOrProvince
  @country = country
  @countryName = countryName
  @phone = phone
  @phoneCountryCode = phoneCountryCode
  @phoneCountryPrefix = phoneCountryPrefix
  @phoneAreaOrCityCode = phoneAreaOrCityCode
  @phoneLocalNumber = phoneLocalNumber
  @phone2CountryCode = phone2CountryCode
  @phone2CountryPrefix = phone2CountryPrefix
  @phone2AreaOrCityCode = phone2AreaOrCityCode
  @phone2LocalNumber = phone2LocalNumber
  @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.



15064
15065
15066
# File 'lib/eBay.rb', line 15064

def __xmlele_any
  @__xmlele_any
end

#addressIDObject

Returns the value of attribute addressID.



15055
15056
15057
# File 'lib/eBay.rb', line 15055

def addressID
  @addressID
end

#addressOwnerObject

Returns the value of attribute addressOwner.



15056
15057
15058
# File 'lib/eBay.rb', line 15056

def addressOwner
  @addressOwner
end

#addressRecordTypeObject

Returns the value of attribute addressRecordType.



15063
15064
15065
# File 'lib/eBay.rb', line 15063

def addressRecordType
  @addressRecordType
end

#addressStatusObject

Returns the value of attribute addressStatus.



15057
15058
15059
# File 'lib/eBay.rb', line 15057

def addressStatus
  @addressStatus
end

#cityNameObject

Returns the value of attribute cityName.



15040
15041
15042
# File 'lib/eBay.rb', line 15040

def cityName
  @cityName
end

#companyNameObject

Returns the value of attribute companyName.



15062
15063
15064
# File 'lib/eBay.rb', line 15062

def companyName
  @companyName
end

#countryObject

Returns the value of attribute country.



15043
15044
15045
# File 'lib/eBay.rb', line 15043

def country
  @country
end

#countryNameObject

Returns the value of attribute countryName.



15044
15045
15046
# File 'lib/eBay.rb', line 15044

def countryName
  @countryName
end

#countyObject

Returns the value of attribute county.



15041
15042
15043
# File 'lib/eBay.rb', line 15041

def county
  @county
end

#externalAddressIDObject

Returns the value of attribute externalAddressID.



15058
15059
15060
# File 'lib/eBay.rb', line 15058

def externalAddressID
  @externalAddressID
end

#internationalNameObject

Returns the value of attribute internationalName.



15059
15060
15061
# File 'lib/eBay.rb', line 15059

def internationalName
  @internationalName
end

#internationalStateAndCityObject

Returns the value of attribute internationalStateAndCity.



15060
15061
15062
# File 'lib/eBay.rb', line 15060

def internationalStateAndCity
  @internationalStateAndCity
end

#internationalStreetObject

Returns the value of attribute internationalStreet.



15061
15062
15063
# File 'lib/eBay.rb', line 15061

def internationalStreet
  @internationalStreet
end

#nameObject

Returns the value of attribute name.



15036
15037
15038
# File 'lib/eBay.rb', line 15036

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



15045
15046
15047
# File 'lib/eBay.rb', line 15045

def phone
  @phone
end

#phone2AreaOrCityCodeObject

Returns the value of attribute phone2AreaOrCityCode.



15052
15053
15054
# File 'lib/eBay.rb', line 15052

def phone2AreaOrCityCode
  @phone2AreaOrCityCode
end

#phone2CountryCodeObject

Returns the value of attribute phone2CountryCode.



15050
15051
15052
# File 'lib/eBay.rb', line 15050

def phone2CountryCode
  @phone2CountryCode
end

#phone2CountryPrefixObject

Returns the value of attribute phone2CountryPrefix.



15051
15052
15053
# File 'lib/eBay.rb', line 15051

def phone2CountryPrefix
  @phone2CountryPrefix
end

#phone2LocalNumberObject

Returns the value of attribute phone2LocalNumber.



15053
15054
15055
# File 'lib/eBay.rb', line 15053

def phone2LocalNumber
  @phone2LocalNumber
end

#phoneAreaOrCityCodeObject

Returns the value of attribute phoneAreaOrCityCode.



15048
15049
15050
# File 'lib/eBay.rb', line 15048

def phoneAreaOrCityCode
  @phoneAreaOrCityCode
end

#phoneCountryCodeObject

Returns the value of attribute phoneCountryCode.



15046
15047
15048
# File 'lib/eBay.rb', line 15046

def phoneCountryCode
  @phoneCountryCode
end

#phoneCountryPrefixObject

Returns the value of attribute phoneCountryPrefix.



15047
15048
15049
# File 'lib/eBay.rb', line 15047

def phoneCountryPrefix
  @phoneCountryPrefix
end

#phoneLocalNumberObject

Returns the value of attribute phoneLocalNumber.



15049
15050
15051
# File 'lib/eBay.rb', line 15049

def phoneLocalNumber
  @phoneLocalNumber
end

#postalCodeObject

Returns the value of attribute postalCode.



15054
15055
15056
# File 'lib/eBay.rb', line 15054

def postalCode
  @postalCode
end

#stateOrProvinceObject

Returns the value of attribute stateOrProvince.



15042
15043
15044
# File 'lib/eBay.rb', line 15042

def stateOrProvince
  @stateOrProvince
end

#streetObject

Returns the value of attribute street.



15037
15038
15039
# File 'lib/eBay.rb', line 15037

def street
  @street
end

#street1Object

Returns the value of attribute street1.



15038
15039
15040
# File 'lib/eBay.rb', line 15038

def street1
  @street1
end

#street2Object

Returns the value of attribute street2.



15039
15040
15041
# File 'lib/eBay.rb', line 15039

def street2
  @street2
end

Instance Method Details

#set_any(elements) ⇒ Object



15066
15067
15068
# File 'lib/eBay.rb', line 15066

def set_any(elements)
  @__xmlele_any = elements
end