public function getAmount(Order $order): int 	{ 		if (!empty($categoryIds = $this->category->shippingExtraCostsCategoriesIds())) { 			foreach ($order->getProducts() as $product) { 				if (count(array_intersect($product->getDiscountableItem()->getCategoriesId(), $categoryIds)) > 0) { 					return $this->amount; 				} 			} 		}  		return (int) 0; 	}