/** * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer * * @return \Orm\Zed\Shipment\Persistence\SpyShipmentMethod */ protected function findTaxSetByIdShipmentMethod(QuoteTransfer $quoteTransfer) { return $this->shipmentQueryContainer->queryTaxSetByIdShipmentMethodAndCountryIso2Code($quoteTransfer->getShipment()->getMethod()->getIdShipmentMethod(), $quoteTransfer->getShippingAddress()->getIso2Code())->findOne(); }