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.



13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
# File 'lib/eBay.rb', line 13425

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.



13419
13420
13421
# File 'lib/eBay.rb', line 13419

def __xmlele_any
  @__xmlele_any
end

#addressIDObject

Returns the value of attribute addressID.



13410
13411
13412
# File 'lib/eBay.rb', line 13410

def addressID
  @addressID
end

#addressOwnerObject

Returns the value of attribute addressOwner.



13411
13412
13413
# File 'lib/eBay.rb', line 13411

def addressOwner
  @addressOwner
end

#addressRecordTypeObject

Returns the value of attribute addressRecordType.



13418
13419
13420
# File 'lib/eBay.rb', line 13418

def addressRecordType
  @addressRecordType
end

#addressStatusObject

Returns the value of attribute addressStatus.



13412
13413
13414
# File 'lib/eBay.rb', line 13412

def addressStatus
  @addressStatus
end

#cityNameObject

Returns the value of attribute cityName.



13404
13405
13406
# File 'lib/eBay.rb', line 13404

def cityName
  @cityName
end

#companyNameObject

Returns the value of attribute companyName.



13417
13418
13419
# File 'lib/eBay.rb', line 13417

def companyName
  @companyName
end

#countryObject

Returns the value of attribute country.



13406
13407
13408
# File 'lib/eBay.rb', line 13406

def country
  @country
end

#countryNameObject

Returns the value of attribute countryName.



13407
13408
13409
# File 'lib/eBay.rb', line 13407

def countryName
  @countryName
end

#externalAddressIDObject

Returns the value of attribute externalAddressID.



13413
13414
13415
# File 'lib/eBay.rb', line 13413

def externalAddressID
  @externalAddressID
end

#internationalNameObject

Returns the value of attribute internationalName.



13414
13415
13416
# File 'lib/eBay.rb', line 13414

def internationalName
  @internationalName
end

#internationalStateAndCityObject

Returns the value of attribute internationalStateAndCity.



13415
13416
13417
# File 'lib/eBay.rb', line 13415

def internationalStateAndCity
  @internationalStateAndCity
end

#internationalStreetObject

Returns the value of attribute internationalStreet.



13416
13417
13418
# File 'lib/eBay.rb', line 13416

def internationalStreet
  @internationalStreet
end

#nameObject

Returns the value of attribute name.



13400
13401
13402
# File 'lib/eBay.rb', line 13400

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



13408
13409
13410
# File 'lib/eBay.rb', line 13408

def phone
  @phone
end

#postalCodeObject

Returns the value of attribute postalCode.



13409
13410
13411
# File 'lib/eBay.rb', line 13409

def postalCode
  @postalCode
end

#stateOrProvinceObject

Returns the value of attribute stateOrProvince.



13405
13406
13407
# File 'lib/eBay.rb', line 13405

def stateOrProvince
  @stateOrProvince
end

#streetObject

Returns the value of attribute street.



13401
13402
13403
# File 'lib/eBay.rb', line 13401

def street
  @street
end

#street1Object

Returns the value of attribute street1.



13402
13403
13404
# File 'lib/eBay.rb', line 13402

def street1
  @street1
end

#street2Object

Returns the value of attribute street2.



13403
13404
13405
# File 'lib/eBay.rb', line 13403

def street2
  @street2
end

Instance Method Details

#set_any(elements) ⇒ Object



13421
13422
13423
# File 'lib/eBay.rb', line 13421

def set_any(elements)
  @__xmlele_any = elements
end