Class: ProductListingDetailsType

Inherits:
Object
  • Object
show all
Defined in:
lib/eBay.rb

Overview

urn:ebay:apis:eBLBaseComponentsProductListingDetailsType

Constant Summary collapse

@@schema_type =
"ProductListingDetailsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["productID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ProductID")]],
  ["includeStockPhotoURL", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "IncludeStockPhotoURL")]],
  ["includePrefilledItemInformation", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "IncludePrefilledItemInformation")]],
  ["useStockPhotoURLAsGallery", ["SOAP::SOAPBoolean", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "UseStockPhotoURLAsGallery")]],
  ["stockPhotoURL", ["SOAP::SOAPAnyURI", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "StockPhotoURL")]],
  ["copyright", ["SOAP::SOAPString[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Copyright")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productID = nil, includeStockPhotoURL = nil, includePrefilledItemInformation = nil, useStockPhotoURLAsGallery = nil, stockPhotoURL = nil, copyright = []) ⇒ ProductListingDetailsType

Returns a new instance of ProductListingDetailsType.



18602
18603
18604
18605
18606
18607
18608
18609
18610
# File 'lib/eBay.rb', line 18602

def initialize(productID = nil, includeStockPhotoURL = nil, includePrefilledItemInformation = nil, useStockPhotoURLAsGallery = nil, stockPhotoURL = nil, copyright = [])
  @productID = productID
  @includeStockPhotoURL = includeStockPhotoURL
  @includePrefilledItemInformation = includePrefilledItemInformation
  @useStockPhotoURLAsGallery = useStockPhotoURLAsGallery
  @stockPhotoURL = stockPhotoURL
  @copyright = copyright
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



18596
18597
18598
# File 'lib/eBay.rb', line 18596

def __xmlele_any
  @__xmlele_any
end

Returns the value of attribute copyright.



18595
18596
18597
# File 'lib/eBay.rb', line 18595

def copyright
  @copyright
end

#includePrefilledItemInformationObject

Returns the value of attribute includePrefilledItemInformation.



18592
18593
18594
# File 'lib/eBay.rb', line 18592

def includePrefilledItemInformation
  @includePrefilledItemInformation
end

#includeStockPhotoURLObject

Returns the value of attribute includeStockPhotoURL.



18591
18592
18593
# File 'lib/eBay.rb', line 18591

def includeStockPhotoURL
  @includeStockPhotoURL
end

#productIDObject

Returns the value of attribute productID.



18590
18591
18592
# File 'lib/eBay.rb', line 18590

def productID
  @productID
end

#stockPhotoURLObject

Returns the value of attribute stockPhotoURL.



18594
18595
18596
# File 'lib/eBay.rb', line 18594

def stockPhotoURL
  @stockPhotoURL
end

#useStockPhotoURLAsGalleryObject

Returns the value of attribute useStockPhotoURLAsGallery.



18593
18594
18595
# File 'lib/eBay.rb', line 18593

def useStockPhotoURLAsGallery
  @useStockPhotoURLAsGallery
end

Instance Method Details

#set_any(elements) ⇒ Object



18598
18599
18600
# File 'lib/eBay.rb', line 18598

def set_any(elements)
  @__xmlele_any = elements
end