com.ibm.commerce.returns.commands

Interface FinalizeRefundCmd

  • All Superinterfaces:
    AEDPTaskCmd, ARefundTaskCmd, 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:
    FinalizeRefundCmdImpl


    public interface FinalizeRefundCmd
    extends ARefundTaskCmd
    This class is the interface for the command used to finalize the actual refund to the RMA and associated RMA items.

    Inputs

    • RMAAB (required)
      • RMAccessBean of the RMA
    • RMAItemABs (required)
      • Vector of RMAItemAccessBeans

    This command serves to refund money to a customer and takes place when a return is completed. The return is completed when the customer returns the merchandise and the merchandise is received by the merchant.

    The only possible action is Credit. Payment actions for this event are not configurable.

    For example, a customer has returned a sweater to the returns warehouse and a return merchandise authorization is already created. The return of the sweater is confirmed. A scheduled job that runs identifies refunds that need to be paid to customers. The Returns system invokes the FinalizeRefundCmd and rules are checked to determine what payment action should take place based on the refund instructions. Through use of the stored refund information, a credit is generated on the customer's credit card to refund the customer's money.

    If a payment action with the payment back end system fails, a tickler is created to notify a Customer Service Representative.

    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        Mandatory copyright field
        See Also:
        Constant Field Values
      • defaultCommandClassName

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

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

      • setRMAAB

        void setRMAAB(RMAAccessBean anRMAAB)
        This method sets the RMA being accessed.
        Parameters:
        anRMAAB - The RMA access bean