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", ["UUIDType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvocationID")]],
["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, item = nil, externalProductID = nil) ⇒ AddItemRequestType

Returns a new instance of AddItemRequestType.



245
246
247
248
249
250
251
252
253
254
255
# File 'lib/eBay.rb', line 245

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



237
238
239
# File 'lib/eBay.rb', line 237

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



231
232
233
# File 'lib/eBay.rb', line 231

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



235
236
237
# File 'lib/eBay.rb', line 235

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



232
233
234
# File 'lib/eBay.rb', line 232

def errorLanguage
  @errorLanguage
end

#externalProductIDObject

Returns the value of attribute externalProductID.



239
240
241
# File 'lib/eBay.rb', line 239

def externalProductID
  @externalProductID
end

#invocationIDObject

Returns the value of attribute invocationID.



236
237
238
# File 'lib/eBay.rb', line 236

def invocationID
  @invocationID
end

#itemObject

Returns the value of attribute item.



238
239
240
# File 'lib/eBay.rb', line 238

def item
  @item
end

#messageIDObject

Returns the value of attribute messageID.



233
234
235
# File 'lib/eBay.rb', line 233

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



234
235
236
# File 'lib/eBay.rb', line 234

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



241
242
243
# File 'lib/eBay.rb', line 241

def set_any(elements)
  @__xmlele_any = elements
end