$metadata */ public function __construct( private readonly int $order_id, private readonly int $snapshot_revision, private readonly string $snapshot_uuid, private readonly string $snapshot_hash, private readonly string $provider, private readonly string $document_type, private readonly ?string $external_id, private readonly ?string $issue_date, private readonly ?string $external_reference, private readonly ?string $file_bytes, private readonly ?string $file_name, private readonly string $idempotency_key, private readonly array $metadata = array() ) {} public function order_id(): int { return $this->order_id; } public function snapshot_revision(): int { return $this->snapshot_revision; } public function snapshot_uuid(): string { return $this->snapshot_uuid; } public function snapshot_hash(): string { return $this->snapshot_hash; } public function provider(): string { return $this->provider; } public function document_type(): string { return $this->document_type; } public function external_id(): ?string { return $this->external_id; } public function issue_date(): ?string { return $this->issue_date; } public function external_reference(): ?string { return $this->external_reference; } public function file_bytes(): ?string { return $this->file_bytes; } public function file_name(): ?string { return $this->file_name; } public function idempotency_key(): string { return $this->idempotency_key; } public function metadata(): array { return $this->metadata; } }