<?xml version="1.0" ?>

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

	<services>
		<!-- Commands -->
		<service id="VRPaymentPayment\Core\Api\PaymentMethodConfiguration\Command\PaymentMethodConfigurationCommand">
			<argument type="service" id="VRPaymentPayment\Core\Api\PaymentMethodConfiguration\Service\PaymentMethodConfigurationService"/>
			<tag name="console.command"/>
		</service>

		<service id="VRPaymentPayment\Core\Api\PaymentMethodConfiguration\Command\PaymentMethodDefaultCommand">
			<argument type="service" id="VRPaymentPayment\Core\Util\PaymentMethodUtil"/>
			<tag name="console.command"/>
		</service>

		<!-- Entities -->
		<service id="VRPaymentPayment\Core\Api\PaymentMethodConfiguration\Entity\PaymentMethodConfigurationEntityDefinition">
			<tag name="shopware.entity.definition" entity="vrpayment_payment_method_configuration"/>
		</service>

		<!-- Services -->
		<service id="VRPaymentPayment\Core\Api\PaymentMethodConfiguration\Service\PaymentMethodConfigurationService">
			<argument type="service" id="VRPaymentPayment\Core\Settings\Service\SettingsService"/>
			<argument type="service" id="service_container"/>
			<argument type="service" id="Shopware\Core\Content\ImportExport\DataAbstractionLayer\Serializer\Entity\MediaSerializer"/>
			<argument type="service" id="Shopware\Core\Content\ImportExport\DataAbstractionLayer\Serializer\SerializerRegistry"/>
			<argument type="service" id="sales_channel_payment_method.repository"/>
			<argument type="service" id="payment_method.repository"/>
			<argument type="service" id="media.repository"/>
			<argument type="service" id="media_folder.repository"/>
			<argument type="service" id="media_default_folder.repository"/>
			<argument type="service" id="rule.repository"/>
			<argument type="service" id="vrpayment_payment_method_configuration.repository"/>
			<call method="setLogger">
				<argument type="service" id="monolog.logger.vrpayment_payment"/>
			</call>
		</service>
	</services>
</container>
