com.ibm.commerce.order.commands

Interface OrderCancelCmd

  • 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
    All Known Implementing Classes:
    OrderCancelCmdImpl


    public interface OrderCancelCmd
    extends ControllerCommand
    This controller command is used to cancel the specified order. This controller command is intended to be used by a user to cancel one of its Orders. There is no default implementation of this command.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The full name of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setOrderId

        void setOrderId(java.lang.Long anOrderId)
        This method sets the id of the order to cancel.
        Parameters:
        anOrderId - A Long that specifies the Order identifier.
      • setUrl

        void setUrl(java.lang.String astrUrl)
        This method sets the redirection URL to be called when the command completes successfully.
        Parameters:
        astrUrl - A String that specifies the redirection URL string.