| Package | Description |
|---|---|
| ai.thirdwatch | |
| ai.thirdwatch.api |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(com.squareup.okhttp.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
ChargebackApi.chargebackAsync(Chargeback JSON,
ApiCallback<EventResponse> callback)
Use chargeback to capture a chargeback reported on a transaction.
|
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 |
CreateOrderApi.createOrderAsync(CreateOrder body,
ApiCallback<EventResponse> callback)
Submit a new or existing order to Thirdwatch for review.
|
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 |
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 |
LinkSessionToUserApi.linkSessionToUserAsync(LinkSessionToUser JSON,
ApiCallback<EventResponse> callback)
Use link_session_to_user to associate specific session to a user.
|
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 |
LogoutApi.logoutAsync(Logout JSON,
ApiCallback<EventResponse> callback)
Use logout to record when a user logs out.
|
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 |
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 |
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 |
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 |
SubmitReviewApi.submitReviewAsync(SubmitReview JSON,
ApiCallback<EventResponse> callback)
Use submit_review when a user-submitted review of a product or seller.
|
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 |
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 |
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 |
UpdateAccountApi.updateAccountAsync(UpdateAccount JSON,
ApiCallback<EventResponse> callback)
Use update_account to record changes to the user's account information.
|
com.squareup.okhttp.Call |
UpdateOrderApi.updateOrderAsync(UpdateOrder JSON,
ApiCallback<EventResponse> callback)
Update details of an existing order.
|
Copyright © 2017. All rights reserved.