com.ibm.commerce.requisitionlist.commands
Interface RequisitionListSubmitCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- RequisitionListSubmitCmdImpl
- public interface RequisitionListSubmitCmd
- extends ControllerCommand
Submit a requisition list for order processing.
Input parameters:
Name | Type | Requirement | Description |
requisitionListId | Long | mandatory | The id of the requisition list to be submitted. |
contractId | Long[] | optional | An array of contract ids for price calculation. |
offerId | Long[] | optional | An array of offer ids for price calculation. |
Output parameters:
Name | Type | Description |
orderId | Long | the created pending order list id |
Behavior:
- Copy the requisition list and create a new pending order.
- If the contractId or offerId are specified, they will be used to calculate the price for all order items created.
- Call OrderPrepare to prepare the order.
View:
Method Summary |
void |
setContractId(java.lang.Long[] id)
Specifies an array of contract ids for price calculation. |
void |
setOfferId(java.lang.Long[] id)
Specifies an array of offer ids for price calculation. |
void |
setRequisitionListId(java.lang.Long id)
Specifies the requisition list id to be submitted. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
setContractId
public void setContractId(java.lang.Long[] id)
- Specifies an array of contract ids for price calculation.
setOfferId
public void setOfferId(java.lang.Long[] id)
- Specifies an array of offer ids for price calculation.
setRequisitionListId
public void setRequisitionListId(java.lang.Long id)
- Specifies the requisition list id to be submitted.