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"], ["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.
16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 |
# File 'lib/eBay.rb', line 16510 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.
16504 16505 16506 |
# File 'lib/eBay.rb', line 16504 def __xmlele_any @__xmlele_any end |
#itemID ⇒ Object
Returns the value of attribute itemID.
16495 16496 16497 |
# File 'lib/eBay.rb', line 16495 def itemID @itemID end |
#listingType ⇒ Object
Returns the value of attribute listingType.
16503 16504 16505 |
# File 'lib/eBay.rb', line 16503 def listingType @listingType end |
#pictureURL ⇒ Object
Returns the value of attribute pictureURL.
16496 16497 16498 |
# File 'lib/eBay.rb', line 16496 def pictureURL @pictureURL end |
#position ⇒ Object
Returns the value of attribute position.
16498 16499 16500 |
# File 'lib/eBay.rb', line 16498 def position @position end |
#promotionPrice ⇒ Object
Returns the value of attribute promotionPrice.
16499 16500 16501 |
# File 'lib/eBay.rb', line 16499 def promotionPrice @promotionPrice end |
#promotionPriceType ⇒ Object
Returns the value of attribute promotionPriceType.
16500 16501 16502 |
# File 'lib/eBay.rb', line 16500 def promotionPriceType @promotionPriceType end |
#selectionType ⇒ Object
Returns the value of attribute selectionType.
16501 16502 16503 |
# File 'lib/eBay.rb', line 16501 def selectionType @selectionType end |
#selfHostedURL ⇒ Object
Returns the value of attribute selfHostedURL.
16497 16498 16499 |
# File 'lib/eBay.rb', line 16497 def selfHostedURL @selfHostedURL end |
#title ⇒ Object
Returns the value of attribute title.
16502 16503 16504 |
# File 'lib/eBay.rb', line 16502 def title @title end |
Instance Method Details
#set_any(elements) ⇒ Object
16506 16507 16508 |
# File 'lib/eBay.rb', line 16506 def set_any(elements) @__xmlele_any = elements end |