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.



21032
21033
21034
21035
21036
21037
# File 'lib/eBay.rb', line 21032

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.



21021
21022
21023
# File 'lib/eBay.rb', line 21021

def averageSoldPrice
  @averageSoldPrice
end

#averageStartPriceObject

Returns the value of attribute averageStartPrice.



21020
21021
21022
# File 'lib/eBay.rb', line 21020

def averageStartPrice
  @averageStartPrice
end

#titleObject

Returns the value of attribute title.



21022
21023
21024
# File 'lib/eBay.rb', line 21022

def title
  @title
end

Instance Method Details

#xmlattr_productInfoIDObject



21024
21025
21026
# File 'lib/eBay.rb', line 21024

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

#xmlattr_productInfoID=(value) ⇒ Object



21028
21029
21030
# File 'lib/eBay.rb', line 21028

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