<?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>

		<!-- Controllers -->
		<service id="VRPaymentPayment\Core\Api\Refund\Controller\RefundController" public="true">
			<argument type="service" id="VRPaymentPayment\Core\Api\Refund\Service\RefundService"/>
			<argument type="service" id="VRPaymentPayment\Core\Settings\Service\SettingsService"/>
			<argument type="service" id="VRPaymentPayment\Core\Api\Transaction\Service\TransactionService"/>
			<call method="setLogger">
				<argument type="service" id="monolog.logger.vrpayment_payment"/>
			</call>
			<call method="setContainer">
				<argument type="service" id="service_container"/>
			</call>
		</service>

		<!-- Entities -->
		<service id="VRPaymentPayment\Core\Api\Refund\Entity\RefundEntityDefinition">
			<tag name="shopware.entity.definition" entity="vrpayment_refund"/>
		</service>

		<!-- Services -->
		<service id="VRPaymentPayment\Core\Api\Refund\Service\RefundService">
			<argument type="service" id="service_container"/>
			<argument type="service" id="VRPaymentPayment\Core\Settings\Service\SettingsService"/>
			<call method="setLogger">
				<argument type="service" id="monolog.logger.vrpayment_payment"/>
			</call>
		</service>

	</services>

</container>
