com.ibm.commerce.payment.commands

Interface DoCancelCmd

  • 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:
    DoCancelCmdImpl

    Deprecated. 
    Replaced by CancelOrderCmd

    public interface DoCancelCmd
    extends TaskCommand
    The DoCancelCmd Task Command is called by the AdminOrderCancel Controller command to cancel the payment for an order.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        Deprecated. 
        The name of this command.
        See Also:
        Constant Field Values
      • ERRTASK_NAME

        static final java.lang.String ERRTASK_NAME
        Deprecated. 
        Name of the Error View for this command. The constant value of this field is "DoCancelErrorView".
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Deprecated. 
        The default implementation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setOrderId

        void setOrderId(java.lang.Long orderId)
        Deprecated. 
        Sets the orderId property of the command.
        Parameters:
        orderId - the ID of the Order whose payment is to be canceled
      • setPurge

        void setPurge(java.lang.String sPurge)
        Deprecated. 
        Sets the purge property of the command.
        Parameters:
        sPurge - set to "1" to remove the ORDPAYMTHD record of the canceled order; otherwise, the ORDPAYMTHD record for the order is left intact.