src/Entities/Nfses/Schema/Find/FindResponseData.php
<?php

namespace AleBatistella\BlingErpApi\Entities\Nfses\Schema\Find;

use AleBatistella\BlingErpApi\Entities\Shared\BaseResponseObject;
use AleBatistella\BlingErpApi\Entities\Nfses\Enum\Situacao;

readonly final class FindResponseData extends BaseResponseObject
{
    /**
     * Constrói o objeto.
     *
     * @param int $id
     * @param ?string $numero
     * @param string $numeroRPS
     * @param string $serie
     * @param ?Situacao $situacao
     * @param ?string $dataEmissao
     * @param ?int $valor
     * @param FindResponseDataContato $contato
     * @param ?string $link
     * @param ?string $codigoVerificacao
     */
    public function __construct(
        public int $id,
        public ?string $numero,
        public string $numeroRPS,
        public string $serie,
        public ?Situacao $situacao,
        public ?string $dataEmissao,
        public ?int $valor,
        public FindResponseDataContato $contato,
        public ?string $link,
        public ?string $codigoVerificacao,
    ) {
    }
}
