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 the GetContractUnitPrice command will throw.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        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.