com.ibm.commerce.price.commands

Interface CreateNominalCostCmd

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


    public interface CreateNominalCostCmd
    extends com.ibm.commerce.command.TaskCommand
    This command interface is used to create the nominal cost of a product.
    • 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 nominal cost is going to be created.
      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.
      void setTSRId(java.lang.Long aTSRId)
      Set TSR ID who helps customer on shopping
      • 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 nominal cost is going to be created. (Mandatory)
        Parameters:
        catEntryId - A reference number of catalog entry.
      • setCurrency

        void setCurrency(java.lang.String currency)
        Set the currency of the nominal cost. If not provided, uses the one stored in CommandContext (Mandatory)
        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. (Mandatory)
        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
      • setTSRId

        void setTSRId(java.lang.Long aTSRId)
        Set TSR ID who helps customer on shopping
        Parameters:
        aTSRId - Long A TSR ID