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.



18568
18569
18570
18571
18572
18573
# File 'lib/eBay.rb', line 18568

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.



18557
18558
18559
# File 'lib/eBay.rb', line 18557

def averageSoldPrice
  @averageSoldPrice
end

#averageStartPriceObject

Returns the value of attribute averageStartPrice.



18556
18557
18558
# File 'lib/eBay.rb', line 18556

def averageStartPrice
  @averageStartPrice
end

#titleObject

Returns the value of attribute title.



18558
18559
18560
# File 'lib/eBay.rb', line 18558

def title
  @title
end

Instance Method Details

#xmlattr_productInfoIDObject



18560
18561
18562
# File 'lib/eBay.rb', line 18560

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

#xmlattr_productInfoID=(value) ⇒ Object



18564
18565
18566
# File 'lib/eBay.rb', line 18564

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