Class: ProductType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductType

Constant Summary collapse

@@schema_type =
"ProductType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "productID") => "SOAP::SOAPString",
  XSD::QName.new(nil, "stockPhotoURL") => "SOAP::SOAPAnyURI",
  XSD::QName.new(nil, "title") => "SOAP::SOAPString"
}
@@schema_element =
[
  ["characteristicsSet", ["CharacteristicsSetType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharacteristicsSet")]],
  ["detailsURL", ["SOAP::SOAPAnyURI", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailsURL")]],
  ["numItems", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "NumItems")]],
  ["minPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MinPrice")]],
  ["maxPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MaxPrice")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(characteristicsSet = nil, detailsURL = nil, numItems = nil, minPrice = nil, maxPrice = nil) ⇒ ProductType

Returns a new instance of ProductType.



18811
18812
18813
18814
18815
18816
18817
18818
18819
# File 'lib/eBay.rb', line 18811

def initialize(characteristicsSet = nil, detailsURL = nil, numItems = nil, minPrice = nil, maxPrice = nil)
  @characteristicsSet = characteristicsSet
  @detailsURL = detailsURL
  @numItems = numItems
  @minPrice = minPrice
  @maxPrice = maxPrice
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



18781
18782
18783
# File 'lib/eBay.rb', line 18781

def __xmlele_any
  @__xmlele_any
end

#characteristicsSetObject

Returns the value of attribute characteristicsSet.



18776
18777
18778
# File 'lib/eBay.rb', line 18776

def characteristicsSet
  @characteristicsSet
end

#detailsURLObject

Returns the value of attribute detailsURL.



18777
18778
18779
# File 'lib/eBay.rb', line 18777

def detailsURL
  @detailsURL
end

#maxPriceObject

Returns the value of attribute maxPrice.



18780
18781
18782
# File 'lib/eBay.rb', line 18780

def maxPrice
  @maxPrice
end

#minPriceObject

Returns the value of attribute minPrice.



18779
18780
18781
# File 'lib/eBay.rb', line 18779

def minPrice
  @minPrice
end

#numItemsObject

Returns the value of attribute numItems.



18778
18779
18780
# File 'lib/eBay.rb', line 18778

def numItems
  @numItems
end

Instance Method Details

#set_any(elements) ⇒ Object



18783
18784
18785
# File 'lib/eBay.rb', line 18783

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_productIDObject



18787
18788
18789
# File 'lib/eBay.rb', line 18787

def xmlattr_productID
  (@__xmlattr ||= {})[XSD::QName.new(nil, "productID")]
end

#xmlattr_productID=(value) ⇒ Object



18791
18792
18793
# File 'lib/eBay.rb', line 18791

def xmlattr_productID=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "productID")] = value
end

#xmlattr_stockPhotoURLObject



18795
18796
18797
# File 'lib/eBay.rb', line 18795

def xmlattr_stockPhotoURL
  (@__xmlattr ||= {})[XSD::QName.new(nil, "stockPhotoURL")]
end

#xmlattr_stockPhotoURL=(value) ⇒ Object



18799
18800
18801
# File 'lib/eBay.rb', line 18799

def xmlattr_stockPhotoURL=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "stockPhotoURL")] = value
end

#xmlattr_titleObject



18803
18804
18805
# File 'lib/eBay.rb', line 18803

def xmlattr_title
  (@__xmlattr ||= {})[XSD::QName.new(nil, "title")]
end

#xmlattr_title=(value) ⇒ Object



18807
18808
18809
# File 'lib/eBay.rb', line 18807

def xmlattr_title=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "title")] = value
end