Class: ProductInfoType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductInfoType

Constant Summary collapse

@@schema_type =
"ProductInfoType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{XSD::QName.new(nil, "productInfoID") => "SOAP::SOAPString"}
@@schema_element =
[
["averageStartPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AverageStartPrice")]],
["averageSoldPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "AverageSoldPrice")]],
["title", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Title")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(averageStartPrice = nil, averageSoldPrice = nil, title = nil) ⇒ ProductInfoType

Returns a new instance of ProductInfoType.



16237
16238
16239
16240
16241
16242
# File 'lib/eBay.rb', line 16237

def initialize(averageStartPrice = nil, averageSoldPrice = nil, title = nil)
  @averageStartPrice = averageStartPrice
  @averageSoldPrice = averageSoldPrice
  @title = title
  @__xmlattr = {}
end

Instance Attribute Details

#averageSoldPriceObject

Returns the value of attribute averageSoldPrice.



16226
16227
16228
# File 'lib/eBay.rb', line 16226

def averageSoldPrice
  @averageSoldPrice
end

#averageStartPriceObject

Returns the value of attribute averageStartPrice.



16225
16226
16227
# File 'lib/eBay.rb', line 16225

def averageStartPrice
  @averageStartPrice
end

#titleObject

Returns the value of attribute title.



16227
16228
16229
# File 'lib/eBay.rb', line 16227

def title
  @title
end

Instance Method Details

#xmlattr_productInfoIDObject



16229
16230
16231
# File 'lib/eBay.rb', line 16229

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

#xmlattr_productInfoID=(value) ⇒ Object



16233
16234
16235
# File 'lib/eBay.rb', line 16233

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