<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>

        <service id="paypal_unified.client_service"
                 class="SwagPaymentPayPalUnified\PayPalBundle\Services\ClientService"
                 public="true">
            <argument type="service" id="paypal_unified.settings_service"/>
            <argument type="service" id="paypal_unified.token_service"/>
            <argument type="service" id="paypal_unified.logger_service"/>
            <argument type="service" id="guzzle_http_client_factory"/>
            <argument type="service" id="paypal_unified.dependency_provider"/>
            <argument type="service" id="dbal_connection"/>
        </service>

        <service id="paypal_unified.token_service"
                 class="SwagPaymentPayPalUnified\PayPalBundle\Services\TokenService"
                 public="true">
            <argument type="service" id="shopware.cache_manager"/>
            <argument type="service" id="paypal_unified.logger_service"/>
        </service>

        <service id="paypal_unified.webhook_service"
                 class="SwagPaymentPayPalUnified\PayPalBundle\Services\WebhookService"
                 public="true"/>

        <service id="paypal_unified.nonce_service"
                 class="SwagPaymentPayPalUnified\PayPalBundle\Services\NonceService"
                 public="true"/>

        <service id="paypal_unified.europe_service"
                 class="SwagPaymentPayPalUnified\PayPalBundle\Services\EUStates"
                 public="true"/>

    </services>
</container>
