/** * Add Item * * @param OrderItemDBO $orderitemdbo The order item to add to the order */ public function addItem(OrderItemDBO $orderitemdbo) { // Assign an ID to the order item $orderitemdbo->setOrderItemID($this->orderitemid); // Add the order item to the order $this->orderitems[$this->orderitemid] = $orderitemdbo; $this->orderitemid++; }