com.paypal.api.payments
Class Error

java.lang.Object
  extended by com.paypal.api.payments.Error

public class Error
extends Object


Constructor Summary
Error()
          Default Constructor
Error(String name, String message, String informationLink)
          Parameterized Constructor
 
Method Summary
 String getDebugId()
          Getter for debugId
 List<ErrorDetails> getDetails()
          Getter for details
 String getInformationLink()
          Getter for informationLink
 String getMessage()
          Getter for message
 String getName()
          Getter for name
 Error setDebugId(String debugId)
          Setter for debugId
 Error setDetails(List<ErrorDetails> details)
          Setter for details
 Error setInformationLink(String informationLink)
          Setter for informationLink
 Error setMessage(String message)
          Setter for message
 Error setName(String name)
          Setter for name
 String toJSON()
          Returns a JSON string corresponding to object state
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Error

public Error()
Default Constructor


Error

public Error(String name,
             String message,
             String informationLink)
Parameterized Constructor

Method Detail

setName

public Error setName(String name)
Setter for name


getName

public String getName()
Getter for name


setDebugId

public Error setDebugId(String debugId)
Setter for debugId


getDebugId

public String getDebugId()
Getter for debugId


setMessage

public Error setMessage(String message)
Setter for message


getMessage

public String getMessage()
Getter for message


setInformationLink

public Error setInformationLink(String informationLink)
Setter for informationLink


getInformationLink

public String getInformationLink()
Getter for informationLink


setDetails

public Error setDetails(List<ErrorDetails> details)
Setter for details


getDetails

public List<ErrorDetails> getDetails()
Getter for details


toJSON

public String toJSON()
Returns a JSON string corresponding to object state

Returns:
JSON representation

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.