<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="com.liferay.headless.commerce.admin.order.internal.resource.v1_0.OrderResourceImpl" enabled="false">
  <properties entry="OSGI-INF/liferay/rest/v1_0/order.properties"/>
  <service scope="prototype">
    <provide interface="com.liferay.headless.commerce.admin.order.resource.v1_0.OrderResource"/>
  </service>
  <reference name="_commerceAccountService" interface="com.liferay.commerce.account.service.CommerceAccountService" field="_commerceAccountService"/>
  <reference name="_commerceAddressService" interface="com.liferay.commerce.service.CommerceAddressService" field="_commerceAddressService"/>
  <reference name="_commerceChannelLocalService" interface="com.liferay.commerce.product.service.CommerceChannelLocalService" field="_commerceChannelLocalService"/>
  <reference name="_commerceContextFactory" interface="com.liferay.commerce.context.CommerceContextFactory" field="_commerceContextFactory"/>
  <reference name="_commerceCurrencyService" interface="com.liferay.commerce.currency.service.CommerceCurrencyService" field="_commerceCurrencyService"/>
  <reference name="_commerceOrderEngine" interface="com.liferay.commerce.order.engine.CommerceOrderEngine" field="_commerceOrderEngine"/>
  <reference name="_commerceOrderItemService" interface="com.liferay.commerce.service.CommerceOrderItemService" field="_commerceOrderItemService"/>
  <reference name="_commerceOrderModelResourcePermission" interface="com.liferay.portal.kernel.security.permission.resource.ModelResourcePermission" target="(model.class.name=com.liferay.commerce.model.CommerceOrder)" field="_commerceOrderModelResourcePermission"/>
  <reference name="_commerceOrderService" interface="com.liferay.commerce.service.CommerceOrderService" field="_commerceOrderService"/>
  <reference name="_commerceOrderTypeService" interface="com.liferay.commerce.service.CommerceOrderTypeService" field="_commerceOrderTypeService"/>
  <reference name="_commercePaymentEngine" interface="com.liferay.commerce.payment.engine.CommercePaymentEngine" field="_commercePaymentEngine"/>
  <reference name="_commerceShippingMethodService" interface="com.liferay.commerce.service.CommerceShippingMethodService" field="_commerceShippingMethodService"/>
  <reference name="_cpInstanceService" interface="com.liferay.commerce.product.service.CPInstanceService" field="_cpInstanceService"/>
  <reference name="_orderHelper" interface="com.liferay.headless.commerce.admin.order.internal.helper.v1_0.OrderHelper" field="_orderHelper"/>
  <reference name="_serviceContextHelper" interface="com.liferay.headless.commerce.core.util.ServiceContextHelper" field="_serviceContextHelper"/>
  <implementation class="com.liferay.headless.commerce.admin.order.internal.resource.v1_0.OrderResourceImpl"/>
</scr:component>
