protected function resolveApiClientInterfaces(ContainerBuilder $containerBuilder, array $config)
    {
        $requestFactoryDefinition = $containerBuilder->getDefinition('paymentsuite.paylands.api.request_factory');

        $requestFactoryDefinition->addMethodCall('setRequestFactory', [
            $config['request_factory'] ? $containerBuilder->getDefinition($config['request_factory']) : null,
        ]);

        $clientFactoryDefinition = $containerBuilder->getDefinition('paymentsuite.paylands.api.client_factory');

        $clientFactoryDefinition->addMethodCall('setHttpClient', [
            $config['http_client'] ? $containerBuilder->getDefinition($config['http_client']) : null,
        ]);

        $clientFactoryDefinition->addMethodCall('setUriFactory', [
            $config['uri_factory'] ? $containerBuilder->getDefinition($config['uri_factory']) : null,
        ]);
    }