<?php

namespace App\DTOs\ProductOwner;

class ActivationRequestData
{
    public function __construct(
        public string $licenseKey,
        public string $productName,
        public string $productVersion,
        public string $domain,
        public ?string $installationId = null,
    ) {}

    public function toArray(): array
    {
        return [
            'license_key' => $this->licenseKey,
            'product_name' => $this->productName,
            'product_version' => $this->productVersion,
            'domain' => $this->domain,
            'installation_id' => $this->installationId,
        ];
    }
}
