productCategory = new ArrayCollection(); } public function getMerchant(): ?Merchant { return $this->merchant; } public function setMerchant(?Merchant $merchant): self { $this->merchant = $merchant; return $this; } /** * @return Collection|ProductCategory[] */ public function getProductCategory(): Collection { return $this->productCategory; } public function addProductCategory(ProductCategory $productCategory): self { if (!$this->productCategory->contains($productCategory)) { $this->productCategory[] = $productCategory; } return $this; } public function removeProductCategory(ProductCategory $productCategory): self { if ($this->productCategory->contains($productCategory)) { $this->productCategory->removeElement($productCategory); } return $this; } public function getTaxRate(): ?TaxRate { return $this->taxRate; } public function setTaxRate(?TaxRate $taxRate): self { $this->taxRate = $taxRate; return $this; } public function getUnit(): ?string { return $this->unit; } public function setUnit(?string $unit): self { $this->unit = $unit; return $this; } public function getPrice(): ?float { return $this->price; } public function setPrice(?float $price): self { $this->price = $price; return $this; } public function getStep(): ?float { return $this->price; } public function setStep(?float $price): self { $this->price = $price; return $this; } public function getStock(): ?float { return $this->stock; } public function setStock(?float $stock): self { $this->stock = $stock; return $this; } public function getAvailableQuantity(): ?float { return $this->availableQuantity; } public function setAvailableQuantity(?float $availableQuantity): self { $this->availableQuantity = $availableQuantity; return $this; } public function getBehaviorOutOfStock(): ?string { return $this->behaviorOutOfStock; } public function setBehaviorOutOfStock(?string $behaviorOutOfStock): self { $this->behaviorOutOfStock = $behaviorOutOfStock; return $this; } public function getBehaviorCountStock(): ?string { return $this->behaviorCountStock; } public function setBehaviorCountStock(string $behaviorCountStock): self { $this->behaviorCountStock = $behaviorCountStock; return $this; } }