<?php

namespace ContainerXAyNPD7;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getGlsExportCustomsInvoiceSenderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Core\Messenger\CustomsDeclaration\Sender\GlsExportCustomsInvoiceSender' shared autowired service.
     *
     * @return \App\Core\Messenger\CustomsDeclaration\Sender\GlsExportCustomsInvoiceSender
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['serializer'] ?? self::getSerializerService($container));

        if (isset($container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'])) {
            return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'];
        }
        $b = ($container->privates['App\\External\\GLS\\CustomsDocumentManagement\\CustomsDocumentManagementApiClient'] ?? $container->load('getCustomsDocumentManagementApiClientService'));

        if (isset($container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'])) {
            return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'];
        }
        $c = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'])) {
            return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'];
        }
        $d = ($container->services['doctrine_mongodb.odm.default_document_manager'] ?? $container->load('getDoctrineMongodb_Odm_DefaultDocumentManagerService'));

        if (isset($container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'])) {
            return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'];
        }

        $instance = new \App\Core\Messenger\CustomsDeclaration\Sender\GlsExportCustomsInvoiceSender($a, ($container->privates['App\\Core\\Service\\CustomsDeclaration\\CustomsDeclarationToInvoiceMapper'] ?? $container->load('getCustomsDeclarationToInvoiceMapperService')), ($container->privates['App\\Core\\Service\\CustomsDeclaration\\GlsCustomsDeclarationToInvoiceMapper'] ?? $container->load('getGlsCustomsDeclarationToInvoiceMapperService')), $b, new \App\External\GLS\Customs\CustomsApiClient(($container->services['monolog.logger.api'] ?? self::getMonolog_Logger_ApiService($container)), ($container->privates['App\\External\\GLS\\Authentification\\Service\\TokenService'] ?? $container->load('getTokenServiceService')), ($container->privates['gls.client.uri_template'] ?? $container->load('getGls_Client_UriTemplateService')), $a, $a), $c, ($container->privates['App\\Core\\Service\\ParameterService'] ?? self::getParameterServiceService($container)), $d);

        if (isset($container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'])) {
            return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'];
        }

        return $container->privates['App\\Core\\Messenger\\CustomsDeclaration\\Sender\\GlsExportCustomsInvoiceSender'] = $instance;
    }
}
