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.



3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
# File 'lib/eBay.rb', line 3975

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.



3966
3967
3968
# File 'lib/eBay.rb', line 3966

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



3959
3960
3961
# File 'lib/eBay.rb', line 3959

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



3963
3964
3965
# File 'lib/eBay.rb', line 3963

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



3960
3961
3962
# File 'lib/eBay.rb', line 3960

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



3964
3965
3966
# File 'lib/eBay.rb', line 3964

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



3967
3968
3969
# File 'lib/eBay.rb', line 3967

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



3961
3962
3963
# File 'lib/eBay.rb', line 3961

def messageID
  @messageID
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



3968
3969
3970
# File 'lib/eBay.rb', line 3968

def promotionMethod
  @promotionMethod
end

#promotionViewModeObject

Returns the value of attribute promotionViewMode.



3969
3970
3971
# File 'lib/eBay.rb', line 3969

def promotionViewMode
  @promotionViewMode
end

#versionObject

Returns the value of attribute version.



3962
3963
3964
# File 'lib/eBay.rb', line 3962

def version
  @version
end

#warningLevelObject

Returns the value of attribute warningLevel.



3965
3966
3967
# File 'lib/eBay.rb', line 3965

def warningLevel
  @warningLevel
end

Instance Method Details

#set_any(elements) ⇒ Object



3971
3972
3973
# File 'lib/eBay.rb', line 3971

def set_any(elements)
  @__xmlele_any = elements
end