com.ibm.commerce.returns.commands

Interface CalculateRMAApprovalCmd

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


    public interface CalculateRMAApprovalCmd
    extends TaskCommand
    Interface for the command used for calculating overall status of return merchandise authorization (RMA).

    Inputs

    • RMAAB (required)
      • RMAccessBean of the RMA
    • RMAItemAB (required)
      • RMAItemAccessBean of the RMA item

    Outputs

    • isApproved
      • true if approved; otherwise false.
    • Field Detail

      • defaultCommandClassName

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

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

      • isRMAApproved

        boolean isRMAApproved()
        Whether RMA was deemed to be approved
        Returns:
        true if approved; otherwise false.
      • setRMAAB

        void setRMAAB(RMAAccessBean rmaAB)
        This method sets the RMA being accessed.
        Parameters:
        rmaAB - the RMA access bean.
      • setRMAItemABVector

        void setRMAItemABVector(java.util.Vector RMAItemABs)
        This method sets the RMA items to evaluate for RMA approval
        Parameters:
        RMAItemABs - vector of RMA item access beans.