|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
UpdateInventory let you update inventory for items. There are two ways to update inventory.
Calling Command: OrderProcess
Expected Behavior: Reduce the amount of inventory in stock for a product or item. /p>
If the update inventory fails, it throws ECApplicationException with the message key _API_BAD_INV and the error view of UpdateInventoryErrorView.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
|
static java.lang.String |
ERRTASK_NAME
|
static java.lang.String |
NAME
|
Method Summary | |
void |
setCatEntryId(java.lang.Long aCatEntryId)
Set a Catalog Entry Id to update the inventory. |
void |
setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
Set a fulfillment center Id to update the inventory. |
void |
setOrderItem(OrderItemAccessBean anOrderItem)
Set an OrderItem to update the inventory. |
void |
setOrderItem(OrderItemAccessBean[] anOrderItem)
Set a list of OrderItems to update the inventory. |
void |
setOrderItem(java.util.Vector anOrderItemList)
Set a list of OrderItems to update the inventory. |
void |
setQuantity(java.lang.Double aQuantity)
Set a quantity to update the inventory. |
void |
setQuantityMeasure(java.lang.String quantityMeasure)
Set a quantity measure to update the inventory (optional). |
void |
setStoreId(java.lang.Integer aStoreId)
Set a store id to update the inventory. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String ERRTASK_NAME
public static final java.lang.String NAME
Method Detail |
public void setCatEntryId(java.lang.Long aCatEntryId)
public void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
public void setOrderItem(OrderItemAccessBean anOrderItem)
public void setOrderItem(OrderItemAccessBean[] anOrderItem)
public void setOrderItem(java.util.Vector anOrderItemList)
public void setQuantity(java.lang.Double aQuantity)
public void setQuantityMeasure(java.lang.String quantityMeasure)
public void setStoreId(java.lang.Integer aStoreId)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |