<?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.twig.extension.taxes" class="Sylius\Bundle\ShopBundle\Twig\OrderTaxesTotalExtension" public="false">
            <tag name="twig.extension" />
        </service>

        <service id="sylius.twig.extension.subtotal" class="Sylius\Bundle\ShopBundle\Twig\OrderItemsSubtotalExtension" public="false">
            <argument type="service" id="sylius.calculator.order_items_subtotal" />
            <tag name="twig.extension" />
        </service>

        <service id="sylius.twig.extension.original_price_to_display" class="Sylius\Bundle\ShopBundle\Twig\OrderItemOriginalPriceToDisplayExtension" public="false">
            <tag name="twig.extension" />
        </service>

        <service id="Sylius\Bundle\ShopBundle\Twig\OrderPaymentsExtension" public="false">
            <argument type="service" id="sylius.payment_methods_resolver" />
            <tag name="twig.extension" />
        </service>
    </services>
</container>
