public class FlexTokenApi extends Object
| Constructor and Description |
|---|
FlexTokenApi() |
FlexTokenApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
FlexV1TokensPost200Response |
tokenize(TokenizeRequest tokenizeRequest,
com.cybersource.authsdk.core.MerchantConfig merchantConfig)
Flex Tokenize card
Returns a token representing the supplied card details.
|
com.squareup.okhttp.Call |
tokenizeAsync(TokenizeRequest tokenizeRequest,
com.cybersource.authsdk.core.MerchantConfig merchantConfig,
ApiCallback<FlexV1TokensPost200Response> callback)
Flex Tokenize card (asynchronously)
Returns a token representing the supplied card details.
|
com.squareup.okhttp.Call |
tokenizeCall(TokenizeRequest tokenizeRequest,
com.cybersource.authsdk.core.MerchantConfig merchantConfig,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tokenize
|
ApiResponse<FlexV1TokensPost200Response> |
tokenizeWithHttpInfo(TokenizeRequest tokenizeRequest,
com.cybersource.authsdk.core.MerchantConfig merchantConfig)
Flex Tokenize card
Returns a token representing the supplied card details.
|
public FlexTokenApi()
public FlexTokenApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call tokenizeCall(TokenizeRequest tokenizeRequest, com.cybersource.authsdk.core.MerchantConfig merchantConfig, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tokenizeRequest - (optional)merchantConfig - (merchant details)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic FlexV1TokensPost200Response tokenize(TokenizeRequest tokenizeRequest, com.cybersource.authsdk.core.MerchantConfig merchantConfig) throws ApiException
tokenizeRequest - (optional)merchantConfig - (merchant details)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FlexV1TokensPost200Response> tokenizeWithHttpInfo(TokenizeRequest tokenizeRequest, com.cybersource.authsdk.core.MerchantConfig merchantConfig) throws ApiException
tokenizeRequest - (optional)merchantConfig - (merchant details)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call tokenizeAsync(TokenizeRequest tokenizeRequest, com.cybersource.authsdk.core.MerchantConfig merchantConfig, ApiCallback<FlexV1TokensPost200Response> callback) throws ApiException
tokenizeRequest - (optional)merchantConfig - (merchant details)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 © 2018. All rights reserved.