Class: ProductType

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

Overview

urn:ebay:apis:eBLBaseComponentsProductType

Constant Summary collapse

@@schema_type =
"ProductType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "productID") => "SOAP::SOAPString",
  XSD::QName.new(nil, "stockPhotoURL") => "SOAP::SOAPAnyURI",
  XSD::QName.new(nil, "title") => "SOAP::SOAPString"
}
@@schema_element =
[
  ["characteristicsSet", ["CharacteristicsSetType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "CharacteristicsSet")]],
  ["detailsURL", ["SOAP::SOAPAnyURI", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailsURL")]],
  ["numItems", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "NumItems")]],
  ["minPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MinPrice")]],
  ["maxPrice", ["AmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MaxPrice")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(characteristicsSet = nil, detailsURL = nil, numItems = nil, minPrice = nil, maxPrice = nil) ⇒ ProductType

Returns a new instance of ProductType.



21275
21276
21277
21278
21279
21280
21281
21282
21283
# File 'lib/eBay.rb', line 21275

def initialize(characteristicsSet = nil, detailsURL = nil, numItems = nil, minPrice = nil, maxPrice = nil)
  @characteristicsSet = characteristicsSet
  @detailsURL = detailsURL
  @numItems = numItems
  @minPrice = minPrice
  @maxPrice = maxPrice
  @__xmlele_any = nil
  @__xmlattr = {}
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



21245
21246
21247
# File 'lib/eBay.rb', line 21245

def __xmlele_any
  @__xmlele_any
end

#characteristicsSetObject

Returns the value of attribute characteristicsSet.



21240
21241
21242
# File 'lib/eBay.rb', line 21240

def characteristicsSet
  @characteristicsSet
end

#detailsURLObject

Returns the value of attribute detailsURL.



21241
21242
21243
# File 'lib/eBay.rb', line 21241

def detailsURL
  @detailsURL
end

#maxPriceObject

Returns the value of attribute maxPrice.



21244
21245
21246
# File 'lib/eBay.rb', line 21244

def maxPrice
  @maxPrice
end

#minPriceObject

Returns the value of attribute minPrice.



21243
21244
21245
# File 'lib/eBay.rb', line 21243

def minPrice
  @minPrice
end

#numItemsObject

Returns the value of attribute numItems.



21242
21243
21244
# File 'lib/eBay.rb', line 21242

def numItems
  @numItems
end

Instance Method Details

#set_any(elements) ⇒ Object



21247
21248
21249
# File 'lib/eBay.rb', line 21247

def set_any(elements)
  @__xmlele_any = elements
end

#xmlattr_productIDObject



21251
21252
21253
# File 'lib/eBay.rb', line 21251

def xmlattr_productID
  (@__xmlattr ||= {})[XSD::QName.new(nil, "productID")]
end

#xmlattr_productID=(value) ⇒ Object



21255
21256
21257
# File 'lib/eBay.rb', line 21255

def xmlattr_productID=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "productID")] = value
end

#xmlattr_stockPhotoURLObject



21259
21260
21261
# File 'lib/eBay.rb', line 21259

def xmlattr_stockPhotoURL
  (@__xmlattr ||= {})[XSD::QName.new(nil, "stockPhotoURL")]
end

#xmlattr_stockPhotoURL=(value) ⇒ Object



21263
21264
21265
# File 'lib/eBay.rb', line 21263

def xmlattr_stockPhotoURL=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "stockPhotoURL")] = value
end

#xmlattr_titleObject



21267
21268
21269
# File 'lib/eBay.rb', line 21267

def xmlattr_title
  (@__xmlattr ||= {})[XSD::QName.new(nil, "title")]
end

#xmlattr_title=(value) ⇒ Object



21271
21272
21273
# File 'lib/eBay.rb', line 21271

def xmlattr_title=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "title")] = value
end