public class

AxisMagentoInventoryClient

extends AbstractMagentoClient
implements MagentoInventoryClient<ExceptionType extends Exception>
java.lang.Object
   ↳ org.mule.module.magento.api.AbstractMagentoClient
     ↳ org.mule.module.magento.api.customer.AxisMagentoInventoryClient

Summary

[Expand]
Inherited Fields
From class org.mule.module.magento.api.AbstractMagentoClient
Public Constructors
AxisMagentoInventoryClient(AxisPortProvider provider)
Public Methods
List<CatalogInventoryStockItemEntity> listStockItems(List<String> productIdsOrSkus)
Retrieve stock data by product ids
void updateStockItem(String productIdOrSkus, CatalogInventoryStockItemUpdateEntity attributes)
Update product stock data given its id or sku
[Expand]
Inherited Methods
From class org.mule.module.magento.api.AbstractMagentoClient
From class java.lang.Object
From interface org.mule.module.magento.api.customer.MagentoInventoryClient

Public Constructors

public AxisMagentoInventoryClient (AxisPortProvider provider)

Parameters
provider

Public Methods

public List<CatalogInventoryStockItemEntity> listStockItems (List<String> productIdsOrSkus)

Retrieve stock data by product ids

Parameters
productIdsOrSkus A not empty list of product ids or skus whose attributes to list
Returns
  • a list of stock items attributes
Throws
RemoteException

public void updateStockItem (String productIdOrSkus, CatalogInventoryStockItemUpdateEntity attributes)

Update product stock data given its id or sku

Parameters
productIdOrSkus The product id or sku of the product to update
attributes To update
Throws
RemoteException