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

685 B
Raw Blame
<?php

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

use HiEvents\DataTransferObjects\BaseDTO;
use HiEvents\DomainObjects\Enums\TaxCalculationType;
use HiEvents\DomainObjects\Enums\TaxType;

class UpsertTaxDTO extends BaseDTO
{
    public function __construct(
        public readonly string $name,
        public readonly TaxCalculationType $calculation_type,
        public readonly TaxType $type,
        public readonly float $rate,
        public readonly bool $is_active,
        public readonly bool $is_default,
        public readonly int $account_id,
        public readonly ?string $description = null,
        public readonly ?int $id = null,
    ) {}
}