Class: EBay::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 - EBay::PromotionItemSelectionCodeType
title - SOAP::SOAPString
listingType - EBay::ListingTypeCodeType
promotionDetails - EBay::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.



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_anyObject (readonly)

Returns the value of attribute __xmlele_any.



29598
29599
29600
# File 'lib/eBay.rb', line 29598

def __xmlele_any
  @__xmlele_any
end

#itemIDObject

Returns the value of attribute itemID.



29590
29591
29592
# File 'lib/eBay.rb', line 29590

def itemID
  @itemID
end

#listingTypeObject

Returns the value of attribute listingType.



29595
29596
29597
# File 'lib/eBay.rb', line 29595

def listingType
  @listingType
end

#pictureURLObject

Returns the value of attribute pictureURL.



29591
29592
29593
# File 'lib/eBay.rb', line 29591

def pictureURL
  @pictureURL
end

#positionObject

Returns the value of attribute position.



29592
29593
29594
# File 'lib/eBay.rb', line 29592

def position
  @position
end

#promotionDetailsObject

Returns the value of attribute promotionDetails.



29596
29597
29598
# File 'lib/eBay.rb', line 29596

def promotionDetails
  @promotionDetails
end

#selectionTypeObject

Returns the value of attribute selectionType.



29593
29594
29595
# File 'lib/eBay.rb', line 29593

def selectionType
  @selectionType
end

#timeLeftObject

Returns the value of attribute timeLeft.



29597
29598
29599
# File 'lib/eBay.rb', line 29597

def timeLeft
  @timeLeft
end

#titleObject

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