*/ final readonly class Product implements Entity { public function __construct( private ProductId $id, public Money $price, public TaxRate $tax_rate, public ?ProductWeight $product_weight, public InvoicingUnit $invoicing_unit, public SellUnit $sell_unit, public ?DiscountValue $validDiscount, public bool $status, public ?CarbonImmutable $orderable_start, public ?CarbonImmutable $orderable_end, public bool $hasInco ) { } #[\Override] public function id(): ProductId { return $this->id; } }