Deprecated feature

UpdateShippingAddressCmd task command

The UpdateShippingAddressCmd task command updates the shipping address for the passed order items.

Task command

com.ibm.commerce.order.commands.UpdateShippingAddressCmd

Implementation class

com.ibm.commerce.order.commands.UpdateShippingAddressCmdImpl

Commands called

ValidateOrderAddressCmd

Possible callers

OrderItemDisplayCmdImpl

OrderItemUpdateCmdImpl

Behavior

For each order item:
  • Find the appropriate shipping address for the order item
  • If the ValidateRequired is set to true and the shipping address found is not null:
    • call ValidateOrderAddressCmd to validate shipping address
  • Update ORDERITEMS table to set the shipping address id