Class: LocalSearchType

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

Overview

urn:ebay:apis:eBLBaseComponentsLocalSearchType

Constant Summary collapse

@@schema_type =
"LocalSearchType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["maxDistance", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MaxDistance")]],
  ["postalCode", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PostalCode")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(maxDistance = nil, postalCode = nil) ⇒ LocalSearchType

Returns a new instance of LocalSearchType.



19309
19310
19311
19312
19313
# File 'lib/eBay.rb', line 19309

def initialize(maxDistance = nil, postalCode = nil)
  @maxDistance = maxDistance
  @postalCode = postalCode
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



19303
19304
19305
# File 'lib/eBay.rb', line 19303

def __xmlele_any
  @__xmlele_any
end

#maxDistanceObject

Returns the value of attribute maxDistance.



19301
19302
19303
# File 'lib/eBay.rb', line 19301

def maxDistance
  @maxDistance
end

#postalCodeObject

Returns the value of attribute postalCode.



19302
19303
19304
# File 'lib/eBay.rb', line 19302

def postalCode
  @postalCode
end

Instance Method Details

#set_any(elements) ⇒ Object



19305
19306
19307
# File 'lib/eBay.rb', line 19305

def set_any(elements)
  @__xmlele_any = elements
end