Class: GetPromotionRulesRequestType

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

Overview

urn:ebay:apis:eBLBaseComponentsGetPromotionRulesRequestType

Constant Summary collapse

@@schema_type =
"GetPromotionRulesRequestType"
@@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")]],
["itemID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ItemID")]],
["storeCategoryID", ["SOAP::SOAPInt", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "StoreCategoryID")]],
["promotionMethod", ["PromotionMethodCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionMethod")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, itemID = nil, storeCategoryID = nil, promotionMethod = nil) ⇒ GetPromotionRulesRequestType

Returns a new instance of GetPromotionRulesRequestType.



6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
# File 'lib/eBay.rb', line 6182

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



6173
6174
6175
# File 'lib/eBay.rb', line 6173

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



6167
6168
6169
# File 'lib/eBay.rb', line 6167

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



6171
6172
6173
# File 'lib/eBay.rb', line 6171

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



6168
6169
6170
# File 'lib/eBay.rb', line 6168

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



6172
6173
6174
# File 'lib/eBay.rb', line 6172

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



6174
6175
6176
# File 'lib/eBay.rb', line 6174

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



6169
6170
6171
# File 'lib/eBay.rb', line 6169

def messageID
  @messageID
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



6176
6177
6178
# File 'lib/eBay.rb', line 6176

def promotionMethod
  @promotionMethod
end

#storeCategoryIDObject

Returns the value of attribute storeCategoryID.



6175
6176
6177
# File 'lib/eBay.rb', line 6175

def storeCategoryID
  @storeCategoryID
end

#versionObject

Returns the value of attribute version.



6170
6171
6172
# File 'lib/eBay.rb', line 6170

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



6178
6179
6180
# File 'lib/eBay.rb', line 6178

def set_any(elements)
  @__xmlele_any = elements
end