com.ibm.commerce.returns.commands
Interface CheckReturnItemInCorrectStateCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CheckReturnItemInCorrectStateCmdImpl

public interface CheckReturnItemInCorrectStateCmd
extends TaskCommand

Interface for the command used for checking to see if the orderItem is in a correct state to be added to a return mechandise authorization (RMA).

Inputs

Outputs


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class name is "com.ibm.commerce.returns.commands.CheckReturnItemInCorrectStateCmdImpl" .
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.returns.commands.CheckReturnItemInCorrectStateCmd".
 
Method Summary
 boolean isOK()
          Is the order item in a returnable state?
 void setOrderItemAB( OrderItemAccessBean anOrderItemAB)           Set the orderItem being returned/refunded.
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name is "com.ibm.commerce.returns.commands.CheckReturnItemInCorrectStateCmdImpl" .
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.returns.commands.CheckReturnItemInCorrectStateCmd".
See Also:
Constant Field Values
Method Detail

isOK

public boolean isOK()
Is the order item in a returnable state?
Returns:
true if the order item is returnable; false otherwise.

setOrderItemAB

public void setOrderItemAB(OrderItemAccessBean anOrderItemAB)
Set the orderItem being returned/refunded.
Parameters:
anOrderItemAB - The orderItem access bean.