com.ibm.commerce.fulfillment.commands

Class ResolveFulfillmentCenterCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CheckInventoryCmd, ResolveFulfillmentCenterCmd, ReverseUpdateInventoryCmd, UpdateInventoryCmd, 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 ResolveFulfillmentCenterCmdImpl
    extends InventoryBaseCmdImpl
    implements ResolveFulfillmentCenterCmd
    Resolve fulfillment center id for a catalog entry or a list of order items. There are two ways to specify the input.
    • Set one or list of order items by calling setOrderItem method.
    • Set one catalog entry by calling setCatEntryId, setQuantity and setStoreId methods. Method setQuantityMeasure is optional.
    The shipping mode id is optional. If this parameter is not set, the command will use the default ship mode id for the store. The fulfillmentCenterId is optional. If it is set, the command will try to use this fulfillment center to check the inventory. You can call getFulfillmentCenterId to see if the fulfillment center id is still the same after resolving.

    If the resolving fulfillment center fails, it throws ECApplicationException with the message key _API_CANT_RESOLVE_FFMCENTER and the error view of ResolveFulfillmentCenterErrorView.

    See Also:
    Serialized Form