#
# Test API services
#
# Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
# See https://www.x-cart.com/license-agreement.html for license details.

parameters:
  autoimport.product_stock_list.test_gateway_enabled.default: 0
  autoimport.product_stock_list.test_gateway_enabled: "%env(default:autoimport.product_stock_list.test_gateway_enabled.default:bool:AUTOIMPORT_STOCK_TEST_GATEWAY_ENABLED)%"

services:
  XC\AutoImportBase\Core\Provider\TestProductStockListProvider:
    decorates: XC\AutoImportBase\Core\Provider\IProductStockListProvider
    arguments:
      $provider: '@.inner'
      $isEnabled: '%autoimport.product_stock_list.test_gateway_enabled%'