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.



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_anyObject (readonly)

Returns the value of attribute __xmlele_any.



16438
16439
16440
# File 'lib/eBay.rb', line 16438

def __xmlele_any
  @__xmlele_any
end

#characteristicsSetObject

Returns the value of attribute characteristicsSet.



16433
16434
16435
# File 'lib/eBay.rb', line 16433

def characteristicsSet
  @characteristicsSet
end

#detailsURLObject

Returns the value of attribute detailsURL.



16434
16435
16436
# File 'lib/eBay.rb', line 16434

def detailsURL
  @detailsURL
end

#maxPriceObject

Returns the value of attribute maxPrice.



16437
16438
16439
# File 'lib/eBay.rb', line 16437

def maxPrice
  @maxPrice
end

#minPriceObject

Returns the value of attribute minPrice.



16436
16437
16438
# File 'lib/eBay.rb', line 16436

def minPrice
  @minPrice
end

#numItemsObject

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_productIDObject



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_stockPhotoURLObject



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_titleObject



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