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 ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
<?php
namespace HiEvents\Services\Application\Handlers\Attendee\DTO;
use HiEvents\DataTransferObjects\Attributes\CollectionOf;
use HiEvents\DataTransferObjects\BaseDTO;
use Illuminate\Support\Collection;
class CreateAttendeeDTO extends BaseDTO
{
public function __construct(
public readonly string $first_name,
public readonly string $last_name,
public readonly string $email,
public readonly int $product_id,
public readonly int $event_id,
public readonly bool $send_confirmation_email,
public readonly float $amount_paid,
public readonly string $locale,
public readonly ?bool $amount_includes_tax = false,
public readonly ?int $product_price_id = null,
public readonly ?int $event_occurrence_id = null,
public readonly bool $override_capacity = false,
public readonly ?string $client_ip = null,
public readonly ?string $client_user_agent = null,
public readonly ?string $seat_uid = null,
#[CollectionOf(CreateAttendeeTaxAndFeeDTO::class)]
public readonly ?Collection $taxes_and_fees = null,
) {}
}