com.ibm.commerce.returns.commands

Interface AdminReturnApproveCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    AdminReturnApproveCmdImpl


    public interface AdminReturnApproveCmd
    extends ControllerCommand
    This controller command approves a return merchandise authorization (RMA) by changing its status to 'APP'.

    Controller command URL calling syntax

    https://host_name/path/AdminReturnApprove?RMAId=RMAId_value&URL=redirect_url&storeId=storeId_value

    Parameters

    RMAId (mandatory)
    Identifier of the RMA that is to be approved.
    URL (mandatory)
    URL to redirect to.
    storeId (mandatory)
    Identifier of the store that owns the RMA.

    Exceptions

    The RMA must be in status 'PND' to be approved. If not, an ECApplicationException exception is generated with message _ERR_RMA_IN_INVALID_STATE_FOR_COMMAND.

    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.returns.commands.AdminReturnApproveCmd".
      • defaultCommandClassName

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