com.ibm.commerce.returns.commands

Interface CalculateReturnItemCreditCmd

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


    public interface CalculateReturnItemCreditCmd
    extends TaskCommand
    Interface for the command used for calculating the automatic credit for a return merchandise authorization (RMA) item associated with a complete order item. The CREDITAMOUNT, ADJUSTMENTCREDIT and charges are calculated. A StoreAccessBean must be passed in the command context

    Inputs

    • RMAItemAB (required)
      • RMAItemAccessBean of the RMA item
    • RMAAB (required)
      • RMAccessBean of the RMA
    • OrderItemAB (required)
      • OrderitemAccesBean of the Order item
    • Quantity (required)
      • quantity of items to return
    • Field Detail

      • defaultCommandClassName

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

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

      • setOrderItemAB

        void setOrderItemAB(OrderItemAccessBean anOrderItemAB)
        Set the orderItem being returned/refunded.
        Parameters:
        anOrderItemAB - The orderItem access bean.
      • setQuantity

        void setQuantity(java.lang.Double aQuantity)
        Set the quantity to be credited.
        Parameters:
        aQuantity - The quantity to be credited.
      • setRMAAB

        void setRMAAB(RMAAccessBean anRMAAB)
        Set the RMA for which the refund is being requested.
        Parameters:
        anRMAAB - The RMA access bean.
      • setRMAItemAB

        void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
        Set the RMA Item access bean which will have its amounts updated.
        Parameters:
        anRMAItemAB - The RMA item access bean.