com.ibm.commerce.returns.commands

Interface ApproveReturnItemCmd

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


    public interface ApproveReturnItemCmd
    extends TaskCommand
    Interface for the task command used for changing the status of a return merchandise authorization (RMA) item.

    Parameters

    RMAItemAB (mandatory)
    RMAItemAccessBean of the RMA item
    approveType
    Type of approval
    • M = manual
    • A = automatic(default)
    • P = pending
    DenyReasonIDVector
    Vector of RTNDNYRSN_ID - Deny Reasons to be applied against a pending RMA item (required if approveType=P)
    • Field Detail

      • defaultCommandClassName

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

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

        static final java.lang.Character cManualApproval
      • cAutoApproval

        static final java.lang.Character cAutoApproval
      • cPendingApproval

        static final java.lang.Character cPendingApproval
    • Method Detail

      • setApprovalType

        void setApprovalType(java.lang.Character anApprovalType)
        Set the approval type. This decides the status of the RMA item.
        Parameters:
        anApprovalType - The approval type.
      • setDenyReasons

        void setDenyReasons(java.util.Vector RMAItemDenyReasons)
        Set the vector of RMA item returns deny reason identifiers.
        Parameters:
        RMAItemDenyReasons - The vector of returns deny reason identifiers.
      • setRMAItemAB

        void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
        Set the RMA Item access bean which will be approved.
        Parameters:
        anRMAItemAB - The RMA item access bean to be approved.