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.



7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
# File 'lib/eBay.rb', line 7693

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.



7684
7685
7686
# File 'lib/eBay.rb', line 7684

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



7677
7678
7679
# File 'lib/eBay.rb', line 7677

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



7681
7682
7683
# File 'lib/eBay.rb', line 7681

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



7678
7679
7680
# File 'lib/eBay.rb', line 7678

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



7682
7683
7684
# File 'lib/eBay.rb', line 7682

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



7685
7686
7687
# File 'lib/eBay.rb', line 7685

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



7679
7680
7681
# File 'lib/eBay.rb', line 7679

def messageID
  @messageID
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



7687
7688
7689
# File 'lib/eBay.rb', line 7687

def promotionMethod
  @promotionMethod
end

#storeCategoryIDObject

Returns the value of attribute storeCategoryID.



7686
7687
7688
# File 'lib/eBay.rb', line 7686

def storeCategoryID
  @storeCategoryID
end

#versionObject

Returns the value of attribute version.



7680
7681
7682
# File 'lib/eBay.rb', line 7680

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



7683
7684
7685
# File 'lib/eBay.rb', line 7683

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



7689
7690
7691
# File 'lib/eBay.rb', line 7689

def set_any(elements)
  @__xmlele_any = elements
end