Class: SetPromotionRulesRequestType

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

Overview

urn:ebay:apis:eBLBaseComponentsSetPromotionRulesRequestType

Constant Summary collapse

@@schema_type =
"SetPromotionRulesRequestType"
@@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")]],
  ["operationType", ["OperationTypeCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "OperationType")]],
  ["promotionRuleArray", ["PromotionRuleArrayType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionRuleArray")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil, errorHandling = nil, invocationID = nil, warningLevel = nil, operationType = nil, promotionRuleArray = nil) ⇒ SetPromotionRulesRequestType

Returns a new instance of SetPromotionRulesRequestType.



12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
# File 'lib/eBay.rb', line 12821

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



12813
12814
12815
# File 'lib/eBay.rb', line 12813

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



12806
12807
12808
# File 'lib/eBay.rb', line 12806

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



12810
12811
12812
# File 'lib/eBay.rb', line 12810

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



12807
12808
12809
# File 'lib/eBay.rb', line 12807

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



12811
12812
12813
# File 'lib/eBay.rb', line 12811

def invocationID
  @invocationID
end

#messageIDObject

Returns the value of attribute messageID.



12808
12809
12810
# File 'lib/eBay.rb', line 12808

def messageID
  @messageID
end

#operationTypeObject

Returns the value of attribute operationType.



12814
12815
12816
# File 'lib/eBay.rb', line 12814

def operationType
  @operationType
end

#promotionRuleArrayObject

Returns the value of attribute promotionRuleArray.



12815
12816
12817
# File 'lib/eBay.rb', line 12815

def promotionRuleArray
  @promotionRuleArray
end

#versionObject

Returns the value of attribute version.



12809
12810
12811
# File 'lib/eBay.rb', line 12809

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



12812
12813
12814
# File 'lib/eBay.rb', line 12812

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



12817
12818
12819
# File 'lib/eBay.rb', line 12817

def set_any(elements)
  @__xmlele_any = elements
end