com.ibm.commerce.orderitems.commands

Interface AdminOrderItemUpdateCOCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, OrderItemUpdateCmd, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    AdminOrderItemUpdateCOCmdImpl


    public interface AdminOrderItemUpdateCOCmd
    extends OrderItemUpdateCmd
    This Order controller command is used for a TSR/CSR to manually add or update a price and currency for the order items. It is used instead of retrieving the price from catalog entry. The difference to AdminOrderItemUpdateCmd is it support price override reason code, and order blocking. The default implementation of this command is AdminOrderItemUpdateCOCmdImpl.

    This command inherits from the OrderItemUpdateCmd. It accepts all parameters of the base class.

    • 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 the Command Interface class.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class.
        See Also:
        Constant Field Values
    • Method Detail

      • setCurrency

        void setCurrency(java.util.Hashtable ahshCurrency)
        This method sets the currency.
        Parameters:
        ahshCurrency - a hashtable of currency.
      • setForUserId

        void setForUserId(java.lang.Long aForUserId)
        This method sets the for user id.
        Specified by:
        setForUserId in interface AccCommand
        Parameters:
        aForUserId - the for user id.
      • setPrice

        void setPrice(java.util.Hashtable ahshPrice)
        This method sets the price.
        Parameters:
        ahshPrice - a hashtable of price