Class: AbstractRequestType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsAbstractRequestType

Constant Summary collapse

@@schema_type =
"AbstractRequestType"
@@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")]],
  ["any", [nil, XSD::QName.new("http://www.w3.org/2001/XMLSchema", "anyType")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(detailLevel = [], errorLanguage = nil, messageID = nil, version = nil) ⇒ AbstractRequestType

Returns a new instance of AbstractRequestType.



3111
3112
3113
3114
3115
3116
3117
# File 'lib/paypal-business/default.rb', line 3111

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

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



3105
3106
3107
# File 'lib/paypal-business/default.rb', line 3105

def __xmlele_any
  @__xmlele_any
end

#detailLevelObject

Returns the value of attribute detailLevel.



3101
3102
3103
# File 'lib/paypal-business/default.rb', line 3101

def detailLevel
  @detailLevel
end

#errorLanguageObject

Returns the value of attribute errorLanguage.



3102
3103
3104
# File 'lib/paypal-business/default.rb', line 3102

def errorLanguage
  @errorLanguage
end

#messageIDObject

Returns the value of attribute messageID.



3103
3104
3105
# File 'lib/paypal-business/default.rb', line 3103

def messageID
  @messageID
end

#versionObject

Returns the value of attribute version.



3104
3105
3106
# File 'lib/paypal-business/default.rb', line 3104

def version
  @version
end

Instance Method Details

#set_any(elements) ⇒ Object



3107
3108
3109
# File 'lib/paypal-business/default.rb', line 3107

def set_any(elements)
  @__xmlele_any = elements
end