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