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.
16468 16469 16470 16471 16472 16473 16474 16475 16476 |
# File 'lib/eBay.rb', line 16468 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.
16438 16439 16440 |
# File 'lib/eBay.rb', line 16438 def __xmlele_any @__xmlele_any end |
#characteristicsSet ⇒ Object
Returns the value of attribute characteristicsSet.
16433 16434 16435 |
# File 'lib/eBay.rb', line 16433 def characteristicsSet @characteristicsSet end |
#detailsURL ⇒ Object
Returns the value of attribute detailsURL.
16434 16435 16436 |
# File 'lib/eBay.rb', line 16434 def detailsURL @detailsURL end |
#maxPrice ⇒ Object
Returns the value of attribute maxPrice.
16437 16438 16439 |
# File 'lib/eBay.rb', line 16437 def maxPrice @maxPrice end |
#minPrice ⇒ Object
Returns the value of attribute minPrice.
16436 16437 16438 |
# File 'lib/eBay.rb', line 16436 def minPrice @minPrice end |
#numItems ⇒ Object
Returns the value of attribute numItems.
16435 16436 16437 |
# File 'lib/eBay.rb', line 16435 def numItems @numItems end |
Instance Method Details
#set_any(elements) ⇒ Object
16440 16441 16442 |
# File 'lib/eBay.rb', line 16440 def set_any(elements) @__xmlele_any = elements end |
#xmlattr_productID ⇒ Object
16444 16445 16446 |
# File 'lib/eBay.rb', line 16444 def xmlattr_productID (@__xmlattr ||= {})[XSD::QName.new(nil, "productID")] end |
#xmlattr_productID=(value) ⇒ Object
16448 16449 16450 |
# File 'lib/eBay.rb', line 16448 def xmlattr_productID=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "productID")] = value end |
#xmlattr_stockPhotoURL ⇒ Object
16452 16453 16454 |
# File 'lib/eBay.rb', line 16452 def xmlattr_stockPhotoURL (@__xmlattr ||= {})[XSD::QName.new(nil, "stockPhotoURL")] end |
#xmlattr_stockPhotoURL=(value) ⇒ Object
16456 16457 16458 |
# File 'lib/eBay.rb', line 16456 def xmlattr_stockPhotoURL=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "stockPhotoURL")] = value end |
#xmlattr_title ⇒ Object
16460 16461 16462 |
# File 'lib/eBay.rb', line 16460 def xmlattr_title (@__xmlattr ||= {})[XSD::QName.new(nil, "title")] end |
#xmlattr_title=(value) ⇒ Object
16464 16465 16466 |
# File 'lib/eBay.rb', line 16464 def xmlattr_title=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "title")] = value end |