public class CustomerApi extends Object
| Constructor and Description |
|---|
CustomerApi() |
CustomerApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCustomer(String customerTokenId,
String profileId)
Delete a Customer
|
okhttp3.Call |
deleteCustomerAsync(String customerTokenId,
String profileId,
ApiCallback<Void> callback)
Delete a Customer (asynchronously)
|
okhttp3.Call |
deleteCustomerCall(String customerTokenId,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteCustomer
|
ApiResponse<Void> |
deleteCustomerWithHttpInfo(String customerTokenId,
String profileId)
Delete a Customer
|
ApiClient |
getApiClient() |
TmsV2CustomersResponse |
getCustomer(String customerTokenId,
String profileId)
Retrieve a Customer
|
okhttp3.Call |
getCustomerAsync(String customerTokenId,
String profileId,
ApiCallback<TmsV2CustomersResponse> callback)
Retrieve a Customer (asynchronously)
|
okhttp3.Call |
getCustomerCall(String customerTokenId,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCustomer
|
ApiResponse<TmsV2CustomersResponse> |
getCustomerWithHttpInfo(String customerTokenId,
String profileId)
Retrieve a Customer
|
TmsV2CustomersResponse |
patchCustomer(String customerTokenId,
PatchCustomerRequest patchCustomerRequest,
String profileId,
String ifMatch)
Update a Customer
|
okhttp3.Call |
patchCustomerAsync(String customerTokenId,
PatchCustomerRequest patchCustomerRequest,
String profileId,
String ifMatch,
ApiCallback<TmsV2CustomersResponse> callback)
Update a Customer (asynchronously)
|
okhttp3.Call |
patchCustomerCall(String customerTokenId,
PatchCustomerRequest patchCustomerRequest,
String profileId,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for patchCustomer
|
ApiResponse<TmsV2CustomersResponse> |
patchCustomerWithHttpInfo(String customerTokenId,
PatchCustomerRequest patchCustomerRequest,
String profileId,
String ifMatch)
Update a Customer
|
TmsV2CustomersResponse |
postCustomer(PostCustomerRequest postCustomerRequest,
String profileId)
Create a Customer
|
okhttp3.Call |
postCustomerAsync(PostCustomerRequest postCustomerRequest,
String profileId,
ApiCallback<TmsV2CustomersResponse> callback)
Create a Customer (asynchronously)
|
okhttp3.Call |
postCustomerCall(PostCustomerRequest postCustomerRequest,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postCustomer
|
ApiResponse<TmsV2CustomersResponse> |
postCustomerWithHttpInfo(PostCustomerRequest postCustomerRequest,
String profileId)
Create a Customer
|
void |
setApiClient(ApiClient apiClient) |
public CustomerApi()
public CustomerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call deleteCustomerCall(String customerTokenId, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteCustomer(String customerTokenId, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteCustomerWithHttpInfo(String customerTokenId, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteCustomerAsync(String customerTokenId, String profileId, ApiCallback<Void> callback) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getCustomerCall(String customerTokenId, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV2CustomersResponse getCustomer(String customerTokenId, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV2CustomersResponse> getCustomerWithHttpInfo(String customerTokenId, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getCustomerAsync(String customerTokenId, String profileId, ApiCallback<TmsV2CustomersResponse> callback) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call patchCustomerCall(String customerTokenId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
customerTokenId - The TokenId of a customer. (required)patchCustomerRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ifMatch - Contains an ETag value from a GET request to make the request conditional. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV2CustomersResponse patchCustomer(String customerTokenId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch) throws ApiException
customerTokenId - The TokenId of a customer. (required)patchCustomerRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ifMatch - Contains an ETag value from a GET request to make the request conditional. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV2CustomersResponse> patchCustomerWithHttpInfo(String customerTokenId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch) throws ApiException
customerTokenId - The TokenId of a customer. (required)patchCustomerRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ifMatch - Contains an ETag value from a GET request to make the request conditional. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call patchCustomerAsync(String customerTokenId, PatchCustomerRequest patchCustomerRequest, String profileId, String ifMatch, ApiCallback<TmsV2CustomersResponse> callback) throws ApiException
customerTokenId - The TokenId of a customer. (required)patchCustomerRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ifMatch - Contains an ETag value from a GET request to make the request conditional. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call postCustomerCall(PostCustomerRequest postCustomerRequest, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
postCustomerRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic TmsV2CustomersResponse postCustomer(PostCustomerRequest postCustomerRequest, String profileId) throws ApiException
postCustomerRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TmsV2CustomersResponse> postCustomerWithHttpInfo(PostCustomerRequest postCustomerRequest, String profileId) throws ApiException
postCustomerRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call postCustomerAsync(PostCustomerRequest postCustomerRequest, String profileId, ApiCallback<TmsV2CustomersResponse> callback) throws ApiException
postCustomerRequest - (required)profileId - The id of a profile containing user specific TMS configuration. (optional)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.