| Package | Description |
|---|---|
| ai.thirdwatch | |
| ai.thirdwatch.api |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build HTTP call with the given options.
|
com.squareup.okhttp.Request |
ApiClient.buildRequest(String path,
String method,
List<Pair> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build an HTTP request with the given options.
|
<T> T |
ApiClient.deserialize(com.squareup.okhttp.Response response,
Type returnType)
Deserialize response body to Java object, according to the return type and
the Content-Type response header.
|
File |
ApiClient.downloadFileFromResponse(com.squareup.okhttp.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
<T> T |
ApiClient.handleResponse(com.squareup.okhttp.Response response,
Type returnType)
Handle the given response, return the deserialized object when the response is successful.
|
com.squareup.okhttp.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the object's
class and the request Content-Type.
|
| Modifier and Type | Method and Description |
|---|---|
EventResponse |
AddPromotionApi.addPromotion(AddPromotion JSON)
Use add_promotion to record when a user adds one or more promotions to their account.
|
com.squareup.okhttp.Call |
AddPromotionApi.addPromotionAsync(AddPromotion JSON,
ApiCallback<EventResponse> callback)
Use add_promotion to record when a user adds one or more promotions to their account.
|
com.squareup.okhttp.Call |
AddPromotionApi.addPromotionCall(AddPromotion JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addPromotion
|
ApiResponse<EventResponse> |
AddPromotionApi.addPromotionWithHttpInfo(AddPromotion JSON)
Use add_promotion to record when a user adds one or more promotions to their account.
|
EventResponse |
AddToCartApi.addToCart(AddToCart JSON)
Use add_to_cart when a user adds an item to their shopping cart or list.
|
com.squareup.okhttp.Call |
AddToCartApi.addToCartAsync(AddToCart JSON,
ApiCallback<EventResponse> callback)
Use add_to_cart when a user adds an item to their shopping cart or list.
|
com.squareup.okhttp.Call |
AddToCartApi.addToCartCall(AddToCart JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addToCart
|
ApiResponse<EventResponse> |
AddToCartApi.addToCartWithHttpInfo(AddToCart JSON)
Use add_to_cart when a user adds an item to their shopping cart or list.
|
EventResponse |
ChargebackApi.chargeback(Chargeback JSON)
Use chargeback to capture a chargeback reported on a transaction.
|
com.squareup.okhttp.Call |
ChargebackApi.chargebackAsync(Chargeback JSON,
ApiCallback<EventResponse> callback)
Use chargeback to capture a chargeback reported on a transaction.
|
com.squareup.okhttp.Call |
ChargebackApi.chargebackCall(Chargeback JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for chargeback
|
ApiResponse<EventResponse> |
ChargebackApi.chargebackWithHttpInfo(Chargeback JSON)
Use chargeback to capture a chargeback reported on a transaction.
|
EventResponse |
CreateAccountApi.createAccount(CreateAccount JSON)
Use create_account to pass user details at user registration.
|
com.squareup.okhttp.Call |
CreateAccountApi.createAccountAsync(CreateAccount JSON,
ApiCallback<EventResponse> callback)
Use create_account to pass user details at user registration.
|
com.squareup.okhttp.Call |
CreateAccountApi.createAccountCall(CreateAccount JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createAccount
|
ApiResponse<EventResponse> |
CreateAccountApi.createAccountWithHttpInfo(CreateAccount JSON)
Use create_account to pass user details at user registration.
|
EventResponse |
CreateOrderApi.createOrder(CreateOrder body)
Submit a new or existing order to Thirdwatch for review.
|
com.squareup.okhttp.Call |
CreateOrderApi.createOrderAsync(CreateOrder body,
ApiCallback<EventResponse> callback)
Submit a new or existing order to Thirdwatch for review.
|
com.squareup.okhttp.Call |
CreateOrderApi.createOrderCall(CreateOrder body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createOrder
|
ApiResponse<EventResponse> |
CreateOrderApi.createOrderWithHttpInfo(CreateOrder body)
Submit a new or existing order to Thirdwatch for review.
|
EventResponse |
CustomEventApi.customEvent(Custom JSON)
Use order_status to track the order processing workflow of a previously submitted order.
|
com.squareup.okhttp.Call |
CustomEventApi.customEventAsync(Custom JSON,
ApiCallback<EventResponse> callback)
Use order_status to track the order processing workflow of a previously submitted order.
|
com.squareup.okhttp.Call |
CustomEventApi.customEventCall(Custom JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for customEvent
|
ApiResponse<EventResponse> |
CustomEventApi.customEventWithHttpInfo(Custom JSON)
Use order_status to track the order processing workflow of a previously submitted order.
|
EventResponse |
ItemStatusApi.itemStatus(ItemStatus JSON)
Use item_status to update the status of item that you’ve already pass to Thirdwatch.
|
com.squareup.okhttp.Call |
ItemStatusApi.itemStatusAsync(ItemStatus JSON,
ApiCallback<EventResponse> callback)
Use item_status to update the status of item that you’ve already pass to Thirdwatch.
|
com.squareup.okhttp.Call |
ItemStatusApi.itemStatusCall(ItemStatus JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for itemStatus
|
ApiResponse<EventResponse> |
ItemStatusApi.itemStatusWithHttpInfo(ItemStatus JSON)
Use item_status to update the status of item that you’ve already pass to Thirdwatch.
|
EventResponse |
LinkSessionToUserApi.linkSessionToUser(LinkSessionToUser JSON)
Use link_session_to_user to associate specific session to a user.
|
com.squareup.okhttp.Call |
LinkSessionToUserApi.linkSessionToUserAsync(LinkSessionToUser JSON,
ApiCallback<EventResponse> callback)
Use link_session_to_user to associate specific session to a user.
|
com.squareup.okhttp.Call |
LinkSessionToUserApi.linkSessionToUserCall(LinkSessionToUser JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for linkSessionToUser
|
ApiResponse<EventResponse> |
LinkSessionToUserApi.linkSessionToUserWithHttpInfo(LinkSessionToUser JSON)
Use link_session_to_user to associate specific session to a user.
|
EventResponse |
LoginApi.login(Login JSON)
Use login to record when a user attempts to log in.
|
com.squareup.okhttp.Call |
LoginApi.loginAsync(Login JSON,
ApiCallback<EventResponse> callback)
Use login to record when a user attempts to log in.
|
com.squareup.okhttp.Call |
LoginApi.loginCall(Login JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for login
|
ApiResponse<EventResponse> |
LoginApi.loginWithHttpInfo(Login JSON)
Use login to record when a user attempts to log in.
|
EventResponse |
LogoutApi.logout(Logout JSON)
Use logout to record when a user logs out.
|
com.squareup.okhttp.Call |
LogoutApi.logoutAsync(Logout JSON,
ApiCallback<EventResponse> callback)
Use logout to record when a user logs out.
|
com.squareup.okhttp.Call |
LogoutApi.logoutCall(Logout JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for logout
|
ApiResponse<EventResponse> |
LogoutApi.logoutWithHttpInfo(Logout JSON)
Use logout to record when a user logs out.
|
EventResponse |
OrderStatusApi.orderStatus(OrderStatus JSON)
Use order_status to track the order processing workflow of a previously submitted order.
|
com.squareup.okhttp.Call |
OrderStatusApi.orderStatusAsync(OrderStatus JSON,
ApiCallback<EventResponse> callback)
Use order_status to track the order processing workflow of a previously submitted order.
|
com.squareup.okhttp.Call |
OrderStatusApi.orderStatusCall(OrderStatus JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for orderStatus
|
ApiResponse<EventResponse> |
OrderStatusApi.orderStatusWithHttpInfo(OrderStatus JSON)
Use order_status to track the order processing workflow of a previously submitted order.
|
EventResponse |
RemoveFromCartApi.removeFromCart(RemoveFromCart JSON)
Use remove_from_cart when a user removes an item from their shopping cart or list.
|
com.squareup.okhttp.Call |
RemoveFromCartApi.removeFromCartAsync(RemoveFromCart JSON,
ApiCallback<EventResponse> callback)
Use remove_from_cart when a user removes an item from their shopping cart or list.
|
com.squareup.okhttp.Call |
RemoveFromCartApi.removeFromCartCall(RemoveFromCart JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeFromCart
|
ApiResponse<EventResponse> |
RemoveFromCartApi.removeFromCartWithHttpInfo(RemoveFromCart JSON)
Use remove_from_cart when a user removes an item from their shopping cart or list.
|
EventResponse |
ReportItemApi.reportItem(ReportItem JSON)
Use report_item to let us know when another user reports that this item may violate your company’s policies.
|
com.squareup.okhttp.Call |
ReportItemApi.reportItemAsync(ReportItem JSON,
ApiCallback<EventResponse> callback)
Use report_item to let us know when another user reports that this item may violate your company’s policies.
|
com.squareup.okhttp.Call |
ReportItemApi.reportItemCall(ReportItem JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for reportItem
|
ApiResponse<EventResponse> |
ReportItemApi.reportItemWithHttpInfo(ReportItem JSON)
Use report_item to let us know when another user reports that this item may violate your company’s policies.
|
EventResponse |
SendMessageApi.sendMessage(SendMessage JSON)
Use send_message to record when a user sends a message to other i.e.
|
com.squareup.okhttp.Call |
SendMessageApi.sendMessageAsync(SendMessage JSON,
ApiCallback<EventResponse> callback)
Use send_message to record when a user sends a message to other i.e.
|
com.squareup.okhttp.Call |
SendMessageApi.sendMessageCall(SendMessage JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for sendMessage
|
ApiResponse<EventResponse> |
SendMessageApi.sendMessageWithHttpInfo(SendMessage JSON)
Use send_message to record when a user sends a message to other i.e.
|
EventResponse |
SubmitReviewApi.submitReview(SubmitReview JSON)
Use submit_review when a user-submitted review of a product or seller.
|
com.squareup.okhttp.Call |
SubmitReviewApi.submitReviewAsync(SubmitReview JSON,
ApiCallback<EventResponse> callback)
Use submit_review when a user-submitted review of a product or seller.
|
com.squareup.okhttp.Call |
SubmitReviewApi.submitReviewCall(SubmitReview JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for submitReview
|
ApiResponse<EventResponse> |
SubmitReviewApi.submitReviewWithHttpInfo(SubmitReview JSON)
Use submit_review when a user-submitted review of a product or seller.
|
EventResponse |
TagAPIApi.tagUser(Tag JSON)
The Tag API enables you to tell Thirdwatch which of your users are bad and which are good.
|
com.squareup.okhttp.Call |
TagAPIApi.tagUserAsync(Tag JSON,
ApiCallback<EventResponse> callback)
The Tag API enables you to tell Thirdwatch which of your users are bad and which are good.
|
com.squareup.okhttp.Call |
TagAPIApi.tagUserCall(Tag JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for tagUser
|
ApiResponse<EventResponse> |
TagAPIApi.tagUserWithHttpInfo(Tag JSON)
The Tag API enables you to tell Thirdwatch which of your users are bad and which are good.
|
EventResponse |
TransactionApi.transaction(Transaction JSON)
Use transaction to record attempts results to Pay, Transfer money, Refund or other transactions.
|
com.squareup.okhttp.Call |
TransactionApi.transactionAsync(Transaction JSON,
ApiCallback<EventResponse> callback)
Use transaction to record attempts results to Pay, Transfer money, Refund or other transactions.
|
com.squareup.okhttp.Call |
TransactionApi.transactionCall(Transaction JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for transaction
|
ApiResponse<EventResponse> |
TransactionApi.transactionWithHttpInfo(Transaction JSON)
Use transaction to record attempts results to Pay, Transfer money, Refund or other transactions.
|
EventResponse |
UntagAPIApi.unTagUser(UnTag JSON)
If you are unsure whether a user is bad or good, you can always remove tag and leave the user in a neutral state.
|
com.squareup.okhttp.Call |
UntagAPIApi.unTagUserAsync(UnTag JSON,
ApiCallback<EventResponse> callback)
If you are unsure whether a user is bad or good, you can always remove tag and leave the user in a neutral state.
|
com.squareup.okhttp.Call |
UntagAPIApi.unTagUserCall(UnTag JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for unTagUser
|
ApiResponse<EventResponse> |
UntagAPIApi.unTagUserWithHttpInfo(UnTag JSON)
If you are unsure whether a user is bad or good, you can always remove tag and leave the user in a neutral state.
|
EventResponse |
UpdateAccountApi.updateAccount(UpdateAccount JSON)
Use update_account to record changes to the user's account information.
|
com.squareup.okhttp.Call |
UpdateAccountApi.updateAccountAsync(UpdateAccount JSON,
ApiCallback<EventResponse> callback)
Use update_account to record changes to the user's account information.
|
com.squareup.okhttp.Call |
UpdateAccountApi.updateAccountCall(UpdateAccount JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateAccount
|
ApiResponse<EventResponse> |
UpdateAccountApi.updateAccountWithHttpInfo(UpdateAccount JSON)
Use update_account to record changes to the user's account information.
|
EventResponse |
UpdateOrderApi.updateOrder(UpdateOrder JSON)
Update details of an existing order.
|
com.squareup.okhttp.Call |
UpdateOrderApi.updateOrderAsync(UpdateOrder JSON,
ApiCallback<EventResponse> callback)
Update details of an existing order.
|
com.squareup.okhttp.Call |
UpdateOrderApi.updateOrderCall(UpdateOrder JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateOrder
|
ApiResponse<EventResponse> |
UpdateOrderApi.updateOrderWithHttpInfo(UpdateOrder JSON)
Update details of an existing order.
|
Copyright © 2017. All rights reserved.