Interface CalculateOrderCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface CalculateOrderCmd
    extends TaskCommand
    This task command is used to handle free gifts and implement the core logic of calculation. The default implementation of this command is CalculateOrderCmdImpl.
    See Also:
    • Field Detail


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

        static final java.lang.String NAME
        The name of this command interface.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The name of the default implementation class for this command interface.
        See Also:
        Constant Field Values
    • Method Detail

      • setOrders

        void setOrders(OrderAccessBean[] aabOrders)
        This method sets the orders to be calculated.
        aabOrders - the array of OrderAccessBeans to be calculated.
      • getOrders

        OrderAccessBean[] getOrders()
        This method returns the array of OrderAccessBean
        the array of OrderAccessBean
      • setUsageIds

        void setUsageIds(java.lang.Integer[] anUsageIds)
        This method sets the calculation usages.
        anUsageIds - the array of calculation usage identifiers.
      • setDoFreeGift

        void setDoFreeGift(boolean doFreegift)
        This method sets the flag whether free gift handling logic will be called.
        doFreegift -
      • getOutOfInventoryCatalogEntryIds

        java.lang.Long[] getOutOfInventoryCatalogEntryIds()
        This method returns the identifiers of CatalogEntries that do not have sufficient inventory, when ATP inventory is not enabled.
        the array of CatalogEntry identifiers.
      • getNonBuyableCatentryIds

        java.util.Vector getNonBuyableCatentryIds()
        This method returns the identifiers of CatalogEntries that are not buyable.
        vector of CatalogEntry identifiers
      • setCustomProperties

        void setCustomProperties(java.util.HashMap newhshCustomProperties)
        This method sets the customer properties.
        newhshCustomProperties - the customer properties
      • getCustomProperties

        java.util.HashMap getCustomProperties()
        This method returns the customer properties.
        customer properties