<?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="Swag\PayPal\PaymentsApi\Administration\PayPalPaymentController" public="true">
            <argument type="service" id="Swag\PayPal\RestApi\V1\Resource\PaymentResource"/>
            <argument type="service" id="Swag\PayPal\RestApi\V1\Resource\SaleResource"/>
            <argument type="service" id="Swag\PayPal\RestApi\V1\Resource\AuthorizationResource"/>
            <argument type="service" id="Swag\PayPal\RestApi\V1\Resource\OrdersResource"/>
            <argument type="service" id="Swag\PayPal\RestApi\V1\Resource\CaptureResource"/>
            <argument type="service" id="order.repository"/>
            <call method="setContainer">
                <argument type="service" id="service_container"/>
            </call>
        </service>
    </services>
</container>
