com.elasticpath.cmweb.ajaxservice
Interface InventoryAjaxService
- All Superinterfaces:
- EpService
- All Known Implementing Classes:
- InventoryAjaxServiceImpl
public interface InventoryAjaxService
- extends EpService
This service provides access to functionality and data (beans) for manipulating order on the Javascript client.
adjustInventoryBySkuCode
java.lang.String adjustInventoryBySkuCode(java.lang.String skuCode,
InventoryAudit inventoryAudit,
javax.servlet.http.HttpServletRequest request)
- Parameters:
skuCode
- the code of the ProductSku
to adjust inventory oninventoryAudit
- the audit for this inventory adjustmentrequest
- the current request
- Returns:
- an error message on failure or an empty string on success
setInventoryAuditService
void setInventoryAuditService(InventoryAuditService inventoryAuditService)
- Parameters:
inventoryAuditService
- the inventoryAuditService to set
setInventoryService
void setInventoryService(InventoryService inventoryService)
- Parameters:
inventoryService
- the inventoryService to set
setProductSkuService
void setProductSkuService(ProductSkuService productSkuService)
- Parameters:
productSkuService
- the productSkuService to set
setRequestHelper
void setRequestHelper(RequestHelper requestHelper)
- Parameters:
requestHelper
- the requestHelper to set