Creates a reservation of a requested quantity of inventory of a given item
from a given fulfillment center for a given store. Following a successful
reservation, the reservation number may be obtained by calling the
getReserveId()
method.
Adds a row to the INVRESERVE
table.
Required parameters are:
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.ReserveInventoryCmdImpl". |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.inventory.commands.ReserveInventoryCmd". |
Method Summary | |
---|---|
java.lang.Long |
getReserveId() Gets the reservation identifier created after executing this command. |
void |
setFFCId(java.lang.Integer argFFCId) Sets the fulfillment center identifier. |
void |
setItemSpcId(java.lang.Long argItemSpcId) Sets the item specified for reservation. |
void |
setQuantity(java.lang.Integer argQuantity) Sets the quantity of the reservation. |
void |
setReservationInstance(java.lang.String argReservationInstance) Sets the reservation description identifying the instance. |
void |
setReservationType(java.lang.Long argReservationType)
Sets the reservation type. |
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.Long getReserveId()
public void setFFCId(java.lang.Integer argFFCId)
argFFCId
- fulfillment center idpublic void setItemSpcId(java.lang.Long argItemSpcId)
argItemSpcId
- item idpublic void setQuantity(java.lang.Integer argQuantity)
argQuantity
- reservation quantitypublic void setReservationInstance(java.lang.String argReservationInstance)
argReservationInstance
- reservation
descriptionpublic void setReservationType(java.lang.Long argReservationType)
INVRSRVTYP
table.
argReservationType
- reservation type