Class: AddToWatchListRequestType

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

Overview

urn:ebay:apis:eBLBaseComponentsAddToWatchListRequestType

Constant Summary collapse

@@schema_type =
"AddToWatchListRequestType"
@@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")]],
  ["itemID", ["SOAP::SOAPString[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, itemID = []) ⇒ AddToWatchListRequestType

Returns a new instance of AddToWatchListRequestType.



1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
# File 'lib/eBay.rb', line 1151

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



1144
1145
1146
# File 'lib/eBay.rb', line 1144

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



1137
1138
1139
# File 'lib/eBay.rb', line 1137

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



1141
1142
1143
# File 'lib/eBay.rb', line 1141

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



1138
1139
1140
# File 'lib/eBay.rb', line 1138

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



1142
1143
1144
# File 'lib/eBay.rb', line 1142

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



1145
1146
1147
# File 'lib/eBay.rb', line 1145

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



1139
1140
1141
# File 'lib/eBay.rb', line 1139

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



1140
1141
1142
# File 'lib/eBay.rb', line 1140

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



1143
1144
1145
# File 'lib/eBay.rb', line 1143

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



1147
1148
1149
# File 'lib/eBay.rb', line 1147

def set_any(elements)
  @__xmlele_any = elements
end