Class: PromotedItemType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.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")]],
  ["position", "SOAP::SOAPInt"],
  ["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")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of PromotedItemType.



1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
# File 'lib/paypal-business/default.rb', line 1845

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

Instance Attribute Details

#itemIDObject

Returns the value of attribute itemID.



1836
1837
1838
# File 'lib/paypal-business/default.rb', line 1836

def itemID
  @itemID
end

#listingTypeObject

Returns the value of attribute listingType.



1843
1844
1845
# File 'lib/paypal-business/default.rb', line 1843

def listingType
  @listingType
end

#pictureURLObject

Returns the value of attribute pictureURL.



1837
1838
1839
# File 'lib/paypal-business/default.rb', line 1837

def pictureURL
  @pictureURL
end

#positionObject

Returns the value of attribute position.



1838
1839
1840
# File 'lib/paypal-business/default.rb', line 1838

def position
  @position
end

#promotionPriceObject

Returns the value of attribute promotionPrice.



1839
1840
1841
# File 'lib/paypal-business/default.rb', line 1839

def promotionPrice
  @promotionPrice
end

#promotionPriceTypeObject

Returns the value of attribute promotionPriceType.



1840
1841
1842
# File 'lib/paypal-business/default.rb', line 1840

def promotionPriceType
  @promotionPriceType
end

#selectionTypeObject

Returns the value of attribute selectionType.



1841
1842
1843
# File 'lib/paypal-business/default.rb', line 1841

def selectionType
  @selectionType
end

#titleObject

Returns the value of attribute title.



1842
1843
1844
# File 'lib/paypal-business/default.rb', line 1842

def title
  @title
end