private function deactivateQuote($quote)
    {
        $quoteId = $quote->getId();
        if ($this->sessCustomer->isLoggedIn()) {
            $this->daoWrhsQuote->deleteById($quoteId);
        } else {
            $quoteReg = $this->sessCustomer->getData(AQuoteRepo::SESS_QUOTE_REGISTRY);
            if (
                is_array($quoteReg) &&
                isset($quoteReg[$quoteId])
            ) {
                unset($quoteReg[$quoteId]);
                $this->sessCustomer->setData(AQuoteRepo::SESS_QUOTE_REGISTRY, $quoteReg);
            }
        }
    }
private function deactivateQuote($quote)
    {
        $quoteId = $quote->getId();
        if ($this->sessCustomer->isLoggedIn()) {
            $this->daoWrhsQuote->deleteById($quoteId);
        } else {
            $quoteReg = $this->sessCustomer->getData(AQuoteRepo::SESS_QUOTE_REGISTRY);
            if (
                is_array($quoteReg) &&
                isset($quoteReg[$quoteId])
            ) {
                unset($quoteReg[$quoteId]);
                $this->sessCustomer->setData(AQuoteRepo::SESS_QUOTE_REGISTRY, $quoteReg);
            }
        }
    }
private function deactivateQuote ( $ quote ) { $ quoteId = $ quote -> getId ( ) ; if ( $ this -> sessCustomer -> isLoggedIn ( ) ) { $ this -> daoWrhsQuote -> deleteById ( $ quoteId ) ; } else { $ quoteReg = $ this -> sessCustomer -> getData ( AQuoteRepo :: SESS_QUOTE_REGISTRY ) ; if ( is_array ( $ quoteReg ) && isset ( $ quoteReg [ $ quoteId ] ) ) { unset ( $ quoteReg [ $ quoteId ] ) ; $ this -> sessCustomer -> setData ( AQuoteRepo :: SESS_QUOTE_REGISTRY , $ quoteReg ) ; } } }
Remove placed quote from warehouse registry.

@param \Magento\Quote\Api\Data\CartInterface $quote
Remove placed quote from warehouse registry .