com.ibm.commerce.price.commands

Interface UpdateNominalCostCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.commerce.command.ECCommand, com.ibm.commerce.command.TaskCommand
    All Known Implementing Classes:
    UpdateNominalCostCmdImpl


    public interface UpdateNominalCostCmd
    extends com.ibm.commerce.command.TaskCommand
    This command interface is used for update nominal cost of a product with the same currency. If the currencies are different, one should delete the current one, and create a new one.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String defaultCommandClassName
      The default name of this command.
      static java.lang.String NAME
      The name of this command.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setCatEntryId(java.lang.Long catEntryId)
      Sets the catalog entry ID whose delegated price is to be checked for limit violation.
      void setCurrency(java.lang.String currency)
      Set the currency of the nominal cost.
      void setNominalCost(java.math.BigDecimal nominalCost)
      Set the new value of the nominal cost of the product under this offer
      void setStoreId(java.lang.Integer storeId)
      Set the store ID to which the catalog entry belongs.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.command.CacheableECCommand

        execute
      • Methods inherited from interface com.ibm.commerce.command.ECCommand

        checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
    • 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
        The default name of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • setCatEntryId

        void setCatEntryId(java.lang.Long catEntryId)
        Sets the catalog entry ID whose delegated price is to be checked for limit violation.
        Parameters:
        catEntryId - A reference number of catalog entry.
      • setCurrency

        void setCurrency(java.lang.String currency)
        Set the currency of the nominal cost.
        Parameters:
        aCurrency - A currency.
      • setNominalCost

        void setNominalCost(java.math.BigDecimal nominalCost)
        Set the new value of the nominal cost of the product under this offer
        Parameters:
        nominalCost - BigDecimal A nominal cost amount
      • setStoreId

        void setStoreId(java.lang.Integer storeId)
        Set the store ID to which the catalog entry belongs.
        Parameters:
        storeId - A store ID