com.ibm.commerce.returns.commands

Interface PrimeRefundCmd

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


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

    Inputs

    • RMAAB (required)
      • RMAccessBean of the RMA
    • PaymentPolicyId (required)
      • The policy ID choosed as the refund method

    The purpose of this task command is to record and validate refund information in the following situations. Customers are returning merchandise, are overcharged, or are requesting a credit for being charged for merchandise that never shipped.

    The only possible action is Validation. The payment action for this event is not configurable.

    For example, a customer receives a sweater that she ordered and is unhappy with it and wants to return it. She notifies a Customer Service Representative (CSR) who obtains information about the order and refund method (the sweater was originally paid by credit card). A return merchandise authorization (RMA) is created and approved if necessary. A primeRefund event occurs and the refund information is stored. The customer returns the sweater to the returns warehouse, where someone inspects it for return condition. The sweater stock is updated with the return. Finally, a finalizeRefund event occurs. If the finalizeRefund action fails, a tickler is created to notify a CSR.

    • 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.PrimeRefundCmdImpl"
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.returns.commands.PrimeRefundCmd"
        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.
      • setPaymentPolicyId

        void setPaymentPolicyId(java.lang.Long anPaymentPolicyId)
        This method sets the policy ID that will be used in refund.
        Parameters:
        anPaymentPolicyId - The payment policy ID to set