com.ibm.commerce.marketing.promotion.commands

Interface CreateSimulatedOrderItemTaskCmd

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


    public interface CreateSimulatedOrderItemTaskCmd
    extends TaskCommand
    The command interface to create a simulated promotion OrderItem 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

      • setOrderItemId

        void setOrderItemId(long orderItemId)
        Sets the OrderItem ID.
        Parameters:
        orderItemId - The OrderItem ID.
      • setCatalogEntryId

        void setCatalogEntryId(java.lang.String aCatalogEntryId)
        Sets the CatalogEntry ID of the OrderItem.
        Parameters:
        aCatalogEntryId - The CatalogEntry ID of the OrderItem.
      • setQuantity

        void setQuantity(java.math.BigDecimal quantity)
        Sets the quantity for the OrderItem.
        Parameters:
        quantity - The quantity to set.
      • setStoreKey

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

        OrderItem getOrderItem()
        Gets the created OrderItem object.
        Returns:
        The OrderItem object.