Class: PromotedItemType
- Inherits:
-
Object
- Object
- PromotedItemType
- 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
-
#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.
-
#promotionPrice ⇒ Object
Returns the value of attribute promotionPrice.
-
#promotionPriceType ⇒ Object
Returns the value of attribute promotionPriceType.
-
#selectionType ⇒ Object
Returns the value of attribute selectionType.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(itemID = nil, pictureURL = nil, position = nil, promotionPrice = nil, promotionPriceType = nil, selectionType = nil, title = nil, listingType = nil) ⇒ PromotedItemType
constructor
A new instance of PromotedItemType.
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
#itemID ⇒ Object
Returns the value of attribute itemID.
1836 1837 1838 |
# File 'lib/paypal-business/default.rb', line 1836 def itemID @itemID end |
#listingType ⇒ Object
Returns the value of attribute listingType.
1843 1844 1845 |
# File 'lib/paypal-business/default.rb', line 1843 def listingType @listingType end |
#pictureURL ⇒ Object
Returns the value of attribute pictureURL.
1837 1838 1839 |
# File 'lib/paypal-business/default.rb', line 1837 def pictureURL @pictureURL end |
#position ⇒ Object
Returns the value of attribute position.
1838 1839 1840 |
# File 'lib/paypal-business/default.rb', line 1838 def position @position end |
#promotionPrice ⇒ Object
Returns the value of attribute promotionPrice.
1839 1840 1841 |
# File 'lib/paypal-business/default.rb', line 1839 def promotionPrice @promotionPrice end |
#promotionPriceType ⇒ Object
Returns the value of attribute promotionPriceType.
1840 1841 1842 |
# File 'lib/paypal-business/default.rb', line 1840 def promotionPriceType @promotionPriceType end |
#selectionType ⇒ Object
Returns the value of attribute selectionType.
1841 1842 1843 |
# File 'lib/paypal-business/default.rb', line 1841 def selectionType @selectionType end |
#title ⇒ Object
Returns the value of attribute title.
1842 1843 1844 |
# File 'lib/paypal-business/default.rb', line 1842 def title @title end |