Class: PromotedItemType

Inherits:
Object
  • Object
show all
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

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.



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

#itemIDObject

Returns the value of attribute itemID.



1656
1657
1658
# File 'lib/v_paypal/default.rb', line 1656

def itemID
  @itemID
end

#listingTypeObject

Returns the value of attribute listingType.



1663
1664
1665
# File 'lib/v_paypal/default.rb', line 1663

def listingType
  @listingType
end

#pictureURLObject

Returns the value of attribute pictureURL.



1657
1658
1659
# File 'lib/v_paypal/default.rb', line 1657

def pictureURL
  @pictureURL
end

#positionObject

Returns the value of attribute position.



1658
1659
1660
# File 'lib/v_paypal/default.rb', line 1658

def position
  @position
end

#promotionPriceObject

Returns the value of attribute promotionPrice.



1659
1660
1661
# File 'lib/v_paypal/default.rb', line 1659

def promotionPrice
  @promotionPrice
end

#promotionPriceTypeObject

Returns the value of attribute promotionPriceType.



1660
1661
1662
# File 'lib/v_paypal/default.rb', line 1660

def promotionPriceType
  @promotionPriceType
end

#selectionTypeObject

Returns the value of attribute selectionType.



1661
1662
1663
# File 'lib/v_paypal/default.rb', line 1661

def selectionType
  @selectionType
end

#titleObject

Returns the value of attribute title.



1662
1663
1664
# File 'lib/v_paypal/default.rb', line 1662

def title
  @title
end