diff --git a/src/Models/Product.php b/src/Models/Product.php index ba026e0..a823d54 100644 --- a/src/Models/Product.php +++ b/src/Models/Product.php @@ -12,6 +12,7 @@ class Product protected ?string $id = null; protected ?string $serviceName = null; protected ?string $name = null; + protected ?int $quantity = null; protected ?string $minimumQuantity = null; protected ?string $maximumQuantity = null; /** @var Price[]|null */ @@ -62,6 +63,14 @@ public function getName(): ?string return $this->name; } + /** + * @return int|null + */ + public function getQuantity(): ?int + { + return $this->quantity; + } + /** * @return string|null */ @@ -178,6 +187,18 @@ public function setName(?string $name): self return $this; } + /** + * @param int|null $quantity + * + * @return self + */ + public function setQuantity(?int $quantity): self + { + $this->quantity = $quantity; + + return $this; + } + /** * @param string|null $minimumQuantity *