protected function registerRedirectRoutesDefinition(
        ContainerBuilder $containerBuilder,
        $paymentName,
        array $redirectionRoutesConfiguration
    ) {
        $collectionDefinition = $containerBuilder->register(
            "paymentsuite.{$paymentName}.routes",
            'PaymentSuite\PaymentCoreBundle\ValueObject\RedirectionRouteCollection'
        );

        foreach ($redirectionRoutesConfiguration as $redirectRouteName => $redirectRouteConfiguration) {
            $serviceName = "paymentsuite.$paymentName.route_$redirectRouteName";
            $routeDefinition = $containerBuilder->register(
                $serviceName,
                'PaymentSuite\PaymentCoreBundle\ValueObject\RedirectionRoute'
            );

            $routeDefinition
                ->addArgument($redirectRouteConfiguration['route'])
                ->addArgument($redirectRouteConfiguration['order_append'])
                ->addArgument($redirectRouteConfiguration['order_append_field']);

            $collectionDefinition->addMethodCall(
                'addRedirectionRoute',
                [
                    new Reference($serviceName),
                    $redirectRouteName,
                ]
            );
        }
    }