tangocard.sdk.response.success
Class GetAvailableBalanceResponse

java.lang.Object
  extended by tangocard.sdk.response.success.SuccessResponse
      extended by tangocard.sdk.response.success.GetAvailableBalanceResponse
All Implemented Interfaces:
BaseResponse

public class GetAvailableBalanceResponse
extends SuccessResponse

The Class GetAvailableBalanceResponse.


Constructor Summary
GetAvailableBalanceResponse()
          Instantiates a new gets the available balance response.
GetAvailableBalanceResponse(org.json.JSONObject responseJson)
          Instantiates a new gets the available balance response.
 
Method Summary
 int getAvailableBalance()
          Gets the available balance.
 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

GetAvailableBalanceResponse

public GetAvailableBalanceResponse()
Instantiates a new gets the available balance response.


GetAvailableBalanceResponse

public GetAvailableBalanceResponse(org.json.JSONObject responseJson)
                            throws TangoCardSdkException
Instantiates a new gets the available balance response.

Parameters:
responseJson - the response JSON
Throws:
TangoCardSdkException
org.json.JSONException
Method Detail

getAvailableBalance

public int getAvailableBalance()
Gets the available balance.

Returns:
the available balance

parseResponseJSON

public boolean parseResponseJSON(org.json.JSONObject responseJson)
                          throws TangoCardSdkException
Parses the response JSON.

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