com.ibm.commerce.payment.commands

Interface DoRefundCmd

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

    Deprecated. 
    Replaced by FinalizeRefundCmd

    public interface DoRefundCmd
    extends TaskCommand
    The DoRefundCmd Task Command

    This command handles the refund for the given order and Return Merchandise Authorization (RMA).

    See Also:
    DoRefundCmdImpl
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        Deprecated. 
        The name of this command.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Deprecated. 
        The default implementation of this command.
        See Also:
        Constant Field Values
      • ERRTASK_NAME

        static final java.lang.String ERRTASK_NAME
        Deprecated. 
        Name of the Error View for this command. The constant value of this field is "DoRefundErrorView".
        See Also:
        Constant Field Values
    • Method Detail

      • setOrder

        void setOrder(OrderAccessBean abOrder)
        Deprecated. 
        Sets the order property of the command.
        Parameters:
        abOrder - the OrderAccessBean of the order associated with the Return Merchandise Authorization.
      • setRefundAmount

        void setRefundAmount(java.math.BigDecimal refundAmount)
        Deprecated. 
        Sets the refundAmount property of the command.
        Parameters:
        refundAmount - the amount to be refunded in the currency specified in the Return Merchandise Authorization
      • setReturnPolicyId

        void setReturnPolicyId(java.lang.Long nReturnPolicyId)
        Deprecated. 
        Sets the returnPolicyId property of the command.
        Parameters:
        nReturnPolicyId - the Return Policy ID for this refund.
      • setRMA

        void setRMA(RMAAccessBean abRMA)
        Deprecated. 
        Sets the Return Merchandise Authorization record that authorizes the return of the merchandise.
        Parameters:
        abRMA - the RMAAccessBean for the Return Merchandise Authorization record