Class: CategoryType

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

Overview

urn:ebay:apis:eBLBaseComponentsCategoryType

Constant Summary collapse

@@schema_type =
"CategoryType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["bestOfferEnabled", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "BestOfferEnabled")]],
  ["autoPayEnabled", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AutoPayEnabled")]],
  ["b2BVATEnabled", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "B2BVATEnabled")]],
  ["catalogEnabled", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CatalogEnabled")]],
  ["categoryID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CategoryID")]],
  ["categoryLevel", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CategoryLevel")]],
  ["categoryName", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CategoryName")]],
  ["categoryParentID", ["SOAP::SOAPString[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CategoryParentID")]],
  ["categoryParentName", ["SOAP::SOAPString[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CategoryParentName")]],
  ["productFinderID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ProductFinderID")]],
  ["productSearchPageAvailable", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ProductSearchPageAvailable")]],
  ["productFinderAvailable", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ProductFinderAvailable")]],
  ["productFinderIDs", ["ExtendedProductFinderIDType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ProductFinderIDs")]],
  ["characteristicsSets", ["CharacteristicsSetType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharacteristicsSets")]],
  ["expired", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Expired")]],
  ["intlAutosFixedCat", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "IntlAutosFixedCat")]],
  ["leafCategory", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "LeafCategory")]],
  ["virtual", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Virtual")]],
  ["numOfItems", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "NumOfItems")]],
  ["sellerGuaranteeEligible", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SellerGuaranteeEligible")]],
  ["oRPA", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ORPA")]],
  ["oRRA", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ORRA")]],
  ["lSD", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "LSD")]],
  ["keywords", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Keywords")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bestOfferEnabled = nil, autoPayEnabled = nil, b2BVATEnabled = nil, catalogEnabled = nil, categoryID = nil, categoryLevel = nil, categoryName = nil, categoryParentID = [], categoryParentName = [], productFinderID = nil, productSearchPageAvailable = nil, productFinderAvailable = nil, productFinderIDs = [], characteristicsSets = [], expired = nil, intlAutosFixedCat = nil, leafCategory = nil, virtual = nil, numOfItems = nil, sellerGuaranteeEligible = nil, oRPA = nil, oRRA = nil, lSD = nil, keywords = nil) ⇒ CategoryType

Returns a new instance of CategoryType.



16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
# File 'lib/eBay.rb', line 16246

def initialize(bestOfferEnabled = nil, autoPayEnabled = nil, b2BVATEnabled = nil, catalogEnabled = nil, categoryID = nil, categoryLevel = nil, categoryName = nil, categoryParentID = [], categoryParentName = [], productFinderID = nil, productSearchPageAvailable = nil, productFinderAvailable = nil, productFinderIDs = [], characteristicsSets = [], expired = nil, intlAutosFixedCat = nil, leafCategory = nil, virtual = nil, numOfItems = nil, sellerGuaranteeEligible = nil, oRPA = nil, oRRA = nil, lSD = nil, keywords = nil)
  @bestOfferEnabled = bestOfferEnabled
  @autoPayEnabled = autoPayEnabled
  @b2BVATEnabled = b2BVATEnabled
  @catalogEnabled = catalogEnabled
  @categoryID = categoryID
  @categoryLevel = categoryLevel
  @categoryName = categoryName
  @categoryParentID = categoryParentID
  @categoryParentName = categoryParentName
  @productFinderID = productFinderID
  @productSearchPageAvailable = productSearchPageAvailable
  @productFinderAvailable = productFinderAvailable
  @productFinderIDs = productFinderIDs
  @characteristicsSets = characteristicsSets
  @expired = expired
  @intlAutosFixedCat = intlAutosFixedCat
  @leafCategory = leafCategory
  @virtual = virtual
  @numOfItems = numOfItems
  @sellerGuaranteeEligible = sellerGuaranteeEligible
  @oRPA = oRPA
  @oRRA = oRRA
  @lSD = lSD
  @keywords = keywords
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16240
16241
16242
# File 'lib/eBay.rb', line 16240

def __xmlele_any
  @__xmlele_any
end

#autoPayEnabledObject

Returns the value of attribute autoPayEnabled.



16217
16218
16219
# File 'lib/eBay.rb', line 16217

def autoPayEnabled
  @autoPayEnabled
end

#b2BVATEnabledObject

Returns the value of attribute b2BVATEnabled.



16218
16219
16220
# File 'lib/eBay.rb', line 16218

def b2BVATEnabled
  @b2BVATEnabled
end

#bestOfferEnabledObject

Returns the value of attribute bestOfferEnabled.



16216
16217
16218
# File 'lib/eBay.rb', line 16216

def bestOfferEnabled
  @bestOfferEnabled
end

#catalogEnabledObject

Returns the value of attribute catalogEnabled.



16219
16220
16221
# File 'lib/eBay.rb', line 16219

def catalogEnabled
  @catalogEnabled
end

#categoryIDObject

Returns the value of attribute categoryID.



16220
16221
16222
# File 'lib/eBay.rb', line 16220

def categoryID
  @categoryID
end

#categoryLevelObject

Returns the value of attribute categoryLevel.



16221
16222
16223
# File 'lib/eBay.rb', line 16221

def categoryLevel
  @categoryLevel
end

#categoryNameObject

Returns the value of attribute categoryName.



16222
16223
16224
# File 'lib/eBay.rb', line 16222

def categoryName
  @categoryName
end

#categoryParentIDObject

Returns the value of attribute categoryParentID.



16223
16224
16225
# File 'lib/eBay.rb', line 16223

def categoryParentID
  @categoryParentID
end

#categoryParentNameObject

Returns the value of attribute categoryParentName.



16224
16225
16226
# File 'lib/eBay.rb', line 16224

def categoryParentName
  @categoryParentName
end

#characteristicsSetsObject

Returns the value of attribute characteristicsSets.



16229
16230
16231
# File 'lib/eBay.rb', line 16229

def characteristicsSets
  @characteristicsSets
end

#expiredObject

Returns the value of attribute expired.



16230
16231
16232
# File 'lib/eBay.rb', line 16230

def expired
  @expired
end

#intlAutosFixedCatObject

Returns the value of attribute intlAutosFixedCat.



16231
16232
16233
# File 'lib/eBay.rb', line 16231

def intlAutosFixedCat
  @intlAutosFixedCat
end

#keywordsObject

Returns the value of attribute keywords.



16239
16240
16241
# File 'lib/eBay.rb', line 16239

def keywords
  @keywords
end

#leafCategoryObject

Returns the value of attribute leafCategory.



16232
16233
16234
# File 'lib/eBay.rb', line 16232

def leafCategory
  @leafCategory
end

#lSDObject

Returns the value of attribute lSD.



16238
16239
16240
# File 'lib/eBay.rb', line 16238

def lSD
  @lSD
end

#numOfItemsObject

Returns the value of attribute numOfItems.



16234
16235
16236
# File 'lib/eBay.rb', line 16234

def numOfItems
  @numOfItems
end

#oRPAObject

Returns the value of attribute oRPA.



16236
16237
16238
# File 'lib/eBay.rb', line 16236

def oRPA
  @oRPA
end

#oRRAObject

Returns the value of attribute oRRA.



16237
16238
16239
# File 'lib/eBay.rb', line 16237

def oRRA
  @oRRA
end

#productFinderAvailableObject

Returns the value of attribute productFinderAvailable.



16227
16228
16229
# File 'lib/eBay.rb', line 16227

def productFinderAvailable
  @productFinderAvailable
end

#productFinderIDObject

Returns the value of attribute productFinderID.



16225
16226
16227
# File 'lib/eBay.rb', line 16225

def productFinderID
  @productFinderID
end

#productFinderIDsObject

Returns the value of attribute productFinderIDs.



16228
16229
16230
# File 'lib/eBay.rb', line 16228

def productFinderIDs
  @productFinderIDs
end

#productSearchPageAvailableObject

Returns the value of attribute productSearchPageAvailable.



16226
16227
16228
# File 'lib/eBay.rb', line 16226

def productSearchPageAvailable
  @productSearchPageAvailable
end

#sellerGuaranteeEligibleObject

Returns the value of attribute sellerGuaranteeEligible.



16235
16236
16237
# File 'lib/eBay.rb', line 16235

def sellerGuaranteeEligible
  @sellerGuaranteeEligible
end

#virtualObject

Returns the value of attribute virtual.



16233
16234
16235
# File 'lib/eBay.rb', line 16233

def virtual
  @virtual
end

Instance Method Details

#set_any(elements) ⇒ Object



16242
16243
16244
# File 'lib/eBay.rb', line 16242

def set_any(elements)
  @__xmlele_any = elements
end