com.ibm.commerce.fulfillment.commands
Interface ReverseUpdateInventoryCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
InventoryBaseCmdImpl

public interface ReverseUpdateInventoryCmd
extends TaskCommand

ReverseUpdateInventory let you undo an updating of inventory for items. There are two ways to reverse update inventory.

The fulfillmentCenterId is optional.

Calling Command: OrderProcess

Expected Behavior: Reverse a previous reduction in the amount of inventory in stock for a product or item.


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 reverse update the inventory.
 void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
          Set a fulfillment center Id.
 void setOrderItem( OrderItemAccessBean anOrderItem)
          Set an OrderItem to reverse update the inventory.
 void setOrderItem( OrderItemAccessBean[] orderItems)
          Set a list of OrderItems to reverse update the inventory.
 void setOrderItem(java.util.Vector anOrderItemList)
          Set a list of OrderItems to reverse update the inventory.
 void setQuantity(java.lang.Double aQuantity)
          Set a quantity to reverse update the inventory.
 void setQuantityMeasure(java.lang.String quantityMeasure)
          Set a quantity measure (optional).
 void setStoreId(java.lang.Integer aStoreId)           Set a store id.
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
See Also:
Constant Field Values

ERRTASK_NAME

public static final java.lang.String ERRTASK_NAME
See Also:
Constant Field Values
Method Detail

setCatEntryId

public void setCatEntryId(java.lang.Long aCatEntryId)
Set a Catalog Entry Id to reverse update the inventory.

setFulfillmentCenterId

public void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
Set a fulfillment center Id.

setOrderItem

public void setOrderItem(OrderItemAccessBean[] orderItems)
Set a list of OrderItems to reverse update the inventory.

setOrderItem

public void setOrderItem(OrderItemAccessBean anOrderItem)
Set an OrderItem to reverse update the inventory.

setOrderItem

public void setOrderItem(java.util.Vector anOrderItemList)
Set a list of OrderItems to reverse update the inventory.

setQuantity

public void setQuantity(java.lang.Double aQuantity)
Set a quantity to reverse update the inventory.

setQuantityMeasure

public void setQuantityMeasure(java.lang.String quantityMeasure)
Set a quantity measure (optional).

setStoreId

public void setStoreId(java.lang.Integer aStoreId)
Set a store id.