com.ibm.commerce.utf.commands

Interface CreateOrderCommentsTCCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    CreateOrderCommentsTCCmdImpl


    public interface CreateOrderCommentsTCCmd
    extends TaskCommand
    Creates terms and conditions of type "OrderComments".

    This command can be used to convert freeform terms and conditions input, during the course of a negotiation, into Terms and Conditions associated with a trading agreement. When an order results from a trading agreement, the OrderComment TCs will appear as customer comments in the prepared order.

    • 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 of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setCommentsVector

        void setCommentsVector(java.util.Vector newComments)
        Stores the list of freeform comments that need to be converted into TCs.
        Parameters:
        newComments - The list of freeform comments.
      • setTradingId

        void setTradingId(java.lang.Long newTradingid)
        Stores the incoming trading agreement ID.
        Parameters:
        newTradingId - The ID of the trading agreement.