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", ["UUIDType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "InvocationID")]],
["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, operationType = nil, promotionRuleArray = nil) ⇒ SetPromotionRulesRequestType

Returns a new instance of SetPromotionRulesRequestType.



10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
# File 'lib/eBay.rb', line 10308

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



10300
10301
10302
# File 'lib/eBay.rb', line 10300

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



10294
10295
10296
# File 'lib/eBay.rb', line 10294

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



10298
10299
10300
# File 'lib/eBay.rb', line 10298

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



10295
10296
10297
# File 'lib/eBay.rb', line 10295

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



10299
10300
10301
# File 'lib/eBay.rb', line 10299

def invocationID
  @invocationID
end

#messageIDObject

Returns the value of attribute messageID.



10296
10297
10298
# File 'lib/eBay.rb', line 10296

def messageID
  @messageID
end

#operationTypeObject

Returns the value of attribute operationType.



10301
10302
10303
# File 'lib/eBay.rb', line 10301

def operationType
  @operationType
end

#promotionRuleArrayObject

Returns the value of attribute promotionRuleArray.



10302
10303
10304
# File 'lib/eBay.rb', line 10302

def promotionRuleArray
  @promotionRuleArray
end

#versionObject

Returns the value of attribute version.



10297
10298
10299
# File 'lib/eBay.rb', line 10297

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



10304
10305
10306
# File 'lib/eBay.rb', line 10304

def set_any(elements)
  @__xmlele_any = elements
end