. */ namespace SP\Domain\Account; use SP\Core\Exceptions\SPException; use SP\DataModel\Dto\AccountDetailsResponse; /** * Interface AccountServiceInterface * * @package SP\Domain\Account\Services */ interface AccountServiceInterface { /** * @param int $id * * @return AccountDetailsResponse * @throws SPException */ public function getById(int $id): AccountDetailsResponse; }