The purpose of this command is to reserve inventory for a specified product. This command can be used for both ATP and non-ATP stores.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
static java.lang.String |
defaultCommandClassName The default implementation class is "com.ibm.commerce.inventory.commands.GenericInventoryReserveCmdImpl". |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.inventory.commands.GenericInventoryReserveCmd". |
Method Summary | |
---|---|
java.lang.Integer |
getFulfillmentCenterId() Returns the id of the fulfillment center that the inventory reservation took place. |
java.lang.Long |
getReservationId() Returns the reservation id for ATP enabled stores. |
void |
setCatEntryId(java.lang.Long param) Set the catalog Id of the product to reserve. |
void |
setDescription(java.lang.String param) Set the description for this reservation. |
void |
setQuantity(java.lang.Integer argQuantity) Set the quantity of the product to reserve. |
void |
setReservationType(java.lang.Long param) Set the type of reservation. |
void |
setStore(
StoreAccessBean param)
Set the store object in which this reservation is taking
place. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.Integer getFulfillmentCenterId()
public java.lang.Long getReservationId()
public void setCatEntryId(java.lang.Long param)
param
- java.lang.Longpublic void setDescription(java.lang.String param)
param
- java.lang.Stringpublic void setQuantity(java.lang.Integer argQuantity)
argQuantity
- java.lang.Longpublic void setReservationType(java.lang.Long param)
param
- java.lang.Longpublic void setStore(StoreAccessBean param)
param
-
com.ibm.commerce.common.objects.StoreAccessBean