Class: PromotedItemType
- Inherits:
-
Object
- Object
- PromotedItemType
- 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
-
#__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.
-
#promotionPrice ⇒ Object
Returns the value of attribute promotionPrice.
-
#promotionPriceType ⇒ Object
Returns the value of attribute promotionPriceType.
-
#selectionType ⇒ Object
Returns the value of attribute selectionType.
-
#selfHostedURL ⇒ Object
Returns the value of attribute selfHostedURL.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(itemID = nil, pictureURL = nil, selfHostedURL = nil, position = nil, promotionPrice = nil, promotionPriceType = nil, selectionType = nil, title = nil, listingType = nil) ⇒ PromotedItemType
constructor
A new instance of PromotedItemType.
- #set_any(elements) ⇒ Object
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.
18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 |
# File 'lib/eBay.rb', line 18854 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_any ⇒ Object (readonly)
Returns the value of attribute __xmlele_any.
18848 18849 18850 |
# File 'lib/eBay.rb', line 18848 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
18839 18840 18841 |
# File 'lib/eBay.rb', line 18839 def itemID @itemID end |
#listingType ⇒ Object
Returns the value of attribute listingType.
18847 18848 18849 |
# File 'lib/eBay.rb', line 18847 def listingType @listingType end |
#pictureURL ⇒ Object
Returns the value of attribute pictureURL.
18840 18841 18842 |
# File 'lib/eBay.rb', line 18840 def pictureURL @pictureURL end |
#position ⇒ Object
Returns the value of attribute position.
18842 18843 18844 |
# File 'lib/eBay.rb', line 18842 def position @position end |
#promotionPrice ⇒ Object
Returns the value of attribute promotionPrice.
18843 18844 18845 |
# File 'lib/eBay.rb', line 18843 def promotionPrice @promotionPrice end |
#promotionPriceType ⇒ Object
Returns the value of attribute promotionPriceType.
18844 18845 18846 |
# File 'lib/eBay.rb', line 18844 def promotionPriceType @promotionPriceType end |
#selectionType ⇒ Object
Returns the value of attribute selectionType.
18845 18846 18847 |
# File 'lib/eBay.rb', line 18845 def selectionType @selectionType end |
#selfHostedURL ⇒ Object
Returns the value of attribute selfHostedURL.
18841 18842 18843 |
# File 'lib/eBay.rb', line 18841 def selfHostedURL @selfHostedURL end |
#title ⇒ Object
Returns the value of attribute title.
18846 18847 18848 |
# File 'lib/eBay.rb', line 18846 def title @title end |
Instance Method Details
#set_any(elements) ⇒ Object
18850 18851 18852 |
# File 'lib/eBay.rb', line 18850 def set_any(elements) @__xmlele_any = elements end |