Class: AddItemRequestType

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

Overview

urn:ebay:apis:eBLBaseComponentsAddItemRequestType

Constant Summary collapse

@@schema_type =
"AddItemRequestType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["detailLevel", ["DetailLevelCodeType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "DetailLevel")]],
  ["errorLanguage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorLanguage")]],
  ["messageID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "MessageID")]],
  ["version", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Version")]],
  ["errorHandling", ["ErrorHandlingCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorHandling")]],
  ["invocationID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvocationID")]],
  ["warningLevel", ["WarningLevelCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "WarningLevel")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]],
  ["item", ["ItemType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Item")]],
  ["externalProductID", ["ExternalProductIDType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ExternalProductID")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, item = nil, externalProductID = nil) ⇒ AddItemRequestType

Returns a new instance of AddItemRequestType.



264
265
266
267
268
269
270
271
272
273
274
275
# File 'lib/eBay.rb', line 264

def initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, item = nil, externalProductID = nil)
  @detailLevel = detailLevel
  @errorLanguage = errorLanguage
  @messageID = messageID
  @version = version
  @errorHandling = errorHandling
  @invocationID = invocationID
  @warningLevel = warningLevel
  @__xmlele_any = nil
  @item = item
  @externalProductID = externalProductID
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



256
257
258
# File 'lib/eBay.rb', line 256

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



249
250
251
# File 'lib/eBay.rb', line 249

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



253
254
255
# File 'lib/eBay.rb', line 253

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



250
251
252
# File 'lib/eBay.rb', line 250

def errorLanguage
  @errorLanguage
end

#externalProductIDObject

Returns the value of attribute externalProductID.



258
259
260
# File 'lib/eBay.rb', line 258

def externalProductID
  @externalProductID
end

#invocationIDObject

Returns the value of attribute invocationID.



254
255
256
# File 'lib/eBay.rb', line 254

def invocationID
  @invocationID
end

#itemObject

Returns the value of attribute item.



257
258
259
# File 'lib/eBay.rb', line 257

def item
  @item
end

#messageIDObject

Returns the value of attribute messageID.



251
252
253
# File 'lib/eBay.rb', line 251

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



252
253
254
# File 'lib/eBay.rb', line 252

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



255
256
257
# File 'lib/eBay.rb', line 255

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



260
261
262
# File 'lib/eBay.rb', line 260

def set_any(elements)
  @__xmlele_any = elements
end