I'm looking for this a couple of days, but no luck yet. We're trying to call a Rest service which calculates the subtotal/discount/total in the shopping cart, based on the items in the cart. Our Rest needs the product numbers to calculate the totals.
I saw something in Magento 1.x about a TotalCollector, but can't find the right classes/config in Magento 2. And I'm not sure if that's the right direction.