Class: PayPal::SDK::Merchant::DataTypes::ErrorType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/merchant/data_types.rb

Overview

Error code can be used by a receiving application to debugging a response message. These codes will need to be uniquely defined for each application.

Class Method Summary collapse

Class Method Details

.load_membersObject



640
641
642
643
644
645
646
647
648
649
# File 'lib/paypal-sdk/merchant/data_types.rb', line 640

def self.load_members
  object_of :ShortMessage, String, :namespace => :ebl
  object_of :LongMessage, String, :namespace => :ebl
  # Error code can be used by a receiving application to debugging a response message. These codes will need to be uniquely defined for each application. 
  object_of :ErrorCode, String, :namespace => :ebl
  # SeverityCode indicates whether the error is an application  level error or if it is informational error, i.e., warning.  
  object_of :SeverityCode, SeverityCodeType, :namespace => :ebl
  # This optional element may carry additional application-specific error variables that indicate specific information about the error condition particularly in the cases where there are multiple instances of the ErrorType which require additional context.  
  array_of :ErrorParameters, ErrorParameterType, :namespace => :ebl
end