com.ibm.commerce.tools.optools.order.commands
Interface CSROrderProductContractPriceCmd
-
- All Superinterfaces:
- AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, ToolsControllerCommand
- All Known Implementing Classes:
- CSROrderProductContractPriceCmdImpl
public interface CSROrderProductContractPriceCmd extends ToolsControllerCommand
The command returns customer's entitled contract prices for the enquiring products.Behavior
- For each product in the list, it returns a list of trading ids and corresponding prices. Null trading id will be returned if customer is not entitled to buy the product.
Parameters
- currency
- The currency of the price.
- catalog entry IDs
- A list of catalog entry ID.
Response Parameter:
- trading IDs
- The list of the trading agreements ids.
- trading prices
- The list of contract prices.
Exception Conditions
It will re-throw all the exceptions that theGetContractUnitPrice
command will throw.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
IBM copyright notice field.static java.lang.String
defaultCommandClassName
The default implementation class name.static java.lang.String
NAME
The name of this command.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.util.Hashtable
getContractPrices()
Gets the list of contract prices.java.util.Hashtable
getTradingIds()
Gets the trading IDs available for the catalog entry.java.util.Hashtable
getTradingPrices()
Gets the trading prices available for the catalog entry corresponding to the trading IDs.void
setCatEntryIds(java.util.Vector catentryIds)
Sets the catalog entry IDs.-
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
-
Methods inherited from interface com.ibm.websphere.command.CacheableCommand
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
-
Methods inherited from interface com.ibm.websphere.command.TargetableCommand
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
-
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
-
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
-
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
-
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
IBM copyright notice field.- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
The name of this command.- See Also:
- Constant Field Values
-
defaultCommandClassName
static final java.lang.String defaultCommandClassName
The default implementation class name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getContractPrices
java.util.Hashtable getContractPrices()
Gets the list of contract prices.- Returns:
- The list of contract prices.
-
getTradingIds
java.util.Hashtable getTradingIds()
Gets the trading IDs available for the catalog entry.- Returns:
- The list of trading IDs.
-
getTradingPrices
java.util.Hashtable getTradingPrices()
Gets the trading prices available for the catalog entry corresponding to the trading IDs.- Returns:
- The list of trading prices.
-
setCatEntryIds
void setCatEntryIds(java.util.Vector catentryIds)
Sets the catalog entry IDs.- Parameters:
catentryIds
- The list of catalog entry IDs.
-
-