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

@param ShipmentMethodInterface $method
@param CountryInterface        $country

@return array