name.' ('.$this->type->value.')'; } public function getId(): Uuid { return $this->id; } public function setId(Uuid $uuid): self { $this->id = $uuid; return $this; } public function getName(): string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function getType(): OfferType { return $this->type; } public function setType(OfferType $type): self { $this->type = $type; return $this; } public function setPrice(int $price): self { $this->price = $price; return $this; } public function getPrice(): int { return $this->price; } public function getActualPrice(): int { return $this->price / 100; } public function getCurrency(): string { return $this->currency; } public function setCurrency(string $currency): self { $this->currency = $currency; return $this; } public function isActive(): bool { return $this->active; } public function setActive(bool $active): self { $this->active = $active; return $this; } }