Class: ProximitySearchType
- Inherits:
-
Object
- Object
- ProximitySearchType
- 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
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#maxDistance ⇒ Object
Returns the value of attribute maxDistance.
-
#postalCode ⇒ Object
Returns the value of attribute postalCode.
Instance Method Summary collapse
-
#initialize(maxDistance = nil, postalCode = nil) ⇒ ProximitySearchType
constructor
A new instance of ProximitySearchType.
- #set_any(elements) ⇒ Object
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_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
21425 21426 21427 |
# File 'lib/eBay.rb', line 21425 def __xmlele_any @__xmlele_any end |
#maxDistance ⇒ Object
Returns the value of attribute maxDistance.
21423 21424 21425 |
# File 'lib/eBay.rb', line 21423 def maxDistance @maxDistance end |
#postalCode ⇒ Object
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 |