com.ibm.commerce.order.commands

Class ValidateShippingAdjustmentCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ValidateShippingAdjustmentCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ValidateShippingAdjustmentCmdImpl
    extends TaskCommandImpl
    implements ValidateShippingAdjustmentCmd
    This is the default implementation of the ValidateShippingAdjustmentCmd. This command will find any inconsistencies in the order's shipping adjustments.

    Behaviour:

    • Find all the existing calculation adjustemnts records by the passed orderId and the shipping adjustment calculation usage ID (-7).
    • For each shipping adjustment records, get the shipmode ID of that record.
    • For each shipmdes, search the orderitems of the order, if (abOrderItem.getPrepareFlagsInEntityType().intValue() & OrderConstants.PREPAGEFLAGS_SHIPPING_ADJUSTED) != OrderConstants.PREPAGEFLAGS_SHIPPING_ADJUSTED, this mean the shopping cart changed after the CSR gave the shipping adjustment.

    Task commands called:

    None.

    Access beans used:

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ValidateShippingAdjustmentCmdImpl

        public ValidateShippingAdjustmentCmdImpl()
        The default constructor of ValidateShippingAdjustmentCmdImpl.