com.paypal.api.openidconnect
Class Error

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

public class Error
extends Object


Constructor Summary
Error()
          Default Constructor
Error(String error)
          Parameterized Constructor
 
Method Summary
 String getError()
          Getter for error
 String getErrorDescription()
          Getter for errorDescription
 String getErrorUri()
          Getter for errorUri
 void setError(String error)
          Setter for error
 void setErrorDescription(String errorDescription)
          Setter for errorDescription
 void setErrorUri(String errorUri)
          Setter for errorUri
 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 error)
Parameterized Constructor

Method Detail

setError

public void setError(String error)
Setter for error


getError

public String getError()
Getter for error


setErrorDescription

public void setErrorDescription(String errorDescription)
Setter for errorDescription


getErrorDescription

public String getErrorDescription()
Getter for errorDescription


setErrorUri

public void setErrorUri(String errorUri)
Setter for errorUri


getErrorUri

public String getErrorUri()
Getter for errorUri


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.