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 ⭐️

680 B
Raw Blame
<?php

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

use HiEvents\DataTransferObjects\BaseDTO;
use Illuminate\Support\Collection;

class CreateOrderPublicDTO extends BaseDTO
{
    public function __construct(
        /**
         * @var Collection<ProductOrderDetailsDTO>
         */
        public readonly Collection $products,
        public readonly bool $can_order_unpublished_event,
        public readonly string $session_identifier,
        public readonly ?string $order_locale = null,
        public readonly ?string $promo_code = null,
        public readonly ?string $affiliate_code = null,
        public readonly ?string $widget_id = null,
    ) {}
}