Class: ProximitySearchType

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

Overview

urn:ebay:apis:eBLBaseComponentsProximitySearchType

Constant Summary collapse

@@schema_type =
"ProximitySearchType"
@@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) ⇒ ProximitySearchType

Returns a new instance of ProximitySearchType.



21431
21432
21433
21434
21435
# File 'lib/eBay.rb', line 21431

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.



21425
21426
21427
# File 'lib/eBay.rb', line 21425

def __xmlele_any
  @__xmlele_any
end

#maxDistanceObject

Returns the value of attribute maxDistance.



21423
21424
21425
# File 'lib/eBay.rb', line 21423

def maxDistance
  @maxDistance
end

#postalCodeObject

Returns the value of attribute postalCode.



21424
21425
21426
# File 'lib/eBay.rb', line 21424

def postalCode
  @postalCode
end

Instance Method Details

#set_any(elements) ⇒ Object



21427
21428
21429
# File 'lib/eBay.rb', line 21427

def set_any(elements)
  @__xmlele_any = elements
end