Class: ErrorType

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

Overview

urn:ebay:apis:eBLBaseComponentsErrorType

Constant Summary collapse

@@schema_type =
"ErrorType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_element =
[
  ["shortMessage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ShortMessage")]],
  ["longMessage", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "LongMessage")]],
  ["errorCode", ["Token", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorCode")]],
  ["severityCode", ["SeverityCodeType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SeverityCode")]],
  ["errorParameters", ["ErrorParameterType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "ErrorParameters")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shortMessage = nil, longMessage = nil, errorCode = nil, severityCode = nil, errorParameters = []) ⇒ ErrorType

Returns a new instance of ErrorType.



3059
3060
3061
3062
3063
3064
3065
# File 'lib/paypal-business/default.rb', line 3059

def initialize(shortMessage = nil, longMessage = nil, errorCode = nil, severityCode = nil, errorParameters = [])
  @shortMessage = shortMessage
  @longMessage = longMessage
  @errorCode = errorCode
  @severityCode = severityCode
  @errorParameters = errorParameters
end

Instance Attribute Details

#errorCodeObject

Returns the value of attribute errorCode.



3055
3056
3057
# File 'lib/paypal-business/default.rb', line 3055

def errorCode
  @errorCode
end

#errorParametersObject

Returns the value of attribute errorParameters.



3057
3058
3059
# File 'lib/paypal-business/default.rb', line 3057

def errorParameters
  @errorParameters
end

#longMessageObject

Returns the value of attribute longMessage.



3054
3055
3056
# File 'lib/paypal-business/default.rb', line 3054

def longMessage
  @longMessage
end

#severityCodeObject

Returns the value of attribute severityCode.



3056
3057
3058
# File 'lib/paypal-business/default.rb', line 3056

def severityCode
  @severityCode
end

#shortMessageObject

Returns the value of attribute shortMessage.



3053
3054
3055
# File 'lib/paypal-business/default.rb', line 3053

def shortMessage
  @shortMessage
end