com.ibm.commerce.order.commands

Class ExternalPrepareOrderCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, PrepareOrderCmd, 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 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.

    Behaviour

    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

      • COPYRIGHT

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

      • ExternalPrepareOrderCmdImpl

        public ExternalPrepareOrderCmdImpl()