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.



11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
# File 'lib/eBay.rb', line 11518

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.



11510
11511
11512
# File 'lib/eBay.rb', line 11510

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



11503
11504
11505
# File 'lib/eBay.rb', line 11503

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



11507
11508
11509
# File 'lib/eBay.rb', line 11507

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



11504
11505
11506
# File 'lib/eBay.rb', line 11504

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



11508
11509
11510
# File 'lib/eBay.rb', line 11508

def invocationID
  @invocationID
end

#messageIDObject

Returns the value of attribute messageID.



11505
11506
11507
# File 'lib/eBay.rb', line 11505

def messageID
  @messageID
end

#operationTypeObject

Returns the value of attribute operationType.



11511
11512
11513
# File 'lib/eBay.rb', line 11511

def operationType
  @operationType
end

#promotionRuleArrayObject

Returns the value of attribute promotionRuleArray.



11512
11513
11514
# File 'lib/eBay.rb', line 11512

def promotionRuleArray
  @promotionRuleArray
end

#versionObject

Returns the value of attribute version.



11506
11507
11508
# File 'lib/eBay.rb', line 11506

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



11509
11510
11511
# File 'lib/eBay.rb', line 11509

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



11514
11515
11516
# File 'lib/eBay.rb', line 11514

def set_any(elements)
  @__xmlele_any = elements
end