Interface GetOrderTotalAmountCmd

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

    public interface GetOrderTotalAmountCmd
    extends TaskCommand
    This task command is used to sum up the order's total charge amount. The default implementation of this command is GetOrderTotalAmountCmdImpl.
    • 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

      • setOrder

        void setOrder(OrderAccessBean aabOrder)
        This method sets the order access bean whose charges need to be summed up.
        aabOrder - the OrderAccessBean object.
      • getOrder

        OrderAccessBean getOrder()
        This method returns the OrderAccessBean
        the OrderAccessBean
      • getTotalAmount

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