com.ibm.commerce.orderitems.commands
Interface AdminOrderItemUpdateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, OrderItemUpdateCmd, Protectable
- All Known Implementing Classes:
- AdminOrderItemUpdateCmdImpl
- public interface AdminOrderItemUpdateCmd
- extends OrderItemUpdateCmd
This is an administrator's command.
It allows an administrator to manually add or update a price and currency for the order item
instead of retrieving the price from catalog entry.
Method Summary |
void |
setCurrency(java.util.Hashtable ahshCurrency)
Set the currency. |
void |
setForUserId(java.lang.Long aForUserId)
Set the for user id. |
void |
setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenterId)
Sets the fulfillment center id id to be stored in OrderItem. |
void |
setPrice(java.util.Hashtable ahshPrice)
Set the price. |
void |
setTradingId(java.lang.Long anTradingId)
Sets the trading id to be stored in OrderItem. |
Methods inherited from interface com.ibm.commerce.orderitems.commands.OrderItemUpdateCmd |
getOrderIds, getOrderItemIds, setAddressId, setAttrName, setAttrValue, setCatEntryId, setComment, setConfigurationId, setContractId, setCorrelationGroup, setDescription, setField1, setField2, setListId, setMemberId, setOfferId, setOrderDesc, setOrderId, setOrderItemId, setOutOrderItemName, setOutOrderName, setPartNumber, setQuantity, setShipmodeId, setTradingId, setUom |
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
setCurrency
public void setCurrency(java.util.Hashtable ahshCurrency)
- Set the currency.
setForUserId
public void setForUserId(java.lang.Long aForUserId)
- Set the for user id.
- Specified by:
setForUserId
in interface AccCommand
- Following copied from interface:
com.ibm.commerce.command.AccCommand
- Parameters:
id
- - the id for the user
setFulfillmentCenterId
public void setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenterId)
- Sets the fulfillment center id id to be stored in OrderItem.
setPrice
public void setPrice(java.util.Hashtable ahshPrice)
- Set the price.
setTradingId
public void setTradingId(java.lang.Long anTradingId)
- Sets the trading id to be stored in OrderItem.