public class CustomerShippingAddressApi extends Object
| Constructor and Description |
|---|
CustomerShippingAddressApi() |
CustomerShippingAddressApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCustomerShippingAddress(String customerTokenId,
String shippingAddressTokenId,
String profileId)
Delete a Customer Shipping Address
|
okhttp3.Call |
deleteCustomerShippingAddressAsync(String customerTokenId,
String shippingAddressTokenId,
String profileId,
ApiCallback<Void> callback)
Delete a Customer Shipping Address (asynchronously)
|
okhttp3.Call |
deleteCustomerShippingAddressCall(String customerTokenId,
String shippingAddressTokenId,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteCustomerShippingAddress
|
ApiResponse<Void> |
deleteCustomerShippingAddressWithHttpInfo(String customerTokenId,
String shippingAddressTokenId,
String profileId)
Delete a Customer Shipping Address
|
ApiClient |
getApiClient() |
Tmsv2customersEmbeddedDefaultShippingAddress |
getCustomerShippingAddress(String customerTokenId,
String shippingAddressTokenId,
String profileId)
Retrieve a Customer Shipping Address
|
okhttp3.Call |
getCustomerShippingAddressAsync(String customerTokenId,
String shippingAddressTokenId,
String profileId,
ApiCallback<Tmsv2customersEmbeddedDefaultShippingAddress> callback)
Retrieve a Customer Shipping Address (asynchronously)
|
okhttp3.Call |
getCustomerShippingAddressCall(String customerTokenId,
String shippingAddressTokenId,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCustomerShippingAddress
|
ShippingAddressListForCustomer |
getCustomerShippingAddressesList(String customerTokenId,
String profileId,
Long offset,
Long limit)
List Shipping Addresses for a Customer
|
okhttp3.Call |
getCustomerShippingAddressesListAsync(String customerTokenId,
String profileId,
Long offset,
Long limit,
ApiCallback<ShippingAddressListForCustomer> callback)
List Shipping Addresses for a Customer (asynchronously)
|
okhttp3.Call |
getCustomerShippingAddressesListCall(String customerTokenId,
String profileId,
Long offset,
Long limit,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getCustomerShippingAddressesList
|
ApiResponse<ShippingAddressListForCustomer> |
getCustomerShippingAddressesListWithHttpInfo(String customerTokenId,
String profileId,
Long offset,
Long limit)
List Shipping Addresses for a Customer
|
ApiResponse<Tmsv2customersEmbeddedDefaultShippingAddress> |
getCustomerShippingAddressWithHttpInfo(String customerTokenId,
String shippingAddressTokenId,
String profileId)
Retrieve a Customer Shipping Address
|
Tmsv2customersEmbeddedDefaultShippingAddress |
patchCustomersShippingAddress(String customerTokenId,
String shippingAddressTokenId,
PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest,
String profileId,
String ifMatch)
Update a Customer Shipping Address
|
okhttp3.Call |
patchCustomersShippingAddressAsync(String customerTokenId,
String shippingAddressTokenId,
PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest,
String profileId,
String ifMatch,
ApiCallback<Tmsv2customersEmbeddedDefaultShippingAddress> callback)
Update a Customer Shipping Address (asynchronously)
|
okhttp3.Call |
patchCustomersShippingAddressCall(String customerTokenId,
String shippingAddressTokenId,
PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest,
String profileId,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for patchCustomersShippingAddress
|
ApiResponse<Tmsv2customersEmbeddedDefaultShippingAddress> |
patchCustomersShippingAddressWithHttpInfo(String customerTokenId,
String shippingAddressTokenId,
PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest,
String profileId,
String ifMatch)
Update a Customer Shipping Address
|
Tmsv2customersEmbeddedDefaultShippingAddress |
postCustomerShippingAddress(String customerTokenId,
PostCustomerShippingAddressRequest postCustomerShippingAddressRequest,
String profileId)
Create a Customer Shipping Address
|
okhttp3.Call |
postCustomerShippingAddressAsync(String customerTokenId,
PostCustomerShippingAddressRequest postCustomerShippingAddressRequest,
String profileId,
ApiCallback<Tmsv2customersEmbeddedDefaultShippingAddress> callback)
Create a Customer Shipping Address (asynchronously)
|
okhttp3.Call |
postCustomerShippingAddressCall(String customerTokenId,
PostCustomerShippingAddressRequest postCustomerShippingAddressRequest,
String profileId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postCustomerShippingAddress
|
ApiResponse<Tmsv2customersEmbeddedDefaultShippingAddress> |
postCustomerShippingAddressWithHttpInfo(String customerTokenId,
PostCustomerShippingAddressRequest postCustomerShippingAddressRequest,
String profileId)
Create a Customer Shipping Address
|
void |
setApiClient(ApiClient apiClient) |
public CustomerShippingAddressApi()
public CustomerShippingAddressApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call deleteCustomerShippingAddressCall(String customerTokenId, String shippingAddressTokenId, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (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 deleteCustomerShippingAddress(String customerTokenId, String shippingAddressTokenId, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (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> deleteCustomerShippingAddressWithHttpInfo(String customerTokenId, String shippingAddressTokenId, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (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 deleteCustomerShippingAddressAsync(String customerTokenId, String shippingAddressTokenId, String profileId, ApiCallback<Void> callback) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (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 getCustomerShippingAddressCall(String customerTokenId, String shippingAddressTokenId, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (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 Tmsv2customersEmbeddedDefaultShippingAddress getCustomerShippingAddress(String customerTokenId, String shippingAddressTokenId, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (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<Tmsv2customersEmbeddedDefaultShippingAddress> getCustomerShippingAddressWithHttpInfo(String customerTokenId, String shippingAddressTokenId, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (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 getCustomerShippingAddressAsync(String customerTokenId, String shippingAddressTokenId, String profileId, ApiCallback<Tmsv2customersEmbeddedDefaultShippingAddress> callback) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (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 getCustomerShippingAddressesListCall(String customerTokenId, String profileId, Long offset, Long limit, 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)offset - Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0)limit - The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ShippingAddressListForCustomer getCustomerShippingAddressesList(String customerTokenId, String profileId, Long offset, Long limit) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)offset - Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0)limit - The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ShippingAddressListForCustomer> getCustomerShippingAddressesListWithHttpInfo(String customerTokenId, String profileId, Long offset, Long limit) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)offset - Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0)limit - The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getCustomerShippingAddressesListAsync(String customerTokenId, String profileId, Long offset, Long limit, ApiCallback<ShippingAddressListForCustomer> callback) throws ApiException
customerTokenId - The TokenId of a customer. (required)profileId - The id of a profile containing user specific TMS configuration. (optional)offset - Starting record in zero-based dataset that should be returned as the first object in the array. Default is 0. (optional, default to 0)limit - The maximum number that can be returned in the array starting from the offset record in zero-based dataset. Default is 20, maximum is 100. (optional, default to 20)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 patchCustomersShippingAddressCall(String customerTokenId, String shippingAddressTokenId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (required)patchCustomerShippingAddressRequest - (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 Tmsv2customersEmbeddedDefaultShippingAddress patchCustomersShippingAddress(String customerTokenId, String shippingAddressTokenId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (required)patchCustomerShippingAddressRequest - (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<Tmsv2customersEmbeddedDefaultShippingAddress> patchCustomersShippingAddressWithHttpInfo(String customerTokenId, String shippingAddressTokenId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (required)patchCustomerShippingAddressRequest - (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 patchCustomersShippingAddressAsync(String customerTokenId, String shippingAddressTokenId, PatchCustomerShippingAddressRequest patchCustomerShippingAddressRequest, String profileId, String ifMatch, ApiCallback<Tmsv2customersEmbeddedDefaultShippingAddress> callback) throws ApiException
customerTokenId - The TokenId of a customer. (required)shippingAddressTokenId - The TokenId of an shipping address. (required)patchCustomerShippingAddressRequest - (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 postCustomerShippingAddressCall(String customerTokenId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
customerTokenId - The TokenId of a customer. (required)postCustomerShippingAddressRequest - (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 Tmsv2customersEmbeddedDefaultShippingAddress postCustomerShippingAddress(String customerTokenId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)postCustomerShippingAddressRequest - (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<Tmsv2customersEmbeddedDefaultShippingAddress> postCustomerShippingAddressWithHttpInfo(String customerTokenId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId) throws ApiException
customerTokenId - The TokenId of a customer. (required)postCustomerShippingAddressRequest - (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 postCustomerShippingAddressAsync(String customerTokenId, PostCustomerShippingAddressRequest postCustomerShippingAddressRequest, String profileId, ApiCallback<Tmsv2customersEmbeddedDefaultShippingAddress> callback) throws ApiException
customerTokenId - The TokenId of a customer. (required)postCustomerShippingAddressRequest - (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.