public function clear() { $this->cart->setPreOrderId(null)->setLock(false)->clearCartItems(); return $this; }