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.



18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
# File 'lib/eBay.rb', line 18690

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.



18684
18685
18686
# File 'lib/eBay.rb', line 18684

def __xmlele_any
  @__xmlele_any
end

#approximatePagesObject

Returns the value of attribute approximatePages.



18673
18674
18675
# File 'lib/eBay.rb', line 18673

def approximatePages
  @approximatePages
end

#attributeSetObject

Returns the value of attribute attributeSet.



18682
18683
18684
# File 'lib/eBay.rb', line 18682

def attributeSet
  @attributeSet
end

#attributeSetIDObject

Returns the value of attribute attributeSetID.



18674
18675
18676
# File 'lib/eBay.rb', line 18674

def attributeSetID
  @attributeSetID
end

#displayStockPhotosObject

Returns the value of attribute displayStockPhotos.



18683
18684
18685
# File 'lib/eBay.rb', line 18683

def displayStockPhotos
  @displayStockPhotos
end

#hasMoreObject

Returns the value of attribute hasMore.



18675
18676
18677
# File 'lib/eBay.rb', line 18675

def hasMore
  @hasMore
end

#iDObject

Returns the value of attribute iD.



18680
18681
18682
# File 'lib/eBay.rb', line 18680

def iD
  @iD
end

#numProductsObject

Returns the value of attribute numProducts.



18681
18682
18683
# File 'lib/eBay.rb', line 18681

def numProducts
  @numProducts
end

#productFamiliesObject

Returns the value of attribute productFamilies.



18676
18677
18678
# File 'lib/eBay.rb', line 18676

def productFamilies
  @productFamilies
end

#productFinderConstraintsObject

Returns the value of attribute productFinderConstraints.



18677
18678
18679
# File 'lib/eBay.rb', line 18677

def productFinderConstraints
  @productFinderConstraints
end

#tooManyMatchesFoundObject

Returns the value of attribute tooManyMatchesFound.



18678
18679
18680
# File 'lib/eBay.rb', line 18678

def tooManyMatchesFound
  @tooManyMatchesFound
end

#totalProductsObject

Returns the value of attribute totalProducts.



18679
18680
18681
# File 'lib/eBay.rb', line 18679

def totalProducts
  @totalProducts
end

Instance Method Details

#set_any(elements) ⇒ Object



18686
18687
18688
# File 'lib/eBay.rb', line 18686

def set_any(elements)
  @__xmlele_any = elements
end