Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

484 B
Raw Blame
<?php

namespace HiEvents\Services\Application\Handlers\Webhook\DTO;

use HiEvents\DataTransferObjects\BaseDTO;
use HiEvents\DomainObjects\Status\WebhookStatus;

class CreateWebhookDTO extends BaseDTO
{
    public function __construct(
        public string $url,
        public array $eventTypes,
        public int $userId,
        public int $accountId,
        public WebhookStatus $status,
        public ?int $eventId = null,
        public ?int $organizerId = null,
    ) {}
}