Class: SuggestedCategoryType

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

Overview

urn:ebay:apis:eBLBaseComponentsSuggestedCategoryType

Constant Summary collapse

@@schema_type =
"SuggestedCategoryType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["category", ["CategoryType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Category")]],
  ["percentItemFound", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PercentItemFound")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(category = nil, percentItemFound = nil) ⇒ SuggestedCategoryType

Returns a new instance of SuggestedCategoryType.



20897
20898
20899
20900
20901
# File 'lib/eBay.rb', line 20897

def initialize(category = nil, percentItemFound = nil)
  @category = category
  @percentItemFound = percentItemFound
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



20891
20892
20893
# File 'lib/eBay.rb', line 20891

def __xmlele_any
  @__xmlele_any
end

#categoryObject

Returns the value of attribute category.



20889
20890
20891
# File 'lib/eBay.rb', line 20889

def category
  @category
end

#percentItemFoundObject

Returns the value of attribute percentItemFound.



20890
20891
20892
# File 'lib/eBay.rb', line 20890

def percentItemFound
  @percentItemFound
end

Instance Method Details

#set_any(elements) ⇒ Object



20893
20894
20895
# File 'lib/eBay.rb', line 20893

def set_any(elements)
  @__xmlele_any = elements
end