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.



20380
20381
20382
20383
20384
20385
20386
20387
# File 'lib/eBay.rb', line 20380

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.



20374
20375
20376
# File 'lib/eBay.rb', line 20374

def __xmlele_any
  @__xmlele_any
end

#categoryIDObject

Returns the value of attribute categoryID.



20369
20370
20371
# File 'lib/eBay.rb', line 20369

def categoryID
  @categoryID
end

#childCategoryObject

Returns the value of attribute childCategory.



20373
20374
20375
# File 'lib/eBay.rb', line 20373

def childCategory
  @childCategory
end

#childrenCategoriesObject

Returns the value of attribute childrenCategories.



20372
20373
20374
# File 'lib/eBay.rb', line 20372

def childrenCategories
  @childrenCategories
end

#nameObject

Returns the value of attribute name.



20370
20371
20372
# File 'lib/eBay.rb', line 20370

def name
  @name
end

#orderObject

Returns the value of attribute order.



20371
20372
20373
# File 'lib/eBay.rb', line 20371

def order
  @order
end

Instance Method Details

#set_any(elements) ⇒ Object



20376
20377
20378
# File 'lib/eBay.rb', line 20376

def set_any(elements)
  @__xmlele_any = elements
end