public function getGrossPrice() : float;
public function calculate(ShippingMethodInterface $shippingMethod, ShippingSubjectInterface $subject) : Collection { $ranges = $shippingMethod->getCosts(); $baseCurrency = $subject->getCurrency(); $targetCurrency = $shippingMethod->getCurrency()->getCode(); $grossAmount = $this->currencyConverter->convert($subject->getGrossPrice(), $baseCurrency, $targetCurrency); return $this->filterRanges($ranges, $grossAmount); }