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.



14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
# File 'lib/eBay.rb', line 14532

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.



14526
14527
14528
# File 'lib/eBay.rb', line 14526

def __xmlele_any
  @__xmlele_any
end

#autoPayEnabledObject

Returns the value of attribute autoPayEnabled.



14503
14504
14505
# File 'lib/eBay.rb', line 14503

def autoPayEnabled
  @autoPayEnabled
end

#b2BVATEnabledObject

Returns the value of attribute b2BVATEnabled.



14504
14505
14506
# File 'lib/eBay.rb', line 14504

def b2BVATEnabled
  @b2BVATEnabled
end

#bestOfferEnabledObject

Returns the value of attribute bestOfferEnabled.



14502
14503
14504
# File 'lib/eBay.rb', line 14502

def bestOfferEnabled
  @bestOfferEnabled
end

#catalogEnabledObject

Returns the value of attribute catalogEnabled.



14505
14506
14507
# File 'lib/eBay.rb', line 14505

def catalogEnabled
  @catalogEnabled
end

#categoryIDObject

Returns the value of attribute categoryID.



14506
14507
14508
# File 'lib/eBay.rb', line 14506

def categoryID
  @categoryID
end

#categoryLevelObject

Returns the value of attribute categoryLevel.



14507
14508
14509
# File 'lib/eBay.rb', line 14507

def categoryLevel
  @categoryLevel
end

#categoryNameObject

Returns the value of attribute categoryName.



14508
14509
14510
# File 'lib/eBay.rb', line 14508

def categoryName
  @categoryName
end

#categoryParentIDObject

Returns the value of attribute categoryParentID.



14509
14510
14511
# File 'lib/eBay.rb', line 14509

def categoryParentID
  @categoryParentID
end

#categoryParentNameObject

Returns the value of attribute categoryParentName.



14510
14511
14512
# File 'lib/eBay.rb', line 14510

def categoryParentName
  @categoryParentName
end

#characteristicsSetsObject

Returns the value of attribute characteristicsSets.



14515
14516
14517
# File 'lib/eBay.rb', line 14515

def characteristicsSets
  @characteristicsSets
end

#expiredObject

Returns the value of attribute expired.



14516
14517
14518
# File 'lib/eBay.rb', line 14516

def expired
  @expired
end

#intlAutosFixedCatObject

Returns the value of attribute intlAutosFixedCat.



14517
14518
14519
# File 'lib/eBay.rb', line 14517

def intlAutosFixedCat
  @intlAutosFixedCat
end

#keywordsObject

Returns the value of attribute keywords.



14525
14526
14527
# File 'lib/eBay.rb', line 14525

def keywords
  @keywords
end

#leafCategoryObject

Returns the value of attribute leafCategory.



14518
14519
14520
# File 'lib/eBay.rb', line 14518

def leafCategory
  @leafCategory
end

#lSDObject

Returns the value of attribute lSD.



14524
14525
14526
# File 'lib/eBay.rb', line 14524

def lSD
  @lSD
end

#numOfItemsObject

Returns the value of attribute numOfItems.



14520
14521
14522
# File 'lib/eBay.rb', line 14520

def numOfItems
  @numOfItems
end

#oRPAObject

Returns the value of attribute oRPA.



14522
14523
14524
# File 'lib/eBay.rb', line 14522

def oRPA
  @oRPA
end

#oRRAObject

Returns the value of attribute oRRA.



14523
14524
14525
# File 'lib/eBay.rb', line 14523

def oRRA
  @oRRA
end

#productFinderAvailableObject

Returns the value of attribute productFinderAvailable.



14513
14514
14515
# File 'lib/eBay.rb', line 14513

def productFinderAvailable
  @productFinderAvailable
end

#productFinderIDObject

Returns the value of attribute productFinderID.



14511
14512
14513
# File 'lib/eBay.rb', line 14511

def productFinderID
  @productFinderID
end

#productFinderIDsObject

Returns the value of attribute productFinderIDs.



14514
14515
14516
# File 'lib/eBay.rb', line 14514

def productFinderIDs
  @productFinderIDs
end

#productSearchPageAvailableObject

Returns the value of attribute productSearchPageAvailable.



14512
14513
14514
# File 'lib/eBay.rb', line 14512

def productSearchPageAvailable
  @productSearchPageAvailable
end

#sellerGuaranteeEligibleObject

Returns the value of attribute sellerGuaranteeEligible.



14521
14522
14523
# File 'lib/eBay.rb', line 14521

def sellerGuaranteeEligible
  @sellerGuaranteeEligible
end

#virtualObject

Returns the value of attribute virtual.



14519
14520
14521
# File 'lib/eBay.rb', line 14519

def virtual
  @virtual
end

Instance Method Details

#set_any(elements) ⇒ Object



14528
14529
14530
# File 'lib/eBay.rb', line 14528

def set_any(elements)
  @__xmlele_any = elements
end