Class: EBay::ProductType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductType

characteristicsSet - EBay::CharacteristicsSetType
detailsURL - SOAP::SOAPAnyURI
numItems - SOAP::SOAPInt
minPrice - EBay::AmountType
maxPrice - EBay::AmountType
productReferenceID - SOAP::SOAPString
xmlattr_productID - SOAP::SOAPString
xmlattr_stockPhotoURL - SOAP::SOAPAnyURI
xmlattr_title - SOAP::SOAPString

Constant Summary collapse

AttrProductID =
XSD::QName.new(nil, "productID")
AttrStockPhotoURL =
XSD::QName.new(nil, "stockPhotoURL")
AttrTitle =
XSD::QName.new(nil, "title")

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(characteristicsSet = nil, detailsURL = nil, numItems = nil, minPrice = nil, maxPrice = nil, productReferenceID = nil) ⇒ ProductType

Returns a new instance of ProductType.



29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
# File 'lib/eBay.rb', line 29555

def initialize(characteristicsSet = nil, detailsURL = nil, numItems = nil, minPrice = nil, maxPrice = nil, productReferenceID = nil)
  @characteristicsSet = characteristicsSet
  @detailsURL = detailsURL
  @numItems = numItems
  @minPrice = minPrice
  @maxPrice = maxPrice
  @productReferenceID = productReferenceID
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



29521
29522
29523
# File 'lib/eBay.rb', line 29521

def __xmlele_any
  @__xmlele_any
end

#characteristicsSetObject

Returns the value of attribute characteristicsSet.



29515
29516
29517
# File 'lib/eBay.rb', line 29515

def characteristicsSet
  @characteristicsSet
end

#detailsURLObject

Returns the value of attribute detailsURL.



29516
29517
29518
# File 'lib/eBay.rb', line 29516

def detailsURL
  @detailsURL
end

#maxPriceObject

Returns the value of attribute maxPrice.



29519
29520
29521
# File 'lib/eBay.rb', line 29519

def maxPrice
  @maxPrice
end

#minPriceObject

Returns the value of attribute minPrice.



29518
29519
29520
# File 'lib/eBay.rb', line 29518

def minPrice
  @minPrice
end

#numItemsObject

Returns the value of attribute numItems.



29517
29518
29519
# File 'lib/eBay.rb', line 29517

def numItems
  @numItems
end

#productReferenceIDObject

Returns the value of attribute productReferenceID.



29520
29521
29522
# File 'lib/eBay.rb', line 29520

def productReferenceID
  @productReferenceID
end

Instance Method Details

#__xmlattrObject



29527
29528
29529
# File 'lib/eBay.rb', line 29527

def __xmlattr
  @__xmlattr ||= {}
end

#set_any(elements) ⇒ Object



29523
29524
29525
# File 'lib/eBay.rb', line 29523

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_productIDObject



29531
29532
29533
# File 'lib/eBay.rb', line 29531

def xmlattr_productID
  __xmlattr[AttrProductID]
end

#xmlattr_productID=(value) ⇒ Object



29535
29536
29537
# File 'lib/eBay.rb', line 29535

def xmlattr_productID=(value)
  __xmlattr[AttrProductID] = value
end

#xmlattr_stockPhotoURLObject



29539
29540
29541
# File 'lib/eBay.rb', line 29539

def xmlattr_stockPhotoURL
  __xmlattr[AttrStockPhotoURL]
end

#xmlattr_stockPhotoURL=(value) ⇒ Object



29543
29544
29545
# File 'lib/eBay.rb', line 29543

def xmlattr_stockPhotoURL=(value)
  __xmlattr[AttrStockPhotoURL] = value
end

#xmlattr_titleObject



29547
29548
29549
# File 'lib/eBay.rb', line 29547

def xmlattr_title
  __xmlattr[AttrTitle]
end

#xmlattr_title=(value) ⇒ Object



29551
29552
29553
# File 'lib/eBay.rb', line 29551

def xmlattr_title=(value)
  __xmlattr[AttrTitle] = value
end