com.ibm.commerce.payment.commands
Interface DoCancelCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
DoCancelCmdImpl

public interface DoCancelCmd
extends TaskCommand

The DoCancelCmd Task Command is called by the AdminOrderCancel Controller command to cancel the payment for an order.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation of this command.
static java.lang.String ERRTASK_NAME
          Name of the Error View for this command.
static java.lang.String NAME
          The name of this command.
 
Method Summary
 void setOrderId(java.lang.Long orderId)
          Sets the orderId property of the command.
 void setPurge(java.lang.String sPurge)           Sets the purge property of the command.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

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

ERRTASK_NAME

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

defaultCommandClassName

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

setOrderId

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

setPurge

public void setPurge(java.lang.String sPurge)
Sets the purge property of the command.