Class ValidateShippingAdjustmentCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, ValidateShippingAdjustmentCmd,,,,,,

    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.


    • 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:


    Access beans used:

    See Also:
    Serialized Form
    • Field Detail


        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.