com.ibm.commerce.returns.commands

Interface CheckReturnItemInCorrectStateCmd

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


    public interface CheckReturnItemInCorrectStateCmd
    extends TaskCommand
    Interface for the command checks if the orderItem is in a correct state to be added to a return merchandise authorization (RMA).

    Inputs

    • OrderItemAB (required)
      • OrderItemAccessBean of the OrderItem

    Outputs

    • isOK
      • true if correct state to be returned; otherwise false.
    • Field Detail

      • defaultCommandClassName

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

        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

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

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