Class: StoreCustomCategoryType

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

Overview

urn:ebay:apis:eBLBaseComponentsStoreCustomCategoryType

Constant Summary collapse

@@schema_type =
"StoreCustomCategoryType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["categoryID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CategoryID")]],
  ["name", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Name")]],
  ["order", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Order")]],
  ["childrenCategories", ["StoreCustomCategoryType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ChildrenCategories")]],
  ["childCategory", ["StoreCustomCategoryType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ChildCategory")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(categoryID = nil, name = nil, order = nil, childrenCategories = nil, childCategory = []) ⇒ StoreCustomCategoryType

Returns a new instance of StoreCustomCategoryType.



23022
23023
23024
23025
23026
23027
23028
23029
# File 'lib/eBay.rb', line 23022

def initialize(categoryID = nil, name = nil, order = nil, childrenCategories = nil, childCategory = [])
  @categoryID = categoryID
  @name = name
  @order = order
  @childrenCategories = childrenCategories
  @childCategory = childCategory
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



23016
23017
23018
# File 'lib/eBay.rb', line 23016

def __xmlele_any
  @__xmlele_any
end

#categoryIDObject

Returns the value of attribute categoryID.



23011
23012
23013
# File 'lib/eBay.rb', line 23011

def categoryID
  @categoryID
end

#childCategoryObject

Returns the value of attribute childCategory.



23015
23016
23017
# File 'lib/eBay.rb', line 23015

def childCategory
  @childCategory
end

#childrenCategoriesObject

Returns the value of attribute childrenCategories.



23014
23015
23016
# File 'lib/eBay.rb', line 23014

def childrenCategories
  @childrenCategories
end

#nameObject

Returns the value of attribute name.



23012
23013
23014
# File 'lib/eBay.rb', line 23012

def name
  @name
end

#orderObject

Returns the value of attribute order.



23013
23014
23015
# File 'lib/eBay.rb', line 23013

def order
  @order
end

Instance Method Details

#set_any(elements) ⇒ Object



23018
23019
23020
# File 'lib/eBay.rb', line 23018

def set_any(elements)
  @__xmlele_any = elements
end