tangocard.sdk.response.failure
Class InvalidInputResponse

java.lang.Object
  extended by tangocard.sdk.response.failure.FailureResponse
      extended by tangocard.sdk.response.failure.InvalidInputResponse
All Implemented Interfaces:
BaseResponse

public class InvalidInputResponse
extends FailureResponse

The Class InvalidInputResponse.


Constructor Summary
InvalidInputResponse(org.json.JSONObject responseJson)
          Instantiates a new invalid input response.
 
Method Summary
 org.json.JSONObject getInvalid()
          Gets the invalid.
 java.lang.String getMessage()
          Gets the message.
 boolean parseResponseJSON(org.json.JSONObject responseJson)
          Parses the response JSON.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvalidInputResponse

public InvalidInputResponse(org.json.JSONObject responseJson)
                     throws TangoCardSdkException
Instantiates a new invalid input response.

Parameters:
responseJson - the response JSON
Throws:
TangoCardSdkException
Method Detail

getInvalid

public org.json.JSONObject getInvalid()
Gets the invalid.

Returns:
the invalid

parseResponseJSON

public boolean parseResponseJSON(org.json.JSONObject responseJson)
                          throws TangoCardSdkException
Description copied from interface: BaseResponse
Parses the response JSON.

Parameters:
responseJson - the response JSON
Returns:
true, if successful
Throws:
TangoCardSdkException

getMessage

public java.lang.String getMessage()
                            throws TangoCardSdkException
Description copied from class: FailureResponse
Gets the message.

Specified by:
getMessage in class FailureResponse
Returns:
the message
Throws:
TangoCardSdkException