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

Returns a new instance of GetCrossPromotionsRequestType.



3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
# File 'lib/eBay.rb', line 3058

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



3049
3050
3051
# File 'lib/eBay.rb', line 3049

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



3043
3044
3045
# File 'lib/eBay.rb', line 3043

def detailLevel
  @detailLevel
end

#errorHandlingObject

Returns the value of attribute errorHandling.



3047
3048
3049
# File 'lib/eBay.rb', line 3047

def errorHandling
  @errorHandling
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



3044
3045
3046
# File 'lib/eBay.rb', line 3044

def errorLanguage
  @errorLanguage
end

#invocationIDObject

Returns the value of attribute invocationID.



3048
3049
3050
# File 'lib/eBay.rb', line 3048

def invocationID
  @invocationID
end

#itemIDObject

Returns the value of attribute itemID.



3050
3051
3052
# File 'lib/eBay.rb', line 3050

def itemID
  @itemID
end

#messageIDObject

Returns the value of attribute messageID.



3045
3046
3047
# File 'lib/eBay.rb', line 3045

def messageID
  @messageID
end

#promotionMethodObject

Returns the value of attribute promotionMethod.



3051
3052
3053
# File 'lib/eBay.rb', line 3051

def promotionMethod
  @promotionMethod
end

#promotionViewModeObject

Returns the value of attribute promotionViewMode.



3052
3053
3054
# File 'lib/eBay.rb', line 3052

def promotionViewMode
  @promotionViewMode
end

#versionObject

Returns the value of attribute version.



3046
3047
3048
# File 'lib/eBay.rb', line 3046

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



3054
3055
3056
# File 'lib/eBay.rb', line 3054

def set_any(elements)
  @__xmlele_any = elements
end