<?php
namespace Fifa\ConnectId\Sdk\Registration;

use Fifa\ConnectId\Sdk\Model\PersonDetailsRequest;

/**
 * Interface PersonDetailsProviderInterface
 * @package Fifa\ConnectId\Sdk\Registration
 */
interface PersonDetailsProviderInterface
{
    /**
     * Gets detailed information about person with given request.
     *
     * @param PersonDetailsRequest $request
     * @return string|null - the Person Local type from the Fifa Data Standard.
     */
    public function getPersonDetails(PersonDetailsRequest $request): ?string;
}