public class TokenizationApi extends Object
| Constructor and Description |
|---|
TokenizationApi() |
TokenizationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
FlexV1TokensPost200Response |
tokenize(TokenizeRequest tokenizeRequest)
Tokenize Card
Returns a token representing the supplied card details.
|
okhttp3.Call |
tokenizeAsync(TokenizeRequest tokenizeRequest,
ApiCallback<FlexV1TokensPost200Response> callback)
Tokenize Card (asynchronously)
Returns a token representing the supplied card details.
|
okhttp3.Call |
tokenizeCall(TokenizeRequest tokenizeRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tokenize
|
ApiResponse<FlexV1TokensPost200Response> |
tokenizeWithHttpInfo(TokenizeRequest tokenizeRequest)
Tokenize Card
Returns a token representing the supplied card details.
|
public TokenizationApi()
public TokenizationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call tokenizeCall(TokenizeRequest tokenizeRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tokenizeRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic FlexV1TokensPost200Response tokenize(TokenizeRequest tokenizeRequest) throws ApiException
tokenizeRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FlexV1TokensPost200Response> tokenizeWithHttpInfo(TokenizeRequest tokenizeRequest) throws ApiException
tokenizeRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call tokenizeAsync(TokenizeRequest tokenizeRequest, ApiCallback<FlexV1TokensPost200Response> callback) throws ApiException
tokenizeRequest - (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020. All rights reserved.