Interface CalculateReturnItemAdjustmentCreditCmd

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

    public interface CalculateReturnItemAdjustmentCreditCmd
    extends TaskCommand
    Interface for the task command used for calculating the adjustment credit for a return merchandise authorization (RMA) item. A StoreAccessBean must be passed in the command context


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


    • Adjustment credit amount
    • 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

      • getAdjustmentCredit

        java.math.BigDecimal getAdjustmentCredit()
        Get the total calculated adjustment credit for the returned/refunded item.
        The total 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.
      • setRMAItemAB

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