<?xml version="1.0" encoding="UTF-8"?>

<!--

 This file is part of the Sylius package.

 (c) Sylius Sp. z o.o.

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.

-->

<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>
        <defaults public="true" />

        <service id="Sylius\Bundle\ApiBundle\Applicator\ArchivingShippingMethodApplicatorInterface" class="Sylius\Bundle\ApiBundle\Applicator\ArchivingShippingMethodApplicator">
            <argument type="service" id="Sylius\Calendar\Provider\DateTimeProviderInterface" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\Applicator\OrderStateMachineTransitionApplicatorInterface" class="Sylius\Bundle\ApiBundle\Applicator\OrderStateMachineTransitionApplicator">
            <argument type="service" id="sylius_abstraction.state_machine" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\Applicator\PaymentStateMachineTransitionApplicatorInterface" class="Sylius\Bundle\ApiBundle\Applicator\PaymentStateMachineTransitionApplicator">
            <argument type="service" id="sylius_abstraction.state_machine" />
        </service>

        <service id="Sylius\Bundle\ApiBundle\Applicator\ProductReviewStateMachineTransitionApplicatorInterface" class="Sylius\Bundle\ApiBundle\Applicator\ProductReviewStateMachineTransitionApplicator">
            <argument type="service" id="sylius_abstraction.state_machine" />
        </service>

        <service id="sylius.api.applicator.archiving_promotion" class="Sylius\Bundle\ApiBundle\Applicator\ArchivingPromotionApplicator">
            <argument type="service" id="Sylius\Calendar\Provider\DateTimeProviderInterface" />
        </service>
        <service id="Sylius\Bundle\ApiBundle\Applicator\ArchivingPromotionApplicatorInterface" alias="sylius.api.applicator.archiving_promotion" />
    </services>
</container>
