<?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="webkon_gutschrift.subscriber.document" class="webkonGutschrift\Subscriber\Document">
            <argument type="service" id="webkon_gutschrift.settings" />
            <tag name="shopware.event_subscriber"/>
        </service>

        <service id="webkon_gutschrift.subscriber.hpgw" class="webkonGutschrift\Subscriber\Heidelpay">
            <argument type="service" id="webkon_gutschrift.settings" />
            <tag name="shopware.event_subscriber"/>
        </service>

        <service id="webkon_gutschrift.settings"  class="webkonGutschrift\Util\SettingsService" public="true">
            <argument>%webkon_gutschrift.plugin_name%</argument>
            <argument>%webkon_gutschrift.plugin_dir%</argument>
            <argument type="service" id="shopware.plugin.cached_config_reader" />
        </service>

    </services>
</container>