cart; } public function setCart(?Cart $cart): self { $this->cart = $cart; return $this; } public function getProduct(): ?Product { return $this->product; } public function setProduct(?Product $product): self { $this->product = $product; return $this; } public function getTaxRate(): ?TaxRate { return $this->taxRate; } public function setTaxRate(?TaxRate $taxRate): self { $this->taxRate = $taxRate; return $this; } public function getPrice(): ?float { return $this->price; } public function setPrice(float $price): self { $this->price = $price; return $this; } public function getUnit(): ?string { return $this->unit; } public function setUnit(string $unit): self { $this->unit = $unit; return $this; } public function getQuantity(): ?float { return $this->quantity; } public function setQuantity(float $quantity): self { $this->quantity = $quantity; return $this; } public function getTitle(): ?string { return $this->title; } public function setTitle(string $title): self { $this->title = $title; return $this; } }