Class: PromotedItemType

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

Overview

urn:ebay:apis:eBLBaseComponentsPromotedItemType

Constant Summary collapse

@@schema_type =
"PromotedItemType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["itemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]],
  ["pictureURL", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PictureURL")]],
  ["selfHostedURL", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SelfHostedURL")]],
  ["position", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Position")]],
  ["promotionPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionPrice")]],
  ["promotionPriceType", ["PromotionItemPriceTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionPriceType")]],
  ["selectionType", ["PromotionItemSelectionCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SelectionType")]],
  ["title", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Title")]],
  ["listingType", ["ListingTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ListingType")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(itemID = nil, pictureURL = nil, selfHostedURL = nil, position = nil, promotionPrice = nil, promotionPriceType = nil, selectionType = nil, title = nil, listingType = nil) ⇒ PromotedItemType

Returns a new instance of PromotedItemType.



21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
# File 'lib/eBay.rb', line 21318

def initialize(itemID = nil, pictureURL = nil, selfHostedURL = nil, position = nil, promotionPrice = nil, promotionPriceType = nil, selectionType = nil, title = nil, listingType = nil)
  @itemID = itemID
  @pictureURL = pictureURL
  @selfHostedURL = selfHostedURL
  @position = position
  @promotionPrice = promotionPrice
  @promotionPriceType = promotionPriceType
  @selectionType = selectionType
  @title = title
  @listingType = listingType
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



21312
21313
21314
# File 'lib/eBay.rb', line 21312

def __xmlele_any
  @__xmlele_any
end

#itemIDObject

Returns the value of attribute itemID.



21303
21304
21305
# File 'lib/eBay.rb', line 21303

def itemID
  @itemID
end

#listingTypeObject

Returns the value of attribute listingType.



21311
21312
21313
# File 'lib/eBay.rb', line 21311

def listingType
  @listingType
end

#pictureURLObject

Returns the value of attribute pictureURL.



21304
21305
21306
# File 'lib/eBay.rb', line 21304

def pictureURL
  @pictureURL
end

#positionObject

Returns the value of attribute position.



21306
21307
21308
# File 'lib/eBay.rb', line 21306

def position
  @position
end

#promotionPriceObject

Returns the value of attribute promotionPrice.



21307
21308
21309
# File 'lib/eBay.rb', line 21307

def promotionPrice
  @promotionPrice
end

#promotionPriceTypeObject

Returns the value of attribute promotionPriceType.



21308
21309
21310
# File 'lib/eBay.rb', line 21308

def promotionPriceType
  @promotionPriceType
end

#selectionTypeObject

Returns the value of attribute selectionType.



21309
21310
21311
# File 'lib/eBay.rb', line 21309

def selectionType
  @selectionType
end

#selfHostedURLObject

Returns the value of attribute selfHostedURL.



21305
21306
21307
# File 'lib/eBay.rb', line 21305

def selfHostedURL
  @selfHostedURL
end

#titleObject

Returns the value of attribute title.



21310
21311
21312
# File 'lib/eBay.rb', line 21310

def title
  @title
end

Instance Method Details

#set_any(elements) ⇒ Object



21314
21315
21316
# File 'lib/eBay.rb', line 21314

def set_any(elements)
  @__xmlele_any = elements
end