com.ibm.commerce.order.client.commands

Interface ComposeOrderCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    ComposeOrderCmdImpl


    public interface ComposeOrderCmd
    extends TaskCommand
    This order client task command is used to compose an Order SDO from an order ID or order access bean. The default implementation of this command is ComposeOrderCmdImpl.
    • Field Detail

      • COPYRIGHT

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

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

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

      • setOrderId

        void setOrderId(java.lang.Long anOrderId)
        Sets the order ID.
        Parameters:
        anOrderId - the order ID.
      • setOrderAccessBean

        void setOrderAccessBean(OrderAccessBean aabOrder)
        Sets the order access bean.
        Parameters:
        aabOrder - the order access bean.
      • setIncludeOrderItems

        void setIncludeOrderItems(boolean abIncludeOrderItems)
        Sets whether to include order items in the Order SDO.
        Parameters:
        abIncludeOrderItems - true if order items should be included in the Order SDO.
      • getOrder

        com.ibm.commerce.order.datatypes.OrderType getOrder()
        Returns the Order SDO.
        Returns:
        the Order SDO.