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.



18453
18454
18455
18456
18457
# File 'lib/eBay.rb', line 18453

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.



18447
18448
18449
# File 'lib/eBay.rb', line 18447

def __xmlele_any
  @__xmlele_any
end

#categoryObject

Returns the value of attribute category.



18445
18446
18447
# File 'lib/eBay.rb', line 18445

def category
  @category
end

#percentItemFoundObject

Returns the value of attribute percentItemFound.



18446
18447
18448
# File 'lib/eBay.rb', line 18446

def percentItemFound
  @percentItemFound
end

Instance Method Details

#set_any(elements) ⇒ Object



18449
18450
18451
# File 'lib/eBay.rb', line 18449

def set_any(elements)
  @__xmlele_any = elements
end