Class: SearchResultItemType

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

Overview

urn:ebay:apis:eBLBaseComponentsSearchResultItemType

Constant Summary collapse

@@schema_type =
"SearchResultItemType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["item", ["ItemType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Item")]],
["itemSpecific", ["NameValueListArrayType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemSpecific")]],
["searchResultValues", ["SearchResultValuesCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SearchResultValues")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(item = nil, itemSpecific = nil, searchResultValues = []) ⇒ SearchResultItemType

Returns a new instance of SearchResultItemType.



17067
17068
17069
17070
17071
17072
# File 'lib/eBay.rb', line 17067

def initialize(item = nil, itemSpecific = nil, searchResultValues = [])
  @item = item
  @itemSpecific = itemSpecific
  @searchResultValues = searchResultValues
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



17061
17062
17063
# File 'lib/eBay.rb', line 17061

def __xmlele_any
  @__xmlele_any
end

#itemObject

Returns the value of attribute item.



17058
17059
17060
# File 'lib/eBay.rb', line 17058

def item
  @item
end

#itemSpecificObject

Returns the value of attribute itemSpecific.



17059
17060
17061
# File 'lib/eBay.rb', line 17059

def itemSpecific
  @itemSpecific
end

#searchResultValuesObject

Returns the value of attribute searchResultValues.



17060
17061
17062
# File 'lib/eBay.rb', line 17060

def searchResultValues
  @searchResultValues
end

Instance Method Details

#set_any(elements) ⇒ Object



17063
17064
17065
# File 'lib/eBay.rb', line 17063

def set_any(elements)
  @__xmlele_any = elements
end