Interface CalculateReturnItemProductCreditCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface CalculateReturnItemProductCreditCmd
    extends TaskCommand
    Interface for the command used for calculating the automatic product credit for the return merchandise authorization (RMA) item. This is the amount of the product price that the RMA item qualifies for. A StoreAccessBean must be passed in the command context.


    • OrderItemAB (required)
      • OrderitemAccesBean of the Order item
    • Quantity (required)
      • quantity of items to return


    • ProductCredit
      • The amount of product credit for a return/refunded item
    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name is "" .
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this interface is "".
        See Also:
        Constant Field Values
    • Method Detail

      • getProductCredit

        java.math.BigDecimal getProductCredit()
        Get the automatically calculated product credit for the returned/refunded item. This does not include any adjustment credit.
        The amount of the credit (in the same currency of the orderItem).
      • setOrderItemAB

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

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