Class: CategoryType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsCategoryType

Constant Summary collapse

@@schema_type =
"CategoryType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["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")]],
  ["cSIDList", ["SOAP::SOAPString[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CSIDList")]],
  ["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")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(autoPayEnabled = nil, b2BVATEnabled = nil, catalogEnabled = nil, categoryID = nil, categoryLevel = nil, categoryName = nil, categoryParentID = [], categoryParentName = [], cSIDList = [], expired = nil, intlAutosFixedCat = nil, leafCategory = nil, virtual = nil) ⇒ CategoryType

Returns a new instance of CategoryType.



2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
# File 'lib/paypal-business/default.rb', line 2358

def initialize(autoPayEnabled = nil, b2BVATEnabled = nil, catalogEnabled = nil, categoryID = nil, categoryLevel = nil, categoryName = nil, categoryParentID = [], categoryParentName = [], cSIDList = [], expired = nil, intlAutosFixedCat = nil, leafCategory = nil, virtual = nil)
  @autoPayEnabled = autoPayEnabled
  @b2BVATEnabled = b2BVATEnabled
  @catalogEnabled = catalogEnabled
  @categoryID = categoryID
  @categoryLevel = categoryLevel
  @categoryName = categoryName
  @categoryParentID = categoryParentID
  @categoryParentName = categoryParentName
  @cSIDList = cSIDList
  @expired = expired
  @intlAutosFixedCat = intlAutosFixedCat
  @leafCategory = leafCategory
  @virtual = virtual
end

Instance Attribute Details

#autoPayEnabledObject

Returns the value of attribute autoPayEnabled.



2344
2345
2346
# File 'lib/paypal-business/default.rb', line 2344

def autoPayEnabled
  @autoPayEnabled
end

#b2BVATEnabledObject

Returns the value of attribute b2BVATEnabled.



2345
2346
2347
# File 'lib/paypal-business/default.rb', line 2345

def b2BVATEnabled
  @b2BVATEnabled
end

#catalogEnabledObject

Returns the value of attribute catalogEnabled.



2346
2347
2348
# File 'lib/paypal-business/default.rb', line 2346

def catalogEnabled
  @catalogEnabled
end

#categoryIDObject

Returns the value of attribute categoryID.



2347
2348
2349
# File 'lib/paypal-business/default.rb', line 2347

def categoryID
  @categoryID
end

#categoryLevelObject

Returns the value of attribute categoryLevel.



2348
2349
2350
# File 'lib/paypal-business/default.rb', line 2348

def categoryLevel
  @categoryLevel
end

#categoryNameObject

Returns the value of attribute categoryName.



2349
2350
2351
# File 'lib/paypal-business/default.rb', line 2349

def categoryName
  @categoryName
end

#categoryParentIDObject

Returns the value of attribute categoryParentID.



2350
2351
2352
# File 'lib/paypal-business/default.rb', line 2350

def categoryParentID
  @categoryParentID
end

#categoryParentNameObject

Returns the value of attribute categoryParentName.



2351
2352
2353
# File 'lib/paypal-business/default.rb', line 2351

def categoryParentName
  @categoryParentName
end

#cSIDListObject

Returns the value of attribute cSIDList.



2352
2353
2354
# File 'lib/paypal-business/default.rb', line 2352

def cSIDList
  @cSIDList
end

#expiredObject

Returns the value of attribute expired.



2353
2354
2355
# File 'lib/paypal-business/default.rb', line 2353

def expired
  @expired
end

#intlAutosFixedCatObject

Returns the value of attribute intlAutosFixedCat.



2354
2355
2356
# File 'lib/paypal-business/default.rb', line 2354

def intlAutosFixedCat
  @intlAutosFixedCat
end

#leafCategoryObject

Returns the value of attribute leafCategory.



2355
2356
2357
# File 'lib/paypal-business/default.rb', line 2355

def leafCategory
  @leafCategory
end

#virtualObject

Returns the value of attribute virtual.



2356
2357
2358
# File 'lib/paypal-business/default.rb', line 2356

def virtual
  @virtual
end