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

593 B
Raw Blame
<?php

declare(strict_types=1);

namespace HiEvents\Services\Infrastructure\Vat\DTO;

use HiEvents\DataTransferObjects\BaseDataObject;

class ViesValidationResponseDTO extends BaseDataObject
{
    public function __construct(
        public readonly bool $valid,
        public readonly ?string $businessName = null,
        public readonly ?string $businessAddress = null,
        public readonly string $countryCode = '',
        public readonly string $vatNumber = '',
        public readonly bool $isTransientError = false,
        public readonly ?string $errorMessage = null,
    ) {}
}