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", ["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")]],
  ["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, warningLevel = nil, itemID = nil, storeCategoryID = nil, promotionMethod = nil) ⇒ GetPromotionRulesRequestType

Returns a new instance of GetPromotionRulesRequestType.



6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
# File 'lib/eBay.rb', line 6835

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



6826
6827
6828
# File 'lib/eBay.rb', line 6826

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



6819
6820
6821
# File 'lib/eBay.rb', line 6819

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



6823
6824
6825
# File 'lib/eBay.rb', line 6823

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



6820
6821
6822
# File 'lib/eBay.rb', line 6820

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



6824
6825
6826
# File 'lib/eBay.rb', line 6824

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



6827
6828
6829
# File 'lib/eBay.rb', line 6827

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



6821
6822
6823
# File 'lib/eBay.rb', line 6821

def messageID
  @messageID
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



6829
6830
6831
# File 'lib/eBay.rb', line 6829

def promotionMethod
  @promotionMethod
end

#storeCategoryIDObject

Returns the value of attribute storeCategoryID.



6828
6829
6830
# File 'lib/eBay.rb', line 6828

def storeCategoryID
  @storeCategoryID
end

#versionObject

Returns the value of attribute version.



6822
6823
6824
# File 'lib/eBay.rb', line 6822

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



6825
6826
6827
# File 'lib/eBay.rb', line 6825

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



6831
6832
6833
# File 'lib/eBay.rb', line 6831

def set_any(elements)
  @__xmlele_any = elements
end