Interface ValidateShippingAdjustmentCmd

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

    public interface ValidateShippingAdjustmentCmd
    extends TaskCommand
    This Order task command is used to find any inconsistencies in the order's shipping adjustments. If new items have been added then the value returned from hasShoppingCartChanged() will be true else it will be false. The default implementation of this command is ValidateShippingAdjustmentCmdImpl.
    See Also:
    • Field Detail


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

        static final java.lang.String defaultCommandClassName
        The default implemenation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setOrder

        void setOrder(java.lang.Long orderId)
        Sets the order
        orderId - the order that needs to verify adjustments
      • hasShoppingCartChanged

        boolean hasShoppingCartChanged()
        Gets the flag which indicates whether the Service Representative should be warned, that items have been added to the cart since the shipping adjustment has been applied.
          false indicates no items have been added to the cart
          true indicates there have been items added to the cart