Class: ProductType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductType

characteristicsSet - CharacteristicsSetType
detailsURL - SOAP::SOAPAnyURI
numItems - SOAP::SOAPInt
minPrice - AmountType
maxPrice - AmountType
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) ⇒ ProductType

Returns a new instance of ProductType.



22661
22662
22663
22664
22665
22666
22667
22668
22669
# File 'lib/eBay.rb', line 22661

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



22627
22628
22629
# File 'lib/eBay.rb', line 22627

def __xmlele_any
  @__xmlele_any
end

#characteristicsSetObject

Returns the value of attribute characteristicsSet.



22622
22623
22624
# File 'lib/eBay.rb', line 22622

def characteristicsSet
  @characteristicsSet
end

#detailsURLObject

Returns the value of attribute detailsURL.



22623
22624
22625
# File 'lib/eBay.rb', line 22623

def detailsURL
  @detailsURL
end

#maxPriceObject

Returns the value of attribute maxPrice.



22626
22627
22628
# File 'lib/eBay.rb', line 22626

def maxPrice
  @maxPrice
end

#minPriceObject

Returns the value of attribute minPrice.



22625
22626
22627
# File 'lib/eBay.rb', line 22625

def minPrice
  @minPrice
end

#numItemsObject

Returns the value of attribute numItems.



22624
22625
22626
# File 'lib/eBay.rb', line 22624

def numItems
  @numItems
end

Instance Method Details

#__xmlattrObject



22633
22634
22635
# File 'lib/eBay.rb', line 22633

def __xmlattr
  @__xmlattr ||= {}
end

#set_any(elements) ⇒ Object



22629
22630
22631
# File 'lib/eBay.rb', line 22629

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_productIDObject



22637
22638
22639
# File 'lib/eBay.rb', line 22637

def xmlattr_productID
  __xmlattr[AttrProductID]
end

#xmlattr_productID=(value) ⇒ Object



22641
22642
22643
# File 'lib/eBay.rb', line 22641

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

#xmlattr_stockPhotoURLObject



22645
22646
22647
# File 'lib/eBay.rb', line 22645

def xmlattr_stockPhotoURL
  __xmlattr[AttrStockPhotoURL]
end

#xmlattr_stockPhotoURL=(value) ⇒ Object



22649
22650
22651
# File 'lib/eBay.rb', line 22649

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

#xmlattr_titleObject



22653
22654
22655
# File 'lib/eBay.rb', line 22653

def xmlattr_title
  __xmlattr[AttrTitle]
end

#xmlattr_title=(value) ⇒ Object



22657
22658
22659
# File 'lib/eBay.rb', line 22657

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