|
|||||||||
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.InsufficientInventoryResponse
public class InsufficientInventoryResponse
The Class InsufficientInventoryResponse.
Constructor Summary | |
---|---|
InsufficientInventoryResponse(org.json.JSONObject responseJson)
Instantiates a new insufficient inventory response. |
Method Summary | |
---|---|
java.lang.String |
getMessage()
Gets the message. |
java.lang.String |
getSku()
Gets the sku. |
int |
getValue()
Gets the value. |
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 InsufficientInventoryResponse(org.json.JSONObject responseJson) throws TangoCardSdkException
responseJson
- the response JSON
TangoCardSdkException
Method Detail |
---|
public java.lang.String getSku()
public int getValue()
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 |