Class: GetCrossPromotionsRequestType

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

Overview

urn:ebay:apis:eBLBaseComponentsGetCrossPromotionsRequestType

Constant Summary collapse

@@schema_type =
"GetCrossPromotionsRequestType"
@@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")]],
  ["promotionMethod", ["PromotionMethodCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionMethod")]],
  ["promotionViewMode", ["TradingRoleCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "PromotionViewMode")]]
]

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, promotionMethod = nil, promotionViewMode = nil) ⇒ GetCrossPromotionsRequestType

Returns a new instance of GetCrossPromotionsRequestType.



3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
# File 'lib/eBay.rb', line 3323

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



3314
3315
3316
# File 'lib/eBay.rb', line 3314

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



3307
3308
3309
# File 'lib/eBay.rb', line 3307

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



3311
3312
3313
# File 'lib/eBay.rb', line 3311

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



3308
3309
3310
# File 'lib/eBay.rb', line 3308

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



3312
3313
3314
# File 'lib/eBay.rb', line 3312

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



3315
3316
3317
# File 'lib/eBay.rb', line 3315

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



3309
3310
3311
# File 'lib/eBay.rb', line 3309

def messageID
  @messageID
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



3316
3317
3318
# File 'lib/eBay.rb', line 3316

def promotionMethod
  @promotionMethod
end

#promotionViewModeObject

Returns the value of attribute promotionViewMode.



3317
3318
3319
# File 'lib/eBay.rb', line 3317

def promotionViewMode
  @promotionViewMode
end

#versionObject

Returns the value of attribute version.



3310
3311
3312
# File 'lib/eBay.rb', line 3310

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



3313
3314
3315
# File 'lib/eBay.rb', line 3313

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



3319
3320
3321
# File 'lib/eBay.rb', line 3319

def set_any(elements)
  @__xmlele_any = elements
end