The \Magento\Quote\Api\Data\CartInterface is implemented by the \Magento\Quote\Model\Quote class