Class: EBay::ProductInfoType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductInfoType

averageStartPrice - EBay::AmountType
averageSoldPrice - EBay::AmountType
title - SOAP::SOAPString
productState - EBay::ProductStateCodeType
xmlattr_productInfoID - SOAP::SOAPString

Constant Summary collapse

AttrProductInfoID =
XSD::QName.new(nil, "productInfoID")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ProductInfoType.



29283
29284
29285
29286
29287
29288
29289
# File 'lib/eBay.rb', line 29283

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

Instance Attribute Details

#averageSoldPriceObject

Returns the value of attribute averageSoldPrice.



29267
29268
29269
# File 'lib/eBay.rb', line 29267

def averageSoldPrice
  @averageSoldPrice
end

#averageStartPriceObject

Returns the value of attribute averageStartPrice.



29266
29267
29268
# File 'lib/eBay.rb', line 29266

def averageStartPrice
  @averageStartPrice
end

#productStateObject

Returns the value of attribute productState.



29269
29270
29271
# File 'lib/eBay.rb', line 29269

def productState
  @productState
end

#titleObject

Returns the value of attribute title.



29268
29269
29270
# File 'lib/eBay.rb', line 29268

def title
  @title
end

Instance Method Details

#__xmlattrObject



29271
29272
29273
# File 'lib/eBay.rb', line 29271

def __xmlattr
  @__xmlattr ||= {}
end

#xmlattr_productInfoIDObject



29275
29276
29277
# File 'lib/eBay.rb', line 29275

def xmlattr_productInfoID
  __xmlattr[AttrProductInfoID]
end

#xmlattr_productInfoID=(value) ⇒ Object



29279
29280
29281
# File 'lib/eBay.rb', line 29279

def xmlattr_productInfoID=(value)
  __xmlattr[AttrProductInfoID] = value
end