Class: ProductSearchResultType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductSearchResultType

Constant Summary collapse

@@schema_type =
"ProductSearchResultType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
["approximatePages", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ApproximatePages")]],
["attributeSetID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AttributeSetID")]],
["hasMore", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "HasMore")]],
["productFamilies", ["ProductFamilyType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ProductFamilies")]],
["productFinderConstraints", ["ProductFinderConstraintType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ProductFinderConstraints")]],
["tooManyMatchesFound", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TooManyMatchesFound")]],
["totalProducts", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "TotalProducts")]],
["iD", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ID")]],
["numProducts", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "NumProducts")]],
["attributeSet", ["ResponseAttributeSetType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AttributeSet")]],
["displayStockPhotos", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DisplayStockPhotos")]],
["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(approximatePages = nil, attributeSetID = nil, hasMore = nil, productFamilies = [], productFinderConstraints = [], tooManyMatchesFound = nil, totalProducts = nil, iD = nil, numProducts = nil, attributeSet = [], displayStockPhotos = nil) ⇒ ProductSearchResultType

Returns a new instance of ProductSearchResultType.



16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
# File 'lib/eBay.rb', line 16353

def initialize(approximatePages = nil, attributeSetID = nil, hasMore = nil, productFamilies = [], productFinderConstraints = [], tooManyMatchesFound = nil, totalProducts = nil, iD = nil, numProducts = nil, attributeSet = [], displayStockPhotos = nil)
  @approximatePages = approximatePages
  @attributeSetID = attributeSetID
  @hasMore = hasMore
  @productFamilies = productFamilies
  @productFinderConstraints = productFinderConstraints
  @tooManyMatchesFound = tooManyMatchesFound
  @totalProducts = totalProducts
  @iD = iD
  @numProducts = numProducts
  @attributeSet = attributeSet
  @displayStockPhotos = displayStockPhotos
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16347
16348
16349
# File 'lib/eBay.rb', line 16347

def __xmlele_any
  @__xmlele_any
end

#approximatePagesObject

Returns the value of attribute approximatePages.



16336
16337
16338
# File 'lib/eBay.rb', line 16336

def approximatePages
  @approximatePages
end

#attributeSetObject

Returns the value of attribute attributeSet.



16345
16346
16347
# File 'lib/eBay.rb', line 16345

def attributeSet
  @attributeSet
end

#attributeSetIDObject

Returns the value of attribute attributeSetID.



16337
16338
16339
# File 'lib/eBay.rb', line 16337

def attributeSetID
  @attributeSetID
end

#displayStockPhotosObject

Returns the value of attribute displayStockPhotos.



16346
16347
16348
# File 'lib/eBay.rb', line 16346

def displayStockPhotos
  @displayStockPhotos
end

#hasMoreObject

Returns the value of attribute hasMore.



16338
16339
16340
# File 'lib/eBay.rb', line 16338

def hasMore
  @hasMore
end

#iDObject

Returns the value of attribute iD.



16343
16344
16345
# File 'lib/eBay.rb', line 16343

def iD
  @iD
end

#numProductsObject

Returns the value of attribute numProducts.



16344
16345
16346
# File 'lib/eBay.rb', line 16344

def numProducts
  @numProducts
end

#productFamiliesObject

Returns the value of attribute productFamilies.



16339
16340
16341
# File 'lib/eBay.rb', line 16339

def productFamilies
  @productFamilies
end

#productFinderConstraintsObject

Returns the value of attribute productFinderConstraints.



16340
16341
16342
# File 'lib/eBay.rb', line 16340

def productFinderConstraints
  @productFinderConstraints
end

#tooManyMatchesFoundObject

Returns the value of attribute tooManyMatchesFound.



16341
16342
16343
# File 'lib/eBay.rb', line 16341

def tooManyMatchesFound
  @tooManyMatchesFound
end

#totalProductsObject

Returns the value of attribute totalProducts.



16342
16343
16344
# File 'lib/eBay.rb', line 16342

def totalProducts
  @totalProducts
end

Instance Method Details

#set_any(elements) ⇒ Object



16349
16350
16351
# File 'lib/eBay.rb', line 16349

def set_any(elements)
  @__xmlele_any = elements
end