Files
2026-09-15 10:26:34 +08:00

49 lines
2.1 KiB
XML

<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Api/etc/extension_attributes.xsd">
<extension_attributes for="Magento\Quote\Api\Data\CartInterface">
<attribute code="salesperson_id" type="int" />
<attribute code="customer_discount" type="float" />
</extension_attributes>
<extension_attributes for="Magento\Quote\Api\Data\CartItemInterface">
<attribute code="lab_id" type="int" />
<attribute code="lab_code" type="string" />
<attribute code="pi_sap_id" type="string" />
<attribute code="cd" type="string" />
<attribute code="quote" type="string" />
<attribute code="pi" type="string" />
<attribute code="company" type="string" />
<attribute code="user" type="string" />
<attribute code="user_tel" type="string" />
<attribute code="user_email" type="string" />
<attribute code="note" type="string" />
<attribute code="user_type" type="int" />
</extension_attributes>
<extension_attributes for="Magento\Sales\Api\Data\OrderInterface">
<attribute code="salesperson_id" type="int" />
<attribute code="customer_discount" type="float" />
</extension_attributes>
<extension_attributes for="Magento\Sales\Api\Data\OrderItemInterface">
<attribute code="lab_id" type="int" />
<attribute code="lab_code" type="string" />
<attribute code="pi_sap_id" type="string" />
<attribute code="cd" type="string" />
<attribute code="quote" type="string" />
<attribute code="pi" type="string" />
<attribute code="company" type="string" />
<attribute code="user" type="string" />
<attribute code="user_tel" type="string" />
<attribute code="user_email" type="string" />
<attribute code="note" type="string" />
<attribute code="user_type" type="int" />
</extension_attributes>
</config>