/** * {@inheritdoc} */ public function save(\Magento\Quote\Api\Data\CartInterface $quote) { $quote->save(); unset($this->quotesById[$quote->getId()]); unset($this->quotesByCustomerId[$quote->getCustomerId()]); }