Class ExternalPrepareOrderCmdImpl

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

    public class ExternalPrepareOrderCmdImpl
    extends PrepareOrderCmdImpl
    implements PrepareOrderCmd
    This command calls the OrderCalculate Command to prepares an order by determining prices, discounts, shipping charges, and taxes for an order.


    The command does the following:

    1. Remove the generated order items from the order.
    2. Remove the auto added order items (freebie) from the order.
    3. Update order item price if necessary.
    4. Re-add the freebie items to the order if necessary.
    5. Call DoInventoryActionCmd to process the inventory.
    6. Call OrderCalculateCmd to re-calculates shipping charges and taxes, and locks the order.
    See Also:
    Serialized Form
    • Field Detail


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

      • ExternalPrepareOrderCmdImpl

        public ExternalPrepareOrderCmdImpl()