Class: PromotedItemType
- Inherits:
-
Object
- Object
- PromotedItemType
- 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
-
#__xmlele_any ⇒ Object
readonly
Returns the value of attribute __xmlele_any.
-
#itemID ⇒ Object
Returns the value of attribute itemID.
-
#listingType ⇒ Object
Returns the value of attribute listingType.
-
#pictureURL ⇒ Object
Returns the value of attribute pictureURL.
-
#position ⇒ Object
Returns the value of attribute position.
-
#promotionDetails ⇒ Object
Returns the value of attribute promotionDetails.
-
#selectionType ⇒ Object
Returns the value of attribute selectionType.
-
#timeLeft ⇒ Object
Returns the value of attribute timeLeft.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(itemID = nil, pictureURL = nil, position = nil, selectionType = nil, title = nil, listingType = nil, promotionDetails = [], timeLeft = nil) ⇒ PromotedItemType
constructor
A new instance of PromotedItemType.
- #set_any(elements) ⇒ Object
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_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
22690 22691 22692 |
# File 'lib/eBay.rb', line 22690 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
22682 22683 22684 |
# File 'lib/eBay.rb', line 22682 def itemID @itemID end |
#listingType ⇒ Object
Returns the value of attribute listingType.
22687 22688 22689 |
# File 'lib/eBay.rb', line 22687 def listingType @listingType end |
#pictureURL ⇒ Object
Returns the value of attribute pictureURL.
22683 22684 22685 |
# File 'lib/eBay.rb', line 22683 def pictureURL @pictureURL end |
#position ⇒ Object
Returns the value of attribute position.
22684 22685 22686 |
# File 'lib/eBay.rb', line 22684 def position @position end |
#promotionDetails ⇒ Object
Returns the value of attribute promotionDetails.
22688 22689 22690 |
# File 'lib/eBay.rb', line 22688 def promotionDetails @promotionDetails end |
#selectionType ⇒ Object
Returns the value of attribute selectionType.
22685 22686 22687 |
# File 'lib/eBay.rb', line 22685 def selectionType @selectionType end |
#timeLeft ⇒ Object
Returns the value of attribute timeLeft.
22689 22690 22691 |
# File 'lib/eBay.rb', line 22689 def timeLeft @timeLeft end |
#title ⇒ Object
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 |