com.ibm.commerce.orderitems.commands

Class AddOrderItemComponentsCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AddOrderItemComponentsCmdImpl

        public AddOrderItemComponentsCmdImpl()
    • Method Detail

      • getOutComponentList

        public java.util.Vector getOutComponentList()
        Gets the output list of components that were created or updated.
        Specified by:
        getOutComponentList in interface AddOrderItemComponentsCmd
        Returns:
        a vector of order item components access bean.
      • setComponents

        public void setComponents(java.lang.Long[] anCatentry)
        Set a list of Catalog Entries (components) that will be added to the OrderItem.
        Specified by:
        setComponents in interface AddOrderItemComponentsCmd
        Parameters:
        anCatentry - an array of input catalog entry id.
      • setConfigurationId

        public void setConfigurationId(java.lang.String astrConfigurationId)
        Sets the Configuration id that is used to retrieve the components
        Specified by:
        setConfigurationId in interface AddOrderItemComponentsCmd
        Parameters:
        astrConfigurationId - the input configuration id.
      • setCurrency

        public void setCurrency(java.lang.String astrCurrency)
        (Optional)Sets the currency for the prices of the components.
        Specified by:
        setCurrency in interface AddOrderItemComponentsCmd
        Parameters:
        astrCurrency - the input currency
      • setOrderItemId

        public void setOrderItemId(java.lang.Long anOrderItemId)
        (Optional) Set an OrderItem that the components will be added to.
        Specified by:
        setOrderItemId in interface AddOrderItemComponentsCmd
        Parameters:
        anOrderItemId - the input order item id.
      • setPrices

        public void setPrices(java.math.BigDecimal[] anPrice)
        (Optional) Sets a list of prices for the components that will be added to the OrderItem.
        Specified by:
        setPrices in interface AddOrderItemComponentsCmd
        Parameters:
        anPrice - an array of input price.
      • setQuantity

        public void setQuantity(java.lang.Double[] anQuantity)
        Set a list of quantities of each Catalog Entry (component) that will be added to the OrderItem.
        Specified by:
        setQuantity in interface AddOrderItemComponentsCmd
        Parameters:
        anQuantity - an array of input quantity.
      • setCompListIds

        public void setCompListIds(java.lang.String astrCompListIds)
        Sets the oicomplist ids that is used to retrieve the oicomplist entries.
        Specified by:
        setCompListIds in interface AddOrderItemComponentsCmd
        Parameters:
        astrCompListIds - the input component list ids.
      • getCompListIds

        public java.lang.String getCompListIds()
        Returns the oicomplist ids that is used to retrieve the oicomplist entries.
        Returns:
        the component list ids.
      • getComponents

        public java.lang.Long[] getComponents()
        Returns the list of Catalog Entries (components) that will be added to the OrderItem.
        Returns:
        the array of catalog entry id.
      • getConfigurationId

        public java.lang.String getConfigurationId()
        Returns the Configuration id that is used to retrieve the components.
        Returns:
        the configuration id.
      • getCurrency

        public java.lang.String getCurrency()
        Returns the currency for the price of the components.
        Returns:
        the currency.
      • getOrderItemId

        public java.lang.Long getOrderItemId()
        Returns an OrderItem that the components will be added to.
        Returns:
        the order item id.
      • getPrices

        public java.math.BigDecimal[] getPrices()
        Returns a list of price for the components that will be added to the OrderItem.
        Returns:
        an array of price for the components.
      • getQuantity

        public java.lang.Double[] getQuantity()
        Returns a list of quantities of each Catalog Entry (component) that will be added to the OrderItem.
        Returns:
        an array of quantity for each Catalog Entry.
      • getOrderItem

        public OrderItemAccessBean getOrderItem()
        Returns the order item access bean that the components will be added to.
        Returns:
        the order item access bean.
      • setOrderItem

        public void setOrderItem(OrderItemAccessBean aOrderItem)
        Sets the order item access bean that the components will be added to.
        Parameters:
        aOrderItem - the order item access bean.