The \Magento\Tax\Api\Data\GrandTotalDetailsInterface is implemented by the \Magento\Tax\Model\Calculation\GrandTotalDetails class