Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
E
F
G
H
I
M
P
S
T
V
_
B
BaseRequest
- Class in
tangocard.sdk.request
BaseRequest(TangoCardServiceApiEnum, String, String)
- Constructor for class tangocard.sdk.request.
BaseRequest
Instantiates a new base request.
BaseResponse
- Interface in
tangocard.sdk.response
E
execute(T)
- Method in class tangocard.sdk.request.
BaseRequest
Execute.
execute(GetAvailableBalanceResponse)
- Method in class tangocard.sdk.request.
GetAvailableBalanceRequest
Execute.
execute(PurchaseCardResponse)
- Method in class tangocard.sdk.request.
PurchaseCardRequest
Execute.
executeRequest(SuccessResponse)
- Method in class tangocard.sdk.service.
ServiceProxy
Execute request.
F
FailureResponse
- Class in
tangocard.sdk.response.failure
The Class FailureResponse.
FailureResponse()
- Constructor for class tangocard.sdk.response.failure.
FailureResponse
G
getAvailableBalance()
- Method in class tangocard.sdk.response.failure.
InsufficientFundsResponse
Gets the available balance.
getAvailableBalance()
- Method in class tangocard.sdk.response.success.
GetAvailableBalanceResponse
Gets the available balance.
GetAvailableBalance(TangoCardServiceApiEnum, String, String, GetAvailableBalanceResponse)
- Static method in class tangocard.sdk.
TangoCardServiceApi
Gets the available balance.
GetAvailableBalanceRequest
- Class in
tangocard.sdk.request
The Class GetAvailableBalanceRequest.
GetAvailableBalanceRequest(TangoCardServiceApiEnum, String, String)
- Constructor for class tangocard.sdk.request.
GetAvailableBalanceRequest
Instantiates a new gets the available balance request.
GetAvailableBalanceResponse
- Class in
tangocard.sdk.response.success
The Class GetAvailableBalanceResponse.
GetAvailableBalanceResponse()
- Constructor for class tangocard.sdk.response.success.
GetAvailableBalanceResponse
Instantiates a new gets the available balance response.
GetAvailableBalanceResponse(JSONObject)
- Constructor for class tangocard.sdk.response.success.
GetAvailableBalanceResponse
Instantiates a new gets the available balance response.
getCardNumber()
- Method in class tangocard.sdk.response.success.
PurchaseCardResponse
Gets the card number.
getCardPin()
- Method in class tangocard.sdk.response.success.
PurchaseCardResponse
Gets the card pin.
getCardToken()
- Method in class tangocard.sdk.response.success.
PurchaseCardResponse
Gets the card token.
getChallengeKey()
- Method in class tangocard.sdk.response.success.
PurchaseCardResponse
Gets the challenge Key.
getClaimUrl()
- Method in class tangocard.sdk.response.success.
PurchaseCardResponse
Gets the claim URL.
getConfigValue(String)
- Method in class tangocard.sdk.common.
SdkConfig
Gets the config value.
getErrorCode()
- Method in class tangocard.sdk.response.failure.
SystemErrorResponse
Gets the error code.
getEventNumber()
- Method in class tangocard.sdk.response.success.
PurchaseCardResponse
Gets the event number.
getInstance()
- Static method in class tangocard.sdk.common.
SdkConfig
Gets the single instance of SdkConfig.
getInvalid()
- Method in class tangocard.sdk.response.failure.
InvalidInputResponse
Gets the invalid.
getJsonEncodedRequest()
- Method in class tangocard.sdk.request.
BaseRequest
Gets the JSON encoded request.
getJsonEncodedRequest()
- Method in class tangocard.sdk.request.
GetAvailableBalanceRequest
getJsonEncodedRequest()
- Method in class tangocard.sdk.request.
PurchaseCardRequest
getMessage()
- Method in exception tangocard.sdk.common.
TangoCardSdkException
getMessage()
- Method in class tangocard.sdk.response.failure.
FailureResponse
Gets the message.
getMessage()
- Method in class tangocard.sdk.response.failure.
InsufficientFundsResponse
getMessage()
- Method in class tangocard.sdk.response.failure.
InsufficientInventoryResponse
getMessage()
- Method in class tangocard.sdk.response.failure.
InvalidCredentialsResponse
Gets the message.
getMessage()
- Method in class tangocard.sdk.response.failure.
InvalidInputResponse
getMessage()
- Method in class tangocard.sdk.response.failure.
SystemErrorResponse
getMessage()
- Method in exception tangocard.sdk.service.
TangoCardServiceException
getOrderCost()
- Method in class tangocard.sdk.response.failure.
InsufficientFundsResponse
Gets the order cost.
getPassword()
- Method in class tangocard.sdk.request.
BaseRequest
Gets the password.
getReferenceOrderId()
- Method in class tangocard.sdk.response.success.
PurchaseCardResponse
Gets the reference order id.
getRequestAction()
- Method in class tangocard.sdk.request.
BaseRequest
Gets the request action.
getRequestAction()
- Method in class tangocard.sdk.request.
GetAvailableBalanceRequest
getRequestAction()
- Method in class tangocard.sdk.request.
PurchaseCardRequest
getResponse()
- Method in exception tangocard.sdk.service.
TangoCardServiceException
Gets the response.
getResponseType()
- Method in exception tangocard.sdk.service.
TangoCardServiceException
Gets the response type.
getSku()
- Method in class tangocard.sdk.response.failure.
InsufficientInventoryResponse
Gets the sku.
getTangoCardServiceApiEnum()
- Method in class tangocard.sdk.request.
BaseRequest
Gets the Tango Card service api.
getUsername()
- Method in class tangocard.sdk.request.
BaseRequest
Gets the username.
getValue()
- Method in class tangocard.sdk.response.failure.
InsufficientInventoryResponse
Gets the value.
GetVersion()
- Static method in class tangocard.sdk.
TangoCardServiceApi
Get SDK Version from config file.
H
Helper
- Class in
tangocard.sdk.common
Helper()
- Constructor for class tangocard.sdk.common.
Helper
I
InsufficientFundsResponse
- Class in
tangocard.sdk.response.failure
The Class InsufficientFundsResponse.
InsufficientFundsResponse(JSONObject)
- Constructor for class tangocard.sdk.response.failure.
InsufficientFundsResponse
Instantiates a new insufficient funds response.
InsufficientInventoryResponse
- Class in
tangocard.sdk.response.failure
The Class InsufficientInventoryResponse.
InsufficientInventoryResponse(JSONObject)
- Constructor for class tangocard.sdk.response.failure.
InsufficientInventoryResponse
Instantiates a new insufficient inventory response.
InvalidCredentialsResponse
- Class in
tangocard.sdk.response.failure
The Class InvalidCredentialsResponse.
InvalidCredentialsResponse(JSONObject)
- Constructor for class tangocard.sdk.response.failure.
InvalidCredentialsResponse
Instantiates a new invalid credentials response.
InvalidInputResponse
- Class in
tangocard.sdk.response.failure
The Class InvalidInputResponse.
InvalidInputResponse(JSONObject)
- Constructor for class tangocard.sdk.response.failure.
InvalidInputResponse
Instantiates a new invalid input response.
isNullOrEmptyString(String)
- Static method in class tangocard.sdk.common.
Helper
Checks if string is not null not empty.
M
mapRequest()
- Method in class tangocard.sdk.service.
ServiceProxy
Map request.
P
parseResponseJSON(JSONObject)
- Method in interface tangocard.sdk.response.
BaseResponse
Parses the response JSON.
parseResponseJSON(JSONObject)
- Method in class tangocard.sdk.response.failure.
InsufficientFundsResponse
parseResponseJSON(JSONObject)
- Method in class tangocard.sdk.response.failure.
InsufficientInventoryResponse
parseResponseJSON(JSONObject)
- Method in class tangocard.sdk.response.failure.
InvalidCredentialsResponse
parseResponseJSON(JSONObject)
- Method in class tangocard.sdk.response.failure.
InvalidInputResponse
parseResponseJSON(JSONObject)
- Method in class tangocard.sdk.response.failure.
SystemErrorResponse
parseResponseJSON(JSONObject)
- Method in class tangocard.sdk.response.success.
GetAvailableBalanceResponse
Parses the response JSON.
parseResponseJSON(JSONObject)
- Method in class tangocard.sdk.response.success.
PurchaseCardResponse
postRequest()
- Method in class tangocard.sdk.service.
ServiceProxy
Post request.
PurchaseCard(TangoCardServiceApiEnum, String, String, String, int, boolean, String, String, String, String, String, PurchaseCardResponse)
- Static method in class tangocard.sdk.
TangoCardServiceApi
Purchase card.
PurchaseCardRequest
- Class in
tangocard.sdk.request
PurchaseCardRequest(TangoCardServiceApiEnum, String, String, String, int, boolean, String, String, String, String, String)
- Constructor for class tangocard.sdk.request.
PurchaseCardRequest
Instantiates a new purchase card request.
PurchaseCardResponse
- Class in
tangocard.sdk.response.success
The Class PurchaseCardResponse.
PurchaseCardResponse()
- Constructor for class tangocard.sdk.response.success.
PurchaseCardResponse
Instantiates a new purchase card response.
PurchaseCardResponse(JSONObject)
- Constructor for class tangocard.sdk.response.success.
PurchaseCardResponse
Instantiates a new purchase card response.
S
SdkConfig
- Class in
tangocard.sdk.common
ServiceProxy
- Class in
tangocard.sdk.service
The Class ServiceProxy.
ServiceProxy(BaseRequest)
- Constructor for class tangocard.sdk.service.
ServiceProxy
Instantiates a new service proxy.
ServiceResponseEnum
- Enum in
tangocard.sdk.response
Enumeration of epected response types from Tango Card Service API.
setPassword(String)
- Method in class tangocard.sdk.request.
BaseRequest
Sets the password.
setTangoCardServiceApiEnum(TangoCardServiceApiEnum)
- Method in class tangocard.sdk.request.
BaseRequest
Sets the Tango Card service api.
setUsername(String)
- Method in class tangocard.sdk.request.
BaseRequest
Sets the username.
SuccessResponse
- Class in
tangocard.sdk.response.success
The Class SuccessResponse.
SuccessResponse()
- Constructor for class tangocard.sdk.response.success.
SuccessResponse
SystemErrorResponse
- Class in
tangocard.sdk.response.failure
The Class SystemErrorResponse.
SystemErrorResponse(JSONObject)
- Constructor for class tangocard.sdk.response.failure.
SystemErrorResponse
Instantiates a new system error response.
T
tangocard.sdk
- package tangocard.sdk
tangocard.sdk.common
- package tangocard.sdk.common
tangocard.sdk.request
- package tangocard.sdk.request
tangocard.sdk.response
- package tangocard.sdk.response
tangocard.sdk.response.failure
- package tangocard.sdk.response.failure
tangocard.sdk.response.success
- package tangocard.sdk.response.success
tangocard.sdk.service
- package tangocard.sdk.service
TangoCardSdkException
- Exception in
tangocard.sdk.common
TangoCardSdkException is thrown when the Tango Card SDK has detected an error within its code, regardless of any given Request.
TangoCardSdkException()
- Constructor for exception tangocard.sdk.common.
TangoCardSdkException
Instantiates a new Tango Card sdk exception.
TangoCardSdkException(String)
- Constructor for exception tangocard.sdk.common.
TangoCardSdkException
Instantiates a new Tango Card sdk exception.
TangoCardSdkException(Throwable)
- Constructor for exception tangocard.sdk.common.
TangoCardSdkException
Instantiates a new Tango Card sdk exception.
TangoCardSdkException(String, Throwable)
- Constructor for exception tangocard.sdk.common.
TangoCardSdkException
Instantiates a new Tango Card sdk exception.
TangoCardServiceApi
- Class in
tangocard.sdk
TangoCardServiceApiEnum
- Enum in
tangocard.sdk.service
Enumeration of possible endpoint environments that provide Tango Card Service API.
TangoCardServiceException
- Exception in
tangocard.sdk.service
The Class TangoCardServiceException.
TangoCardServiceException(ServiceResponseEnum, FailureResponse, String)
- Constructor for exception tangocard.sdk.service.
TangoCardServiceException
Instantiates a new service exception.
throwOnError(JSONObject)
- Static method in class tangocard.sdk.service.
ServiceProxy
Throw on error.
toString()
- Method in exception tangocard.sdk.common.
TangoCardSdkException
V
valueOf(String)
- Static method in enum tangocard.sdk.response.
ServiceResponseEnum
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum tangocard.sdk.service.
TangoCardServiceApiEnum
Returns the enum constant of this type with the specified name.
values()
- Static method in enum tangocard.sdk.response.
ServiceResponseEnum
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum tangocard.sdk.service.
TangoCardServiceApiEnum
Returns an array containing the constants of this enum type, in the order they are declared.
_
_cardSku
- Variable in class tangocard.sdk.request.
PurchaseCardRequest
_cardValue
- Variable in class tangocard.sdk.request.
PurchaseCardRequest
_companyIdentifier
- Variable in class tangocard.sdk.request.
PurchaseCardRequest
_giftFrom
- Variable in class tangocard.sdk.request.
PurchaseCardRequest
_giftMessage
- Variable in class tangocard.sdk.request.
PurchaseCardRequest
_recipientEmail
- Variable in class tangocard.sdk.request.
PurchaseCardRequest
_recipientName
- Variable in class tangocard.sdk.request.
PurchaseCardRequest
_tcSend
- Variable in class tangocard.sdk.request.
PurchaseCardRequest
B
E
F
G
H
I
M
P
S
T
V
_
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes