Class: ProductType
- Inherits:
-
Object
- Object
- ProductType
- 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
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#characteristicsSet ⇒ Object
Returns the value of attribute characteristicsSet.
-
#detailsURL ⇒ Object
Returns the value of attribute detailsURL.
-
#maxPrice ⇒ Object
Returns the value of attribute maxPrice.
-
#minPrice ⇒ Object
Returns the value of attribute minPrice.
-
#numItems ⇒ Object
Returns the value of attribute numItems.
Instance Method Summary collapse
-
#initialize(characteristicsSet = nil, detailsURL = nil, numItems = nil, minPrice = nil, maxPrice = nil) ⇒ ProductType
constructor
A new instance of ProductType.
- #set_any(elements) ⇒ Object
- #xmlattr_productID ⇒ Object
- #xmlattr_productID=(value) ⇒ Object
- #xmlattr_stockPhotoURL ⇒ Object
- #xmlattr_stockPhotoURL=(value) ⇒ Object
- #xmlattr_title ⇒ Object
- #xmlattr_title=(value) ⇒ Object
Constructor Details
#initialize(characteristicsSet = nil, detailsURL = nil, numItems = nil, minPrice = nil, maxPrice = nil) ⇒ ProductType
Returns a new instance of ProductType.
21275 21276 21277 21278 21279 21280 21281 21282 21283 |
# File 'lib/eBay.rb', line 21275 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_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
21245 21246 21247 |
# File 'lib/eBay.rb', line 21245 def __xmlele_any @__xmlele_any end |
#characteristicsSet ⇒ Object
Returns the value of attribute characteristicsSet.
21240 21241 21242 |
# File 'lib/eBay.rb', line 21240 def characteristicsSet @characteristicsSet end |
#detailsURL ⇒ Object
Returns the value of attribute detailsURL.
21241 21242 21243 |
# File 'lib/eBay.rb', line 21241 def detailsURL @detailsURL end |
#maxPrice ⇒ Object
Returns the value of attribute maxPrice.
21244 21245 21246 |
# File 'lib/eBay.rb', line 21244 def maxPrice @maxPrice end |
#minPrice ⇒ Object
Returns the value of attribute minPrice.
21243 21244 21245 |
# File 'lib/eBay.rb', line 21243 def minPrice @minPrice end |
#numItems ⇒ Object
Returns the value of attribute numItems.
21242 21243 21244 |
# File 'lib/eBay.rb', line 21242 def numItems @numItems end |
Instance Method Details
#set_any(elements) ⇒ Object
21247 21248 21249 |
# File 'lib/eBay.rb', line 21247 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_productID ⇒ Object
21251 21252 21253 |
# File 'lib/eBay.rb', line 21251 def xmlattr_productID (@__xmlattr ||= {})[XSD::QName.new(nil, "productID")] end |
#xmlattr_productID=(value) ⇒ Object
21255 21256 21257 |
# File 'lib/eBay.rb', line 21255 def xmlattr_productID=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "productID")] = value end |
#xmlattr_stockPhotoURL ⇒ Object
21259 21260 21261 |
# File 'lib/eBay.rb', line 21259 def xmlattr_stockPhotoURL (@__xmlattr ||= {})[XSD::QName.new(nil, "stockPhotoURL")] end |
#xmlattr_stockPhotoURL=(value) ⇒ Object
21263 21264 21265 |
# File 'lib/eBay.rb', line 21263 def xmlattr_stockPhotoURL=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "stockPhotoURL")] = value end |
#xmlattr_title ⇒ Object
21267 21268 21269 |
# File 'lib/eBay.rb', line 21267 def xmlattr_title (@__xmlattr ||= {})[XSD::QName.new(nil, "title")] end |
#xmlattr_title=(value) ⇒ Object
21271 21272 21273 |
# File 'lib/eBay.rb', line 21271 def xmlattr_title=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "title")] = value end |