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.



19434
19435
19436
19437
19438
19439
# File 'lib/eBay.rb', line 19434

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.



19428
19429
19430
# File 'lib/eBay.rb', line 19428

def __xmlele_any
  @__xmlele_any
end

#itemObject

Returns the value of attribute item.



19425
19426
19427
# File 'lib/eBay.rb', line 19425

def item
  @item
end

#itemSpecificObject

Returns the value of attribute itemSpecific.



19426
19427
19428
# File 'lib/eBay.rb', line 19426

def itemSpecific
  @itemSpecific
end

#searchResultValuesObject

Returns the value of attribute searchResultValues.



19427
19428
19429
# File 'lib/eBay.rb', line 19427

def searchResultValues
  @searchResultValues
end

Instance Method Details

#set_any(elements) ⇒ Object



19430
19431
19432
# File 'lib/eBay.rb', line 19430

def set_any(elements)
  @__xmlele_any = elements
end