public class TransactionApi extends Object
| Constructor and Description |
|---|
TransactionApi() |
TransactionApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
EventResponse |
transaction(Transaction JSON)
Use transaction to record attempts results to Pay, Transfer money, Refund or other transactions.
|
com.squareup.okhttp.Call |
transactionAsync(Transaction JSON,
ApiCallback<EventResponse> callback)
Use transaction to record attempts results to Pay, Transfer money, Refund or other transactions.
|
com.squareup.okhttp.Call |
transactionCall(Transaction JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for transaction
|
ApiResponse<EventResponse> |
transactionWithHttpInfo(Transaction JSON)
Use transaction to record attempts results to Pay, Transfer money, Refund or other transactions.
|
public TransactionApi()
public TransactionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call transactionCall(Transaction JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass transaction results to thirdwatch. Only `_userID` is required field. But this should contain transaction info. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse transaction(Transaction JSON) throws ApiException
JSON - Pass transaction results to thirdwatch. Only `_userID` is required field. But this should contain transaction info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> transactionWithHttpInfo(Transaction JSON) throws ApiException
JSON - Pass transaction results to thirdwatch. Only `_userID` is required field. But this should contain transaction info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call transactionAsync(Transaction JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass transaction results to thirdwatch. Only `_userID` is required field. But this should contain transaction info. (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 © 2017. All rights reserved.