com.ibm.commerce.marketing.promotion.commands

Interface CreateSimulatedOrderTaskCmd

  • 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:
    CreateSimulatedOrderTaskCmdImpl


    public interface CreateSimulatedOrderTaskCmd
    extends TaskCommand
    The command interface to create a simulated promotion Order object
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        Default implementation class for this command.
    • Method Detail

      • setOrderId

        void setOrderId(long orderId)
        Sets the order ID for the simulated order.
        Parameters:
        orderId - The order ID.
      • setCatalogEntryMap

        void setCatalogEntryMap(java.util.Map<java.lang.String,java.math.BigDecimal> aCatalogEntryMap)
        Sets the Map object that contains the CatalogEntry ID as the key and its quantity as the value.
        Parameters:
        aCatalogEntryMap - The Map object.
      • setStoreKey

        void setStoreKey(StoreKey storeKey)
        Sets the StoreKey object.
        Parameters:
        storeKey - The StoreKey object to set.
      • setOwnerKey

        void setOwnerKey(CustomerKey aCustomerKey)
        Sets the CustomerKey object of the owner of the simulated order.
        Parameters:
        aCustomerKey - The CustomerKey object to set.
      • getOrder

        Order getOrder()
        Gets the created Order object.
        Returns:
        The Order object.