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.



21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
# File 'lib/eBay.rb', line 21154

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.



21148
21149
21150
# File 'lib/eBay.rb', line 21148

def __xmlele_any
  @__xmlele_any
end

#approximatePagesObject

Returns the value of attribute approximatePages.



21137
21138
21139
# File 'lib/eBay.rb', line 21137

def approximatePages
  @approximatePages
end

#attributeSetObject

Returns the value of attribute attributeSet.



21146
21147
21148
# File 'lib/eBay.rb', line 21146

def attributeSet
  @attributeSet
end

#attributeSetIDObject

Returns the value of attribute attributeSetID.



21138
21139
21140
# File 'lib/eBay.rb', line 21138

def attributeSetID
  @attributeSetID
end

#displayStockPhotosObject

Returns the value of attribute displayStockPhotos.



21147
21148
21149
# File 'lib/eBay.rb', line 21147

def displayStockPhotos
  @displayStockPhotos
end

#hasMoreObject

Returns the value of attribute hasMore.



21139
21140
21141
# File 'lib/eBay.rb', line 21139

def hasMore
  @hasMore
end

#iDObject

Returns the value of attribute iD.



21144
21145
21146
# File 'lib/eBay.rb', line 21144

def iD
  @iD
end

#numProductsObject

Returns the value of attribute numProducts.



21145
21146
21147
# File 'lib/eBay.rb', line 21145

def numProducts
  @numProducts
end

#productFamiliesObject

Returns the value of attribute productFamilies.



21140
21141
21142
# File 'lib/eBay.rb', line 21140

def productFamilies
  @productFamilies
end

#productFinderConstraintsObject

Returns the value of attribute productFinderConstraints.



21141
21142
21143
# File 'lib/eBay.rb', line 21141

def productFinderConstraints
  @productFinderConstraints
end

#tooManyMatchesFoundObject

Returns the value of attribute tooManyMatchesFound.



21142
21143
21144
# File 'lib/eBay.rb', line 21142

def tooManyMatchesFound
  @tooManyMatchesFound
end

#totalProductsObject

Returns the value of attribute totalProducts.



21143
21144
21145
# File 'lib/eBay.rb', line 21143

def totalProducts
  @totalProducts
end

Instance Method Details

#set_any(elements) ⇒ Object



21150
21151
21152
# File 'lib/eBay.rb', line 21150

def set_any(elements)
  @__xmlele_any = elements
end