protected function getVatRateLookupByTotalLineType($code)
    {
        $result = array();
        $query = $this->getTotalLineTaxClassLookupQuery($code);
        $queryResult = $this->getRegistry()->db->query($query);
        if (!empty($queryResult->row)) {
            $taxClassId = reset($queryResult->row);
            $result = $this->getVatRateLookupMetadata($taxClassId);
        }
        return $result;
    }