private function resetShippingCalculationIfNeeded($shippingAddress)
    {
        if ($this->configHelper->getResetShippingCalculation()) {
            $shippingAddress->removeAllShippingRates();
            $shippingAddress->setCollectShippingRates(true);
        }
    }