com.ibm.commerce.tools.optools.order.commands
Interface CSROrderProductContractPriceCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
All Known Implementing Classes:
CSROrderProductContractPriceCmdImpl

public interface CSROrderProductContractPriceCmd
extends ToolsControllerCommand

This controller command acts as a task command that extracts a list of contract prices
available for the catalog entry in the store for the shopper.

Input parameters:
	currency
		The currency of the price	
	catalog entry ID
		The catalog entry ID of the product
  
Output parameters:
	trading IDs
		The list of the trading agreements ids.
	trading prices
		The list of contract prices

Exceptions:
	It will re-throw all the exceptions that the GetContractUnitPrice command will throw.
 


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 CatEntryPrices[] getContractPrices()
          Gets the list of contract prices.
 java.lang.Long[] getTradingIds()
          Gets the trading IDs available for the catalog entry.
 MonetaryAmount[] getTradingPrices()
          Gets the trading prices available for the catalog entry corresponding to the trading IDs.
 void setCatEntryId(java.lang.String catentryId)
          Sets the catalog entry ID.
 void setCurrency(java.lang.String currency)
          Sets the currency.
 
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.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

getContractPrices

public CatEntryPrices[] getContractPrices()
Gets the list of contract prices.
Returns:
The list of contract prices.

getTradingIds

public java.lang.Long[] getTradingIds()
Gets the trading IDs available for the catalog entry.
Returns:
The list of trading IDs.

getTradingPrices

public MonetaryAmount[] getTradingPrices()
Gets the trading prices available for the catalog entry corresponding to the trading IDs.
Returns:
The list of trading prices.

setCatEntryId

public void setCatEntryId(java.lang.String catentryId)
Sets the catalog entry ID.
Parameters:
newCatEntryId - The catalog entry ID.

setCurrency

public void setCurrency(java.lang.String currency)
Sets the currency.
Parameters:
newCurrency - The currency.