|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttangocard.sdk.response.failure.FailureResponse
tangocard.sdk.response.failure.InsufficientFundsResponse
public class InsufficientFundsResponse
The Class InsufficientFundsResponse.
Constructor Summary | |
---|---|
InsufficientFundsResponse(org.json.JSONObject responseJson)
Instantiates a new insufficient funds response. |
Method Summary | |
---|---|
int |
getAvailableBalance()
Gets the available balance. |
java.lang.String |
getMessage()
Gets the message. |
int |
getOrderCost()
Gets the order cost. |
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 |
---|
public InsufficientFundsResponse(org.json.JSONObject responseJson) throws TangoCardSdkException
responseJson
- the response JSON
TangoCardSdkException
Method Detail |
---|
public int getAvailableBalance()
public int getOrderCost()
public boolean parseResponseJSON(org.json.JSONObject responseJson) throws TangoCardSdkException
BaseResponse
responseJson
- the response JSON
TangoCardSdkException
public java.lang.String getMessage()
FailureResponse
getMessage
in class FailureResponse
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |