Class: PromotedItemType
- Inherits:
-
Object
- Object
- PromotedItemType
- Defined in:
- lib/v_paypal/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.
1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 |
# File 'lib/v_paypal/default.rb', line 1665 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.
1656 1657 1658 |
# File 'lib/v_paypal/default.rb', line 1656 def itemID @itemID end |
#listingType ⇒ Object
Returns the value of attribute listingType.
1663 1664 1665 |
# File 'lib/v_paypal/default.rb', line 1663 def listingType @listingType end |
#pictureURL ⇒ Object
Returns the value of attribute pictureURL.
1657 1658 1659 |
# File 'lib/v_paypal/default.rb', line 1657 def pictureURL @pictureURL end |
#position ⇒ Object
Returns the value of attribute position.
1658 1659 1660 |
# File 'lib/v_paypal/default.rb', line 1658 def position @position end |
#promotionPrice ⇒ Object
Returns the value of attribute promotionPrice.
1659 1660 1661 |
# File 'lib/v_paypal/default.rb', line 1659 def promotionPrice @promotionPrice end |
#promotionPriceType ⇒ Object
Returns the value of attribute promotionPriceType.
1660 1661 1662 |
# File 'lib/v_paypal/default.rb', line 1660 def promotionPriceType @promotionPriceType end |
#selectionType ⇒ Object
Returns the value of attribute selectionType.
1661 1662 1663 |
# File 'lib/v_paypal/default.rb', line 1661 def selectionType @selectionType end |
#title ⇒ Object
Returns the value of attribute title.
1662 1663 1664 |
# File 'lib/v_paypal/default.rb', line 1662 def title @title end |