com.ibm.commerce.price.commands

Interface ContractPriceAdditionCmd

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


    public interface ContractPriceAdditionCmd
    extends com.ibm.commerce.command.TaskCommand
    Interface for the ContractPriceAdditionCmd Task Command to calculate(adding) the contract prices of components of a dynamic kit.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String NAME
      The name of this command.
      • Fields inherited from interface com.ibm.commerce.command.CacheableECCommand

        defaultCommandClassName
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      MonetaryAmount getAddedMonetaryAmount()
      Returns total amount of dynamickit components
      void setBaseMonetaryAmountToAdd(MonetaryAmount bPrice)
      Sets base amount to be added
      void setMonetaryAmountToAdd(MonetaryAmount price)
      Sets amount to be added
      void setOrderItemComponentAccessBean(com.ibm.commerce.order.objects.OrderItemComponentAccessBean oICAB)
      Sets order item access bean which passed in.
      void setQuantity(java.lang.Double quantity)
      Sets quantity of each compoent
      • 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
    • Method Detail

      • getAddedMonetaryAmount

        MonetaryAmount getAddedMonetaryAmount()
        Returns total amount of dynamickit components
        Returns:
        total amount
      • setBaseMonetaryAmountToAdd

        void setBaseMonetaryAmountToAdd(MonetaryAmount bPrice)
        Sets base amount to be added
        Parameters:
        the - amount
      • setMonetaryAmountToAdd

        void setMonetaryAmountToAdd(MonetaryAmount price)
        Sets amount to be added
        Parameters:
        the - amount
      • setOrderItemComponentAccessBean

        void setOrderItemComponentAccessBean(com.ibm.commerce.order.objects.OrderItemComponentAccessBean oICAB)
        Sets order item access bean which passed in.
        Parameters:
        oICAB - the order item access bean contains components in this dynamickit.
      • setQuantity

        void setQuantity(java.lang.Double quantity)
        Sets quantity of each compoent
        Parameters:
        the - quantity