Class: PromotedItemType

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

Overview

urn:ebay:apis:eBLBaseComponentsPromotedItemType

itemID - (any)
pictureURL - SOAP::SOAPString
position - SOAP::SOAPInt
selectionType - PromotionItemSelectionCodeType
title - SOAP::SOAPString
listingType - ListingTypeCodeType
promotionDetails - PromotionDetailsType
timeLeft - SOAP::SOAPDuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(itemID = nil, pictureURL = nil, position = nil, selectionType = nil, title = nil, listingType = nil, promotionDetails = [], timeLeft = nil) ⇒ PromotedItemType

Returns a new instance of PromotedItemType.



22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
# File 'lib/eBay.rb', line 22696

def initialize(itemID = nil, pictureURL = nil, position = nil, selectionType = nil, title = nil, listingType = nil, promotionDetails = [], timeLeft = nil)
  @itemID = itemID
  @pictureURL = pictureURL
  @position = position
  @selectionType = selectionType
  @title = title
  @listingType = listingType
  @promotionDetails = promotionDetails
  @timeLeft = timeLeft
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



22690
22691
22692
# File 'lib/eBay.rb', line 22690

def __xmlele_any
  @__xmlele_any
end

#itemIDObject

Returns the value of attribute itemID.



22682
22683
22684
# File 'lib/eBay.rb', line 22682

def itemID
  @itemID
end

#listingTypeObject

Returns the value of attribute listingType.



22687
22688
22689
# File 'lib/eBay.rb', line 22687

def listingType
  @listingType
end

#pictureURLObject

Returns the value of attribute pictureURL.



22683
22684
22685
# File 'lib/eBay.rb', line 22683

def pictureURL
  @pictureURL
end

#positionObject

Returns the value of attribute position.



22684
22685
22686
# File 'lib/eBay.rb', line 22684

def position
  @position
end

#promotionDetailsObject

Returns the value of attribute promotionDetails.



22688
22689
22690
# File 'lib/eBay.rb', line 22688

def promotionDetails
  @promotionDetails
end

#selectionTypeObject

Returns the value of attribute selectionType.



22685
22686
22687
# File 'lib/eBay.rb', line 22685

def selectionType
  @selectionType
end

#timeLeftObject

Returns the value of attribute timeLeft.



22689
22690
22691
# File 'lib/eBay.rb', line 22689

def timeLeft
  @timeLeft
end

#titleObject

Returns the value of attribute title.



22686
22687
22688
# File 'lib/eBay.rb', line 22686

def title
  @title
end

Instance Method Details

#set_any(elements) ⇒ Object



22692
22693
22694
# File 'lib/eBay.rb', line 22692

def set_any(elements)
  @__xmlele_any = elements
end