Model/AbandonedCart/ProgramEnrolment/Enroller.php
private function getStoreQuotesForGuestsAndCustomers($storeId, $updated)
    {
        $salesCollection = $this->orderCollection->create()
            ->getStoreQuotesForGuestsAndCustomers($storeId, $updated);

        $this->rules->apply($salesCollection, $storeId);

        return $salesCollection;
    }
private function getStoreQuotesForGuestsAndCustomers($storeId, $updated)
    {
        $salesCollection = $this->orderCollection->create()
            ->getStoreQuotesForGuestsAndCustomers($storeId, $updated);

        $this->rules->apply($salesCollection, $storeId);

        return $salesCollection;
    }
private function getStoreQuotesForGuestsAndCustomers ( $ storeId , $ updated ) { $ salesCollection = $ this -> orderCollection -> create ( ) -> getStoreQuotesForGuestsAndCustomers ( $ storeId , $ updated ) ; $ this -> rules -> apply ( $ salesCollection , $ storeId ) ; return $ salesCollection ; }
Retrieve store quotes

@param int $storeId
@param array $updated

@return \Magento\Quote\Model\ResourceModel\Quote\Collection|\Magento\Sales\Model\ResourceModel\Order\Collection
Retrieve store quotes