Class: ExpressProductType

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

Overview

urn:ebay:apis:eBLBaseComponentsExpressProductType

Constant Summary collapse

@@schema_type =
"ExpressProductType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["title", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Title")]],
  ["minPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MinPrice")]],
  ["maxPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MaxPrice")]],
  ["stockPhotoURL", ["SOAP::SOAPAnyURI", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "StockPhotoURL")]],
  ["itemCount", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemCount")]],
  ["externalProductID", ["ExternalProductIDType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExternalProductID")]],
  ["productReferenceID", ["SOAP::SOAPLong", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ProductReferenceID")]],
  ["itemSpecifics", ["NameValueListArrayType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemSpecifics")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title = nil, minPrice = nil, maxPrice = nil, stockPhotoURL = nil, itemCount = nil, externalProductID = nil, productReferenceID = nil, itemSpecifics = nil) ⇒ ExpressProductType

Returns a new instance of ExpressProductType.



17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
# File 'lib/eBay.rb', line 17459

def initialize(title = nil, minPrice = nil, maxPrice = nil, stockPhotoURL = nil, itemCount = nil, externalProductID = nil, productReferenceID = nil, itemSpecifics = nil)
  @title = title
  @minPrice = minPrice
  @maxPrice = maxPrice
  @stockPhotoURL = stockPhotoURL
  @itemCount = itemCount
  @externalProductID = externalProductID
  @productReferenceID = productReferenceID
  @itemSpecifics = itemSpecifics
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



17453
17454
17455
# File 'lib/eBay.rb', line 17453

def __xmlele_any
  @__xmlele_any
end

#externalProductIDObject

Returns the value of attribute externalProductID.



17450
17451
17452
# File 'lib/eBay.rb', line 17450

def externalProductID
  @externalProductID
end

#itemCountObject

Returns the value of attribute itemCount.



17449
17450
17451
# File 'lib/eBay.rb', line 17449

def itemCount
  @itemCount
end

#itemSpecificsObject

Returns the value of attribute itemSpecifics.



17452
17453
17454
# File 'lib/eBay.rb', line 17452

def itemSpecifics
  @itemSpecifics
end

#maxPriceObject

Returns the value of attribute maxPrice.



17447
17448
17449
# File 'lib/eBay.rb', line 17447

def maxPrice
  @maxPrice
end

#minPriceObject

Returns the value of attribute minPrice.



17446
17447
17448
# File 'lib/eBay.rb', line 17446

def minPrice
  @minPrice
end

#productReferenceIDObject

Returns the value of attribute productReferenceID.



17451
17452
17453
# File 'lib/eBay.rb', line 17451

def productReferenceID
  @productReferenceID
end

#stockPhotoURLObject

Returns the value of attribute stockPhotoURL.



17448
17449
17450
# File 'lib/eBay.rb', line 17448

def stockPhotoURL
  @stockPhotoURL
end

#titleObject

Returns the value of attribute title.



17445
17446
17447
# File 'lib/eBay.rb', line 17445

def title
  @title
end

Instance Method Details

#set_any(elements) ⇒ Object



17455
17456
17457
# File 'lib/eBay.rb', line 17455

def set_any(elements)
  @__xmlele_any = elements
end