public final class DefaultInventoryApi extends BaseApi implements InventoryApi
AUTHENTICATION_KEY, GLOBAL_ERROR_CASES| Constructor and Description |
|---|
DefaultInventoryApi(io.apimatic.core.GlobalConfiguration globalConfig)
Initializes the controller.
|
getClientInstance, getGlobalConfiguration, getHttpCallbackpublic DefaultInventoryApi(io.apimatic.core.GlobalConfiguration globalConfig)
globalConfig - Configurations added in client.@Deprecated public RetrieveInventoryAdjustmentResponse deprecatedRetrieveInventoryAdjustment(String adjustmentId) throws ApiException, IOException
deprecatedRetrieveInventoryAdjustment in interface InventoryApiadjustmentId - Required parameter: ID of the
[InventoryAdjustment](entity:InventoryAdjustment) to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated public CompletableFuture<RetrieveInventoryAdjustmentResponse> deprecatedRetrieveInventoryAdjustmentAsync(String adjustmentId)
deprecatedRetrieveInventoryAdjustmentAsync in interface InventoryApiadjustmentId - Required parameter: ID of the
[InventoryAdjustment](entity:InventoryAdjustment) to retrieve.public RetrieveInventoryAdjustmentResponse retrieveInventoryAdjustment(String adjustmentId) throws ApiException, IOException
retrieveInventoryAdjustment in interface InventoryApiadjustmentId - Required parameter: ID of the
[InventoryAdjustment](entity:InventoryAdjustment) to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RetrieveInventoryAdjustmentResponse> retrieveInventoryAdjustmentAsync(String adjustmentId)
retrieveInventoryAdjustmentAsync in interface InventoryApiadjustmentId - Required parameter: ID of the
[InventoryAdjustment](entity:InventoryAdjustment) to retrieve.@Deprecated public BatchChangeInventoryResponse deprecatedBatchChangeInventory(BatchChangeInventoryRequest body) throws ApiException, IOException
deprecatedBatchChangeInventory in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated public CompletableFuture<BatchChangeInventoryResponse> deprecatedBatchChangeInventoryAsync(BatchChangeInventoryRequest body)
deprecatedBatchChangeInventoryAsync in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.@Deprecated public BatchRetrieveInventoryChangesResponse deprecatedBatchRetrieveInventoryChanges(BatchRetrieveInventoryChangesRequest body) throws ApiException, IOException
deprecatedBatchRetrieveInventoryChanges in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated public CompletableFuture<BatchRetrieveInventoryChangesResponse> deprecatedBatchRetrieveInventoryChangesAsync(BatchRetrieveInventoryChangesRequest body)
deprecatedBatchRetrieveInventoryChangesAsync in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.@Deprecated public BatchRetrieveInventoryCountsResponse deprecatedBatchRetrieveInventoryCounts(BatchRetrieveInventoryCountsRequest body) throws ApiException, IOException
deprecatedBatchRetrieveInventoryCounts in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated public CompletableFuture<BatchRetrieveInventoryCountsResponse> deprecatedBatchRetrieveInventoryCountsAsync(BatchRetrieveInventoryCountsRequest body)
deprecatedBatchRetrieveInventoryCountsAsync in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public BatchChangeInventoryResponse batchChangeInventory(BatchChangeInventoryRequest body) throws ApiException, IOException
batchChangeInventory in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<BatchChangeInventoryResponse> batchChangeInventoryAsync(BatchChangeInventoryRequest body)
batchChangeInventoryAsync in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public BatchRetrieveInventoryChangesResponse batchRetrieveInventoryChanges(BatchRetrieveInventoryChangesRequest body) throws ApiException, IOException
batchRetrieveInventoryChanges in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<BatchRetrieveInventoryChangesResponse> batchRetrieveInventoryChangesAsync(BatchRetrieveInventoryChangesRequest body)
batchRetrieveInventoryChangesAsync in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.public BatchRetrieveInventoryCountsResponse batchRetrieveInventoryCounts(BatchRetrieveInventoryCountsRequest body) throws ApiException, IOException
batchRetrieveInventoryCounts in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<BatchRetrieveInventoryCountsResponse> batchRetrieveInventoryCountsAsync(BatchRetrieveInventoryCountsRequest body)
batchRetrieveInventoryCountsAsync in interface InventoryApibody - Required parameter: An object containing the fields to POST for the request.
See the corresponding object definition for field details.@Deprecated public RetrieveInventoryPhysicalCountResponse deprecatedRetrieveInventoryPhysicalCount(String physicalCountId) throws ApiException, IOException
deprecatedRetrieveInventoryPhysicalCount in interface InventoryApiphysicalCountId - Required parameter: ID of the
[InventoryPhysicalCount](entity:InventoryPhysicalCount) to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated public CompletableFuture<RetrieveInventoryPhysicalCountResponse> deprecatedRetrieveInventoryPhysicalCountAsync(String physicalCountId)
deprecatedRetrieveInventoryPhysicalCountAsync in interface InventoryApiphysicalCountId - Required parameter: ID of the
[InventoryPhysicalCount](entity:InventoryPhysicalCount) to retrieve.public RetrieveInventoryPhysicalCountResponse retrieveInventoryPhysicalCount(String physicalCountId) throws ApiException, IOException
retrieveInventoryPhysicalCount in interface InventoryApiphysicalCountId - Required parameter: ID of the
[InventoryPhysicalCount](entity:InventoryPhysicalCount) to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RetrieveInventoryPhysicalCountResponse> retrieveInventoryPhysicalCountAsync(String physicalCountId)
retrieveInventoryPhysicalCountAsync in interface InventoryApiphysicalCountId - Required parameter: ID of the
[InventoryPhysicalCount](entity:InventoryPhysicalCount) to retrieve.public RetrieveInventoryTransferResponse retrieveInventoryTransfer(String transferId) throws ApiException, IOException
retrieveInventoryTransfer in interface InventoryApitransferId - Required parameter: ID of the
[InventoryTransfer](entity:InventoryTransfer) to retrieve.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RetrieveInventoryTransferResponse> retrieveInventoryTransferAsync(String transferId)
retrieveInventoryTransferAsync in interface InventoryApitransferId - Required parameter: ID of the
[InventoryTransfer](entity:InventoryTransfer) to retrieve.public RetrieveInventoryCountResponse retrieveInventoryCount(String catalogObjectId, String locationIds, String cursor) throws ApiException, IOException
retrieveInventoryCount in interface InventoryApicatalogObjectId - Required parameter: ID of the [CatalogObject](entity:CatalogObject)
to retrieve.locationIds - Optional parameter: The [Location](entity:Location) IDs to look up as a
comma-separated list. An empty list queries all locations.cursor - Optional parameter: A pagination cursor returned by a previous call to this
endpoint. Provide this to retrieve the next set of results for the original query.
See the
[Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide
for more information.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.public CompletableFuture<RetrieveInventoryCountResponse> retrieveInventoryCountAsync(String catalogObjectId, String locationIds, String cursor)
retrieveInventoryCountAsync in interface InventoryApicatalogObjectId - Required parameter: ID of the [CatalogObject](entity:CatalogObject)
to retrieve.locationIds - Optional parameter: The [Location](entity:Location) IDs to look up as a
comma-separated list. An empty list queries all locations.cursor - Optional parameter: A pagination cursor returned by a previous call to this
endpoint. Provide this to retrieve the next set of results for the original query.
See the
[Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide
for more information.@Deprecated public RetrieveInventoryChangesResponse retrieveInventoryChanges(String catalogObjectId, String locationIds, String cursor) throws ApiException, IOException
retrieveInventoryChanges in interface InventoryApicatalogObjectId - Required parameter: ID of the [CatalogObject](entity:CatalogObject)
to retrieve.locationIds - Optional parameter: The [Location](entity:Location) IDs to look up as a
comma-separated list. An empty list queries all locations.cursor - Optional parameter: A pagination cursor returned by a previous call to this
endpoint. Provide this to retrieve the next set of results for the original query.
See the
[Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide
for more information.ApiException - Represents error response from the server.IOException - Signals that an I/O exception of some sort has occurred.@Deprecated public CompletableFuture<RetrieveInventoryChangesResponse> retrieveInventoryChangesAsync(String catalogObjectId, String locationIds, String cursor)
retrieveInventoryChangesAsync in interface InventoryApicatalogObjectId - Required parameter: ID of the [CatalogObject](entity:CatalogObject)
to retrieve.locationIds - Optional parameter: The [Location](entity:Location) IDs to look up as a
comma-separated list. An empty list queries all locations.cursor - Optional parameter: A pagination cursor returned by a previous call to this
endpoint. Provide this to retrieve the next set of results for the original query.
See the
[Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide
for more information.Copyright © 2023. All rights reserved.