Interface GetHistoryOrderTotalAmountCmd

    • Field Detail


        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        The name of this command interface.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The name of the default implementation class for this command interface.
        See Also:
        Constant Field Values
    • Method Detail

      • setHistoryOrder

        void setHistoryOrder(HistoryOrder anOrder)
        This method sets the history order whose charges need to be summed up.
        anOrder - the HistoryOrder object.
      • getHistoryOrder

        HistoryOrder getHistoryOrder()
        This method returns the HistoryOrder
        the HistoryOrder
      • getTotalAmount

        java.math.BigDecimal getTotalAmount()
        This method returns the result of history order's total amount. The correct value can be got only after executing the command.
        the history order's total amount