private function getTaxesRates(ShipmentMethodInterface $method, CountryInterface $country)
    {
        return array_map(function (TaxInterface $tax) {
            return $tax->getRate();
        }, $this->taxResolver->resolveTaxes($method, $country));
    }