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.



21932
21933
21934
21935
21936
21937
# File 'lib/eBay.rb', line 21932

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.



21926
21927
21928
# File 'lib/eBay.rb', line 21926

def __xmlele_any
  @__xmlele_any
end

#itemObject

Returns the value of attribute item.



21923
21924
21925
# File 'lib/eBay.rb', line 21923

def item
  @item
end

#itemSpecificObject

Returns the value of attribute itemSpecific.



21924
21925
21926
# File 'lib/eBay.rb', line 21924

def itemSpecific
  @itemSpecific
end

#searchResultValuesObject

Returns the value of attribute searchResultValues.



21925
21926
21927
# File 'lib/eBay.rb', line 21925

def searchResultValues
  @searchResultValues
end

Instance Method Details

#set_any(elements) ⇒ Object



21928
21929
21930
# File 'lib/eBay.rb', line 21928

def set_any(elements)
  @__xmlele_any = elements
end