com.ibm.commerce.order.commands

Interface ValidateShippingAdjustmentCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    ValidateShippingAdjustmentCmdImpl


    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:
    ValidateShippingAdjustmentCmdImpl
    • Field Detail

      • COPYRIGHT

        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
        Parameters:
        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.
        Returns:
          false indicates no items have been added to the cart
          true indicates there have been items added to the cart