Class: EBay::PromotedItemType
- Inherits:
-
Object
- Object
- EBay::PromotedItemType
- Defined in:
- lib/eBay.rb
Overview
urn:ebay:apis:eBLBaseComponentsPromotedItemType
itemID - (any)
pictureURL - SOAP::SOAPString
position - SOAP::SOAPInt
selectionType - EBay::PromotionItemSelectionCodeType
title - SOAP::SOAPString
listingType - EBay::ListingTypeCodeType
promotionDetails - EBay::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.
29604 29605 29606 29607 29608 29609 29610 29611 29612 29613 29614 |
# File 'lib/eBay.rb', line 29604 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.
29598 29599 29600 |
# File 'lib/eBay.rb', line 29598 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
29590 29591 29592 |
# File 'lib/eBay.rb', line 29590 def itemID @itemID end |
#listingType ⇒ Object
Returns the value of attribute listingType.
29595 29596 29597 |
# File 'lib/eBay.rb', line 29595 def listingType @listingType end |
#pictureURL ⇒ Object
Returns the value of attribute pictureURL.
29591 29592 29593 |
# File 'lib/eBay.rb', line 29591 def pictureURL @pictureURL end |
#position ⇒ Object
Returns the value of attribute position.
29592 29593 29594 |
# File 'lib/eBay.rb', line 29592 def position @position end |
#promotionDetails ⇒ Object
Returns the value of attribute promotionDetails.
29596 29597 29598 |
# File 'lib/eBay.rb', line 29596 def promotionDetails @promotionDetails end |
#selectionType ⇒ Object
Returns the value of attribute selectionType.
29593 29594 29595 |
# File 'lib/eBay.rb', line 29593 def selectionType @selectionType end |
#timeLeft ⇒ Object
Returns the value of attribute timeLeft.
29597 29598 29599 |
# File 'lib/eBay.rb', line 29597 def timeLeft @timeLeft end |
#title ⇒ Object
Returns the value of attribute title.
29594 29595 29596 |
# File 'lib/eBay.rb', line 29594 def title @title end |
Instance Method Details
#set_any(elements) ⇒ Object
29600 29601 29602 |
# File 'lib/eBay.rb', line 29600 def set_any(elements) @__xmlele_any = elements end |