Interface GetOrderItemsTotalAmountCmd

    • 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

      • setOrderItems

        void setOrderItems(OrderItemAccessBean[] abOrderItems)
        This method sets the order item access beans whose charges need to be summed up.
        abOrderItems - the OrderAccessBean object.
      • getOrderItems

        OrderItemAccessBean[] getOrderItems()
        This method returns the OrderItemAccessBean
        the OrderItemAccessBean array
      • getTotalAmount

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