com.ibm.commerce.fulfillment.commands

Interface ResolveFulfillmentCenterCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    ResolveFulfillmentCenterCmdImpl


    public interface ResolveFulfillmentCenterCmd
    extends TaskCommand
    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.

    • Method Detail

      • getFulfillmentCenterId

        java.lang.Integer getFulfillmentCenterId()
        Get the fulfillment center Id.
      • getOutOrderItems

        java.util.Vector getOutOrderItems()
      • setCatEntryId

        void setCatEntryId(java.lang.Long aCatEntryId)
        Set a Catalog Entry Id.
      • setFulfillmentCenterId

        void setFulfillmentCenterId(java.lang.Integer aFulfillmentCenterId)
        Set a fulfillment center Id.
      • setOrderItem

        void setOrderItem(java.util.Vector anOrderItemList)
        Set a list of OrderItems.
      • setQuantity

        void setQuantity(java.lang.Double aQuantity)
        Set a quantity.
      • setQuantityMeasure

        void setQuantityMeasure(java.lang.String quantityMeasure)
        Set a quantity measure.
      • setShipModeId

        void setShipModeId(java.lang.Integer aShipModeId)
        Set the shipping mode Id. (Optional) When this optional parameter is not set, the command will use the default ship mode id for the store.
      • setStoreId

        void setStoreId(java.lang.Integer aStoreId)
        Set a store id.
      • setContinue

        void setContinue(java.lang.String aContinue)
        Set the value of Continue
      • getCatEntryIdNotAvailinInv

        java.util.Vector getCatEntryIdNotAvailinInv()
        Returns the Vector with Catalog Entry IDs which are not available in the requested amount in inventory