/** * * @param Product $product */ public function syncWithTaxEntity(Product $product) { // $tax = $this->zohoProvider->findTaxByTaxId($product->getTaxOriginId()); if ($tax) { $product->setTax($tax); } return $product; }