<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="CTSG\ShippingAccount\Service\ShippingAccountManagementInterface" type="CTSG\ShippingAccount\Model\Api\ShippingAccountManagement" />
    <preference for="CTSG\ShippingAccount\Service\Data\ShippingAccountInterface" type="CTSG\ShippingAccount\Model\ShippingAccount" />
	<virtualType name="CTSG\ShippingAccount\Model\ResourceModel\CtsgShippingAccount\Grid\Collection" type="Magento\Framework\View\Element\UiComponent\DataProvider\SearchResult">
		<arguments>
			<argument name="mainTable" xsi:type="string">ctsg_shipping_account</argument>
			<argument name="resourceModel" xsi:type="string">CTSG\ShippingAccount\Model\ResourceModel\CtsgShippingAccount\Collection</argument>
		</arguments>
	</virtualType>
	<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
		<arguments>
			<argument name="collections" xsi:type="array">
				<item name="ctsg_shipping_account_listing_data_source" xsi:type="string">CTSG\ShippingAccount\Model\ResourceModel\CtsgShippingAccount\Grid\Collection</item>
			</argument>
		</arguments>
	</type>
</config>
